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