Class DisjunctiveConstraint
java.lang.Object
com.google.ortools.constraintsolver.BaseObject
com.google.ortools.constraintsolver.PropagationBaseObject
com.google.ortools.constraintsolver.Constraint
com.google.ortools.constraintsolver.DisjunctiveConstraint
- 
Field SummaryFields inherited from class com.google.ortools.constraintsolver.BaseObjectswigCMemOwn
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionvoiddelete()protected voidfinalize()static longCreates a sequence variable from the constraint.voidsetTransitionTime(LongBinaryOperator transition_time) Add a transition time between intervals.static longlongtransitionTime(int before_index, int after_index) Methods inherited from class com.google.ortools.constraintsolver.Constraintaccept, getCPtr, initialPropagate, isCastConstraint, post, postAndPropagate, swigRelease, toString, varMethods inherited from class com.google.ortools.constraintsolver.PropagationBaseObjectbaseName, enqueueDelayedDemon, enqueueVar, freezeQueue, getCPtr, hasName, name, reset_action_on_fail, set_variable_to_clean_on_fail, setName, solver, swigRelease, unfreezeQueueMethods inherited from class com.google.ortools.constraintsolver.BaseObjectgetCPtr, swigRelease
- 
Constructor Details- 
DisjunctiveConstraintpublic DisjunctiveConstraint(long cPtr, boolean cMemoryOwn) 
 
- 
- 
Method Details- 
getCPtr
- 
swigRelease
- 
finalizeprotected void finalize()- Overrides:
- finalizein class- Constraint
 
- 
deletepublic void delete()- Overrides:
- deletein class- Constraint
 
- 
makeSequenceVarCreates a sequence variable from the constraint.
- 
setTransitionTimeAdd a transition time between intervals. It forces the distance between
 the end of interval a and start of interval b that follows it to be at
 least transition_time(a, b). This function must always return
 a positive or null value.
- 
transitionTimepublic long transitionTime(int before_index, int after_index) 
 
-