Java Reference
Java Reference
SequenceVar.java
Go to the documentation of this file.
Solver Class A solver represents the main computation engine.
Definition: Solver.java:57
void rankLast(int index)
Ranks the index_th interval var first of all unranked interval vars.
Definition: SequenceVar.java:67
Interval variables are often used in scheduling.
SequenceVar(long cPtr, boolean cMemoryOwn)
Definition: SequenceVar.java:17
IntVar next(int index)
Returns the next of the index_th interval of the sequence.
Definition: SequenceVar.java:96
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
SequenceVar(Solver s, IntervalVar[] intervals, IntVar[] nexts, String name)
Definition: SequenceVar.java:42
NOLINT The PropagationBaseObject is a subclass of BaseObject that is also friend to the Solver class.
Definition: PropagationBaseObject.java:14
String toString()
Definition: SequenceVar.java:46
The class IntVar is a subset of IntExpr.
IntervalVar interval(int index)
Returns the index_th interval of the sequence.
Definition: SequenceVar.java:88
A sequence variable is a variable whose domain is a set of possible orderings of the interval variabl...
Definition: SequenceVar.java:14
void rankFirst(int index)
Ranks the index_th interval var first of all unranked interval vars.
Definition: SequenceVar.java:53
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 rankNotFirst(int index)
Indicates that the index_th interval var will not be ranked first of all currently unranked interval ...
Definition: SequenceVar.java:60