Google OR-Tools v9.11
a fast and portable software suite for combinatorial optimization
|
Public Member Functions | |
synchronized void | delete () |
AssignmentIntervalContainer () | |
IntervalVarElement | add (IntervalVar var) |
IntervalVarElement | fastAdd (IntervalVar var) |
IntervalVarElement | addAtPosition (IntervalVar var, int position) |
void | clear () |
void | resize (long size) |
boolean | empty () |
void | copyIntersection (AssignmentIntervalContainer container) |
void | copy (AssignmentIntervalContainer container) |
boolean | contains (IntervalVar var) |
IntervalVarElement | mutableElement (IntervalVar var) |
IntervalVarElement | element (IntervalVar var) |
IntervalVarElement | mutableElement (int index) |
IntervalVarElement | element (int index) |
int | size () |
void | store () |
void | restore () |
boolean | AreAllElementsBound () |
Protected Member Functions | |
AssignmentIntervalContainer (long cPtr, boolean cMemoryOwn) | |
void | finalize () |
Static Protected Member Functions | |
static long | getCPtr (AssignmentIntervalContainer obj) |
static long | swigRelease (AssignmentIntervalContainer obj) |
Protected Attributes | |
transient boolean | swigCMemOwn |
Definition at line 11 of file AssignmentIntervalContainer.java.
|
protected |
Definition at line 15 of file AssignmentIntervalContainer.java.
com.google.ortools.constraintsolver.AssignmentIntervalContainer.AssignmentIntervalContainer | ( | ) |
Definition at line 51 of file AssignmentIntervalContainer.java.
IntervalVarElement com.google.ortools.constraintsolver.AssignmentIntervalContainer.add | ( | IntervalVar | var | ) |
Definition at line 55 of file AssignmentIntervalContainer.java.
IntervalVarElement com.google.ortools.constraintsolver.AssignmentIntervalContainer.addAtPosition | ( | IntervalVar | var, |
int | position ) |
Advanced usage: Adds element at a given position; position has to have
been allocated with AssignmentContainer::Resize() beforehand.
Definition at line 72 of file AssignmentIntervalContainer.java.
boolean com.google.ortools.constraintsolver.AssignmentIntervalContainer.AreAllElementsBound | ( | ) |
Definition at line 143 of file AssignmentIntervalContainer.java.
void com.google.ortools.constraintsolver.AssignmentIntervalContainer.clear | ( | ) |
Definition at line 77 of file AssignmentIntervalContainer.java.
boolean com.google.ortools.constraintsolver.AssignmentIntervalContainer.contains | ( | IntervalVar | var | ) |
Definition at line 109 of file AssignmentIntervalContainer.java.
void com.google.ortools.constraintsolver.AssignmentIntervalContainer.copy | ( | AssignmentIntervalContainer | container | ) |
Copies all the elements of 'container' to this container, clearing its
previous content.
Definition at line 105 of file AssignmentIntervalContainer.java.
void com.google.ortools.constraintsolver.AssignmentIntervalContainer.copyIntersection | ( | AssignmentIntervalContainer | container | ) |
Copies the elements of 'container' which are already in the calling
container.
Definition at line 97 of file AssignmentIntervalContainer.java.
synchronized void com.google.ortools.constraintsolver.AssignmentIntervalContainer.delete | ( | ) |
Definition at line 41 of file AssignmentIntervalContainer.java.
IntervalVarElement com.google.ortools.constraintsolver.AssignmentIntervalContainer.element | ( | int | index | ) |
Definition at line 127 of file AssignmentIntervalContainer.java.
IntervalVarElement com.google.ortools.constraintsolver.AssignmentIntervalContainer.element | ( | IntervalVar | var | ) |
Definition at line 118 of file AssignmentIntervalContainer.java.
boolean com.google.ortools.constraintsolver.AssignmentIntervalContainer.empty | ( | ) |
Definition at line 89 of file AssignmentIntervalContainer.java.
IntervalVarElement com.google.ortools.constraintsolver.AssignmentIntervalContainer.fastAdd | ( | IntervalVar | var | ) |
Adds element without checking its presence in the container.
Definition at line 63 of file AssignmentIntervalContainer.java.
|
protected |
Definition at line 37 of file AssignmentIntervalContainer.java.
|
staticprotected |
Definition at line 20 of file AssignmentIntervalContainer.java.
IntervalVarElement com.google.ortools.constraintsolver.AssignmentIntervalContainer.mutableElement | ( | int | index | ) |
Definition at line 122 of file AssignmentIntervalContainer.java.
IntervalVarElement com.google.ortools.constraintsolver.AssignmentIntervalContainer.mutableElement | ( | IntervalVar | var | ) |
Definition at line 113 of file AssignmentIntervalContainer.java.
void com.google.ortools.constraintsolver.AssignmentIntervalContainer.resize | ( | long | size | ) |
Advanced usage: Resizes the container, potentially adding elements with
null variables.
Definition at line 85 of file AssignmentIntervalContainer.java.
void com.google.ortools.constraintsolver.AssignmentIntervalContainer.restore | ( | ) |
Definition at line 139 of file AssignmentIntervalContainer.java.
int com.google.ortools.constraintsolver.AssignmentIntervalContainer.size | ( | ) |
Definition at line 131 of file AssignmentIntervalContainer.java.
void com.google.ortools.constraintsolver.AssignmentIntervalContainer.store | ( | ) |
Definition at line 135 of file AssignmentIntervalContainer.java.
|
staticprotected |
Definition at line 24 of file AssignmentIntervalContainer.java.
|
protected |
Definition at line 13 of file AssignmentIntervalContainer.java.