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