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

Public Member Functions

synchronized void delete ()
 
 SequenceVarElement ()
 
 SequenceVarElement (SequenceVar var)
 
void reset (SequenceVar var)
 
SequenceVarElement clone ()
 
void copy (SequenceVarElement element)
 
SequenceVar var ()
 
void store ()
 
void restore ()
 
int[] forwardSequence ()
 
int[] backwardSequence ()
 
int[] unperformed ()
 
void setSequence (int[] forward_sequence, int[] backward_sequence, int[] unperformed)
 
void setForwardSequence (int[] forward_sequence)
 
void setBackwardSequence (int[] backward_sequence)
 
void setUnperformed (int[] unperformed)
 
boolean bound ()
 
String toString ()
 
- Public Member Functions inherited from com.google.ortools.constraintsolver.AssignmentElement
 AssignmentElement ()
 
void activate ()
 
void deactivate ()
 
boolean activated ()
 

Protected Member Functions

 SequenceVarElement (long cPtr, boolean cMemoryOwn)
 
void finalize ()
 
- Protected Member Functions inherited from com.google.ortools.constraintsolver.AssignmentElement
 AssignmentElement (long cPtr, boolean cMemoryOwn)
 

Static Protected Member Functions

static long getCPtr (SequenceVarElement obj)
 
static long swigRelease (SequenceVarElement obj)
 
- Static Protected Member Functions inherited from com.google.ortools.constraintsolver.AssignmentElement
static long getCPtr (AssignmentElement obj)
 
static long swigRelease (AssignmentElement obj)
 

Additional Inherited Members

- Protected Attributes inherited from com.google.ortools.constraintsolver.AssignmentElement
transient boolean swigCMemOwn
 

Detailed Description

The SequenceVarElement stores a partial representation of ranked
interval variables in the underlying sequence variable.
This representation consists of three vectors:

  • the forward sequence. That is the list of interval variables
    ranked first in the sequence. The first element of the backward
    sequence is the first interval in the sequence variable.
  • the backward sequence. That is the list of interval variables
    ranked last in the sequence. The first element of the backward
    sequence is the last interval in the sequence variable.
  • The list of unperformed interval variables.
    Furthermore, if all performed variables are ranked, then by
    convention, the forward_sequence will contain all such variables
    and the backward_sequence will be empty.

Definition at line 26 of file SequenceVarElement.java.

Constructor & Destructor Documentation

◆ SequenceVarElement() [1/3]

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

Definition at line 29 of file SequenceVarElement.java.

◆ SequenceVarElement() [2/3]

com.google.ortools.constraintsolver.SequenceVarElement.SequenceVarElement ( )

Definition at line 66 of file SequenceVarElement.java.

◆ SequenceVarElement() [3/3]

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

Definition at line 70 of file SequenceVarElement.java.

Member Function Documentation

◆ backwardSequence()

int[] com.google.ortools.constraintsolver.SequenceVarElement.backwardSequence ( )

Definition at line 104 of file SequenceVarElement.java.

◆ bound()

boolean com.google.ortools.constraintsolver.SequenceVarElement.bound ( )

Definition at line 128 of file SequenceVarElement.java.

◆ clone()

SequenceVarElement com.google.ortools.constraintsolver.SequenceVarElement.clone ( )

Definition at line 78 of file SequenceVarElement.java.

◆ copy()

void com.google.ortools.constraintsolver.SequenceVarElement.copy ( SequenceVarElement element)

Definition at line 83 of file SequenceVarElement.java.

◆ delete()

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

Reimplemented from com.google.ortools.constraintsolver.AssignmentElement.

Definition at line 55 of file SequenceVarElement.java.

◆ finalize()

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

Reimplemented from com.google.ortools.constraintsolver.AssignmentElement.

Definition at line 51 of file SequenceVarElement.java.

◆ forwardSequence()

int[] com.google.ortools.constraintsolver.SequenceVarElement.forwardSequence ( )

Definition at line 100 of file SequenceVarElement.java.

◆ getCPtr()

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

Definition at line 34 of file SequenceVarElement.java.

◆ reset()

void com.google.ortools.constraintsolver.SequenceVarElement.reset ( SequenceVar var)

Definition at line 74 of file SequenceVarElement.java.

◆ restore()

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

Definition at line 96 of file SequenceVarElement.java.

◆ setBackwardSequence()

void com.google.ortools.constraintsolver.SequenceVarElement.setBackwardSequence ( int[] backward_sequence)

Definition at line 120 of file SequenceVarElement.java.

◆ setForwardSequence()

void com.google.ortools.constraintsolver.SequenceVarElement.setForwardSequence ( int[] forward_sequence)

Definition at line 116 of file SequenceVarElement.java.

◆ setSequence()

void com.google.ortools.constraintsolver.SequenceVarElement.setSequence ( int[] forward_sequence,
int[] backward_sequence,
int[] unperformed )

Definition at line 112 of file SequenceVarElement.java.

◆ setUnperformed()

void com.google.ortools.constraintsolver.SequenceVarElement.setUnperformed ( int[] unperformed)

Definition at line 124 of file SequenceVarElement.java.

◆ store()

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

Definition at line 92 of file SequenceVarElement.java.

◆ swigRelease()

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

Definition at line 38 of file SequenceVarElement.java.

◆ toString()

String com.google.ortools.constraintsolver.SequenceVarElement.toString ( )

Definition at line 132 of file SequenceVarElement.java.

◆ unperformed()

int[] com.google.ortools.constraintsolver.SequenceVarElement.unperformed ( )

Definition at line 108 of file SequenceVarElement.java.

◆ var()

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

Definition at line 87 of file SequenceVarElement.java.


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