Java Reference
Java Reference
SequenceVar(Solver s, IntervalVar[] intervals, IntVar[] nexts, String name)
Definition: SequenceVar.java:47
IntervalVar interval(int index)
Returns the index_th interval of the sequence.
Definition: SequenceVar.java:101
IntVar next(int index)
Returns the next of the index_th interval of the sequence.
Definition: SequenceVar.java:109
void rankFirst(int index)
Ranks the index_th interval var first of all unranked interval vars.
Definition: SequenceVar.java:59
String toString()
Definition: SequenceVar.java:51
void rankLast(int index)
Ranks the index_th interval var first of all unranked interval vars.
Definition: SequenceVar.java:75
The class IntVar is a subset of IntExpr.
A sequence variable is a variable whose domain is a set of possible orderings of the interval variab...
Definition: SequenceVar.java:19
SequenceVar(long cPtr, boolean cMemoryOwn)
Definition: SequenceVar.java:22
void rankNotFirst(int index)
Indicates that the index_th interval var will not be ranked first of all currently unranked interval...
Definition: SequenceVar.java:67
NOLINT The PropagationBaseObject is a subclass of BaseObject that is also friend to the Solver clas...
Definition: PropagationBaseObject.java:17
void rankNotLast(int index)
Indicates that the index_th interval var will not be ranked first of all currently unranked interval...
Definition: SequenceVar.java:83
void rankSequence(int[] rank_first, int[] rank_last, int[] unperformed)
Applies the following sequence of ranks, ranks first, then rank last.
Definition: SequenceVar.java:94
Interval variables are often used in scheduling.
Solver Class A solver represents the main computation engine.
Definition: Solver.java:73