Google OR-Tools v9.11
a fast and portable software suite for combinatorial optimization
Loading...
Searching...
No Matches
com.google.ortools.constraintsolver.AssignmentSequenceContainer Class Reference

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
 

Detailed Description

Definition at line 11 of file AssignmentSequenceContainer.java.

Constructor & Destructor Documentation

◆ AssignmentSequenceContainer() [1/2]

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

Definition at line 15 of file AssignmentSequenceContainer.java.

◆ AssignmentSequenceContainer() [2/2]

com.google.ortools.constraintsolver.AssignmentSequenceContainer.AssignmentSequenceContainer ( )

Definition at line 51 of file AssignmentSequenceContainer.java.

Member Function Documentation

◆ add()

SequenceVarElement com.google.ortools.constraintsolver.AssignmentSequenceContainer.add ( SequenceVar var)

Definition at line 55 of file AssignmentSequenceContainer.java.

◆ addAtPosition()

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.

◆ AreAllElementsBound()

boolean com.google.ortools.constraintsolver.AssignmentSequenceContainer.AreAllElementsBound ( )

Definition at line 143 of file AssignmentSequenceContainer.java.

◆ clear()

void com.google.ortools.constraintsolver.AssignmentSequenceContainer.clear ( )

Definition at line 77 of file AssignmentSequenceContainer.java.

◆ contains()

boolean com.google.ortools.constraintsolver.AssignmentSequenceContainer.contains ( SequenceVar var)

Definition at line 109 of file AssignmentSequenceContainer.java.

◆ copy()

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.

◆ copyIntersection()

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.

◆ delete()

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

Definition at line 41 of file AssignmentSequenceContainer.java.

◆ element() [1/2]

SequenceVarElement com.google.ortools.constraintsolver.AssignmentSequenceContainer.element ( int index)

Definition at line 127 of file AssignmentSequenceContainer.java.

◆ element() [2/2]

SequenceVarElement com.google.ortools.constraintsolver.AssignmentSequenceContainer.element ( SequenceVar var)

Definition at line 118 of file AssignmentSequenceContainer.java.

◆ empty()

boolean com.google.ortools.constraintsolver.AssignmentSequenceContainer.empty ( )

Definition at line 89 of file AssignmentSequenceContainer.java.

◆ fastAdd()

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.

◆ finalize()

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

Definition at line 37 of file AssignmentSequenceContainer.java.

◆ getCPtr()

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

Definition at line 20 of file AssignmentSequenceContainer.java.

◆ mutableElement() [1/2]

SequenceVarElement com.google.ortools.constraintsolver.AssignmentSequenceContainer.mutableElement ( int index)

Definition at line 122 of file AssignmentSequenceContainer.java.

◆ mutableElement() [2/2]

SequenceVarElement com.google.ortools.constraintsolver.AssignmentSequenceContainer.mutableElement ( SequenceVar var)

Definition at line 113 of file AssignmentSequenceContainer.java.

◆ resize()

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.

◆ restore()

void com.google.ortools.constraintsolver.AssignmentSequenceContainer.restore ( )

Definition at line 139 of file AssignmentSequenceContainer.java.

◆ size()

int com.google.ortools.constraintsolver.AssignmentSequenceContainer.size ( )

Definition at line 131 of file AssignmentSequenceContainer.java.

◆ store()

void com.google.ortools.constraintsolver.AssignmentSequenceContainer.store ( )

Definition at line 135 of file AssignmentSequenceContainer.java.

◆ swigRelease()

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

Definition at line 24 of file AssignmentSequenceContainer.java.

Member Data Documentation

◆ swigCMemOwn

transient boolean com.google.ortools.constraintsolver.AssignmentSequenceContainer.swigCMemOwn
protected

Definition at line 13 of file AssignmentSequenceContainer.java.


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