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

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
 

Detailed Description

Definition at line 11 of file AssignmentIntervalContainer.java.

Constructor & Destructor Documentation

◆ AssignmentIntervalContainer() [1/2]

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

Definition at line 15 of file AssignmentIntervalContainer.java.

◆ AssignmentIntervalContainer() [2/2]

com.google.ortools.constraintsolver.AssignmentIntervalContainer.AssignmentIntervalContainer ( )

Definition at line 51 of file AssignmentIntervalContainer.java.

Member Function Documentation

◆ add()

IntervalVarElement com.google.ortools.constraintsolver.AssignmentIntervalContainer.add ( IntervalVar var)

Definition at line 55 of file AssignmentIntervalContainer.java.

◆ addAtPosition()

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.

◆ AreAllElementsBound()

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

Definition at line 143 of file AssignmentIntervalContainer.java.

◆ clear()

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

Definition at line 77 of file AssignmentIntervalContainer.java.

◆ contains()

boolean com.google.ortools.constraintsolver.AssignmentIntervalContainer.contains ( IntervalVar var)

Definition at line 109 of file AssignmentIntervalContainer.java.

◆ copy()

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.

◆ copyIntersection()

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.

◆ delete()

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

Definition at line 41 of file AssignmentIntervalContainer.java.

◆ element() [1/2]

IntervalVarElement com.google.ortools.constraintsolver.AssignmentIntervalContainer.element ( int index)

Definition at line 127 of file AssignmentIntervalContainer.java.

◆ element() [2/2]

IntervalVarElement com.google.ortools.constraintsolver.AssignmentIntervalContainer.element ( IntervalVar var)

Definition at line 118 of file AssignmentIntervalContainer.java.

◆ empty()

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

Definition at line 89 of file AssignmentIntervalContainer.java.

◆ fastAdd()

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.

◆ finalize()

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

Definition at line 37 of file AssignmentIntervalContainer.java.

◆ getCPtr()

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

Definition at line 20 of file AssignmentIntervalContainer.java.

◆ mutableElement() [1/2]

IntervalVarElement com.google.ortools.constraintsolver.AssignmentIntervalContainer.mutableElement ( int index)

Definition at line 122 of file AssignmentIntervalContainer.java.

◆ mutableElement() [2/2]

IntervalVarElement com.google.ortools.constraintsolver.AssignmentIntervalContainer.mutableElement ( IntervalVar var)

Definition at line 113 of file AssignmentIntervalContainer.java.

◆ resize()

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.

◆ restore()

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

Definition at line 139 of file AssignmentIntervalContainer.java.

◆ size()

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

Definition at line 131 of file AssignmentIntervalContainer.java.

◆ store()

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

Definition at line 135 of file AssignmentIntervalContainer.java.

◆ swigRelease()

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

Definition at line 24 of file AssignmentIntervalContainer.java.

Member Data Documentation

◆ swigCMemOwn

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

Definition at line 13 of file AssignmentIntervalContainer.java.


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