Google OR-Tools v9.11
a fast and portable software suite for combinatorial optimization
|
Public Member Functions | |
synchronized void | delete () |
SequenceVar | makeSequenceVar () |
void | setTransitionTime (LongBinaryOperator transition_time) |
long | transitionTime (int before_index, int after_index) |
Public Member Functions inherited from com.google.ortools.constraintsolver.Constraint | |
void | post () |
void | initialPropagate () |
String | toString () |
void | postAndPropagate () |
void | accept (ModelVisitor visitor) |
boolean | isCastConstraint () |
IntVar | var () |
Public Member Functions inherited from com.google.ortools.constraintsolver.PropagationBaseObject | |
PropagationBaseObject (Solver s) | |
Solver | solver () |
void | freezeQueue () |
void | unfreezeQueue () |
void | enqueueDelayedDemon (Demon d) |
void | enqueueVar (Demon d) |
void | reset_action_on_fail () |
void | set_variable_to_clean_on_fail (IntVar v) |
String | name () |
void | setName (String name) |
boolean | hasName () |
String | baseName () |
Public Member Functions inherited from com.google.ortools.constraintsolver.BaseObject | |
BaseObject () | |
Protected Member Functions | |
DisjunctiveConstraint (long cPtr, boolean cMemoryOwn) | |
void | finalize () |
Protected Member Functions inherited from com.google.ortools.constraintsolver.Constraint | |
Constraint (long cPtr, boolean cMemoryOwn) | |
Protected Member Functions inherited from com.google.ortools.constraintsolver.PropagationBaseObject | |
PropagationBaseObject (long cPtr, boolean cMemoryOwn) | |
Protected Member Functions inherited from com.google.ortools.constraintsolver.BaseObject | |
BaseObject (long cPtr, boolean cMemoryOwn) | |
Static Protected Member Functions | |
static long | getCPtr (DisjunctiveConstraint obj) |
static long | swigRelease (DisjunctiveConstraint obj) |
Static Protected Member Functions inherited from com.google.ortools.constraintsolver.Constraint | |
static long | getCPtr (Constraint obj) |
static long | swigRelease (Constraint obj) |
Static Protected Member Functions inherited from com.google.ortools.constraintsolver.PropagationBaseObject | |
static long | getCPtr (PropagationBaseObject obj) |
static long | swigRelease (PropagationBaseObject obj) |
Static Protected Member Functions inherited from com.google.ortools.constraintsolver.BaseObject | |
static long | getCPtr (BaseObject obj) |
static long | swigRelease (BaseObject obj) |
Additional Inherited Members | |
Protected Attributes inherited from com.google.ortools.constraintsolver.BaseObject | |
transient boolean | swigCMemOwn |
Definition at line 15 of file DisjunctiveConstraint.java.
|
protected |
Definition at line 18 of file DisjunctiveConstraint.java.
synchronized void com.google.ortools.constraintsolver.DisjunctiveConstraint.delete | ( | ) |
Reimplemented from com.google.ortools.constraintsolver.Constraint.
Definition at line 44 of file DisjunctiveConstraint.java.
|
protected |
Reimplemented from com.google.ortools.constraintsolver.Constraint.
Definition at line 40 of file DisjunctiveConstraint.java.
|
staticprotected |
Definition at line 23 of file DisjunctiveConstraint.java.
SequenceVar com.google.ortools.constraintsolver.DisjunctiveConstraint.makeSequenceVar | ( | ) |
Creates a sequence variable from the constraint.
Definition at line 58 of file DisjunctiveConstraint.java.
void com.google.ortools.constraintsolver.DisjunctiveConstraint.setTransitionTime | ( | LongBinaryOperator | transition_time | ) |
Add 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.
Definition at line 69 of file DisjunctiveConstraint.java.
|
staticprotected |
Definition at line 27 of file DisjunctiveConstraint.java.
long com.google.ortools.constraintsolver.DisjunctiveConstraint.transitionTime | ( | int | before_index, |
int | after_index ) |
Definition at line 73 of file DisjunctiveConstraint.java.