Google OR-Tools v9.11
a fast and portable software suite for combinatorial optimization
Loading...
Searching...
No Matches
com.google.ortools.constraintsolver.DisjunctiveConstraint Class Reference
Inheritance diagram for com.google.ortools.constraintsolver.DisjunctiveConstraint:
com.google.ortools.constraintsolver.Constraint com.google.ortools.constraintsolver.PropagationBaseObject com.google.ortools.constraintsolver.BaseObject

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
 

Detailed Description

Definition at line 15 of file DisjunctiveConstraint.java.

Constructor & Destructor Documentation

◆ DisjunctiveConstraint()

com.google.ortools.constraintsolver.DisjunctiveConstraint.DisjunctiveConstraint ( long cPtr,
boolean cMemoryOwn )
protected

Definition at line 18 of file DisjunctiveConstraint.java.

Member Function Documentation

◆ delete()

synchronized void com.google.ortools.constraintsolver.DisjunctiveConstraint.delete ( )

Reimplemented from com.google.ortools.constraintsolver.Constraint.

Definition at line 44 of file DisjunctiveConstraint.java.

◆ finalize()

void com.google.ortools.constraintsolver.DisjunctiveConstraint.finalize ( )
protected

Reimplemented from com.google.ortools.constraintsolver.Constraint.

Definition at line 40 of file DisjunctiveConstraint.java.

◆ getCPtr()

static long com.google.ortools.constraintsolver.DisjunctiveConstraint.getCPtr ( DisjunctiveConstraint obj)
staticprotected

Definition at line 23 of file DisjunctiveConstraint.java.

◆ makeSequenceVar()

SequenceVar com.google.ortools.constraintsolver.DisjunctiveConstraint.makeSequenceVar ( )

Creates a sequence variable from the constraint.

Definition at line 58 of file DisjunctiveConstraint.java.

◆ setTransitionTime()

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.

◆ swigRelease()

static long com.google.ortools.constraintsolver.DisjunctiveConstraint.swigRelease ( DisjunctiveConstraint obj)
staticprotected

Definition at line 27 of file DisjunctiveConstraint.java.

◆ transitionTime()

long com.google.ortools.constraintsolver.DisjunctiveConstraint.transitionTime ( int before_index,
int after_index )

Definition at line 73 of file DisjunctiveConstraint.java.


The documentation for this class was generated from the following file: