Java Reference
Java Reference
DisjunctiveConstraint.java
Go to the documentation of this file.
A constraint is the main modeling object.
DisjunctiveConstraint(long cPtr, boolean cMemoryOwn)
Definition: DisjunctiveConstraint.java:18
long transitionTime(int before_index, int after_index)
Definition: DisjunctiveConstraint.java:61
SequenceVar makeSequenceVar()
Creates a sequence variable from the constraint.
Definition: DisjunctiveConstraint.java:46
void setTransitionTime(LongBinaryOperator transition_time)
Add a transition time between intervals.
Definition: DisjunctiveConstraint.java:57
A sequence variable is a variable whose domain is a set of possible orderings of the interval variab...
Definition: SequenceVar.java:19