Java Reference
Java Reference
SequenceVar.java
SequenceVar(Solver s, IntervalVar[] intervals, IntVar[] nexts, String name)
Definition: SequenceVar.java:42
IntervalVar interval(int index)
Returns the index_th interval of the sequence.
Definition: SequenceVar.java:88
IntVar next(int index)
Returns the next of the index_th interval of the sequence.
Definition: SequenceVar.java:96
void rankFirst(int index)
Ranks the index_th interval var first of all unranked interval vars.
Definition: SequenceVar.java:53
String toString()
Definition: SequenceVar.java:46
void rankLast(int index)
Ranks the index_th interval var first of all unranked interval vars.
Definition: SequenceVar.java:67
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 variabl...
Definition: SequenceVar.java:14
SequenceVar(long cPtr, boolean cMemoryOwn)
Definition: SequenceVar.java:17
void rankNotFirst(int index)
Indicates that the index_th interval var will not be ranked first of all currently unranked interval ...
Definition: SequenceVar.java:60
NOLINT The PropagationBaseObject is a subclass of BaseObject that is also friend to the Solver class.
Definition: PropagationBaseObject.java:14
void rankNotLast(int index)
Indicates that the index_th interval var will not be ranked first of all currently unranked interval ...
Definition: SequenceVar.java:74
void rankSequence(int[] rank_first, int[] rank_last, int[] unperformed)
Applies the following sequence of ranks, ranks first, then rank last.
Definition: SequenceVar.java:81
Interval variables are often used in scheduling.
Solver Class A solver represents the main computation engine.
Definition: Solver.java:57