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

Public Member Functions

synchronized void delete ()
 
 Assignment (Solver solver)
 
 Assignment (Assignment copy)
 
void clear ()
 
boolean empty ()
 
int size ()
 
int numIntVars ()
 
int numIntervalVars ()
 
int numSequenceVars ()
 
void store ()
 
void restore ()
 
boolean load (String filename)
 
boolean save (String filename)
 
void save (SWIGTYPE_p_operations_research__AssignmentProto assignment_proto)
 
void addObjective (IntVar v)
 
void AddObjectives (IntVar[] vars)
 
void ClearObjective ()
 
int NumObjectives ()
 
IntVar objective ()
 
IntVar ObjectiveFromIndex (int index)
 
boolean hasObjective ()
 
boolean HasObjectiveFromIndex (int index)
 
long objectiveMin ()
 
long objectiveMax ()
 
long objectiveValue ()
 
boolean objectiveBound ()
 
void setObjectiveMin (long m)
 
void setObjectiveMax (long m)
 
void setObjectiveValue (long value)
 
void setObjectiveRange (long l, long u)
 
long ObjectiveMinFromIndex (int index)
 
long ObjectiveMaxFromIndex (int index)
 
long ObjectiveValueFromIndex (int index)
 
boolean ObjectiveBoundFromIndex (int index)
 
void SetObjectiveMinFromIndex (int index, long m)
 
void SetObjectiveMaxFromIndex (int index, long m)
 
void SetObjectiveValueFromIndex (int index, long value)
 
void SetObjectiveRangeFromIndex (int index, long l, long u)
 
IntVarElement add (IntVar var)
 
void add (IntVar[] vars)
 
IntVarElement fastAdd (IntVar var)
 
long min (IntVar var)
 
long max (IntVar var)
 
long value (IntVar var)
 
boolean bound (IntVar var)
 
void setMin (IntVar var, long m)
 
void setMax (IntVar var, long m)
 
void setRange (IntVar var, long l, long u)
 
void setValue (IntVar var, long value)
 
IntervalVarElement add (IntervalVar var)
 
void add (IntervalVar[] vars)
 
IntervalVarElement fastAdd (IntervalVar var)
 
long startMin (IntervalVar var)
 
long startMax (IntervalVar var)
 
long startValue (IntervalVar var)
 
long durationMin (IntervalVar var)
 
long durationMax (IntervalVar var)
 
long durationValue (IntervalVar var)
 
long endMin (IntervalVar var)
 
long endMax (IntervalVar var)
 
long endValue (IntervalVar var)
 
long performedMin (IntervalVar var)
 
long performedMax (IntervalVar var)
 
long performedValue (IntervalVar var)
 
void setStartMin (IntervalVar var, long m)
 
void setStartMax (IntervalVar var, long m)
 
void setStartRange (IntervalVar var, long mi, long ma)
 
void setStartValue (IntervalVar var, long value)
 
void setDurationMin (IntervalVar var, long m)
 
void setDurationMax (IntervalVar var, long m)
 
void setDurationRange (IntervalVar var, long mi, long ma)
 
void setDurationValue (IntervalVar var, long value)
 
void setEndMin (IntervalVar var, long m)
 
void setEndMax (IntervalVar var, long m)
 
void setEndRange (IntervalVar var, long mi, long ma)
 
void setEndValue (IntervalVar var, long value)
 
void setPerformedMin (IntervalVar var, long m)
 
void setPerformedMax (IntervalVar var, long m)
 
void setPerformedRange (IntervalVar var, long mi, long ma)
 
void setPerformedValue (IntervalVar var, long value)
 
SequenceVarElement add (SequenceVar var)
 
void add (SequenceVar[] vars)
 
SequenceVarElement fastAdd (SequenceVar var)
 
int[] forwardSequence (SequenceVar var)
 
int[] backwardSequence (SequenceVar var)
 
int[] unperformed (SequenceVar var)
 
void setSequence (SequenceVar var, int[] forward_sequence, int[] backward_sequence, int[] unperformed)
 
void setForwardSequence (SequenceVar var, int[] forward_sequence)
 
void setBackwardSequence (SequenceVar var, int[] backward_sequence)
 
void setUnperformed (SequenceVar var, int[] unperformed)
 
void activate (IntVar var)
 
void deactivate (IntVar var)
 
boolean activated (IntVar var)
 
void activate (IntervalVar var)
 
void deactivate (IntervalVar var)
 
boolean activated (IntervalVar var)
 
void activate (SequenceVar var)
 
void deactivate (SequenceVar var)
 
boolean activated (SequenceVar var)
 
void activateObjective ()
 
void deactivateObjective ()
 
boolean activatedObjective ()
 
void ActivateObjectiveFromIndex (int index)
 
void DeactivateObjectiveFromIndex (int index)
 
boolean ActivatedObjectiveFromIndex (int index)
 
String toString ()
 
boolean AreAllElementsBound ()
 
boolean contains (IntVar var)
 
boolean contains (IntervalVar var)
 
boolean contains (SequenceVar var)
 
void copyIntersection (Assignment assignment)
 
void copy (Assignment assignment)
 
AssignmentIntContainer intVarContainer ()
 
AssignmentIntContainer mutableIntVarContainer ()
 
AssignmentIntervalContainer intervalVarContainer ()
 
AssignmentIntervalContainer mutableIntervalVarContainer ()
 
AssignmentSequenceContainer sequenceVarContainer ()
 
AssignmentSequenceContainer mutableSequenceVarContainer ()
 
- Public Member Functions inherited from com.google.ortools.constraintsolver.PropagationBaseObject
 PropagationBaseObject (Solver s)
 
Solver solver ()
 
void freezeQueue ()
 
void unfreezeQueue ()
 
void enqueueDelayedDemon (Demon d)
 
void enqueueVar (Demon d)
 
void reset_action_on_fail ()
 
void set_variable_to_clean_on_fail (IntVar v)
 
String name ()
 
void setName (String name)
 
boolean hasName ()
 
String baseName ()
 
- Public Member Functions inherited from com.google.ortools.constraintsolver.BaseObject
 BaseObject ()
 

Protected Member Functions

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

Static Protected Member Functions

static long getCPtr (Assignment obj)
 
static long swigRelease (Assignment obj)
 
- Static Protected Member Functions inherited from com.google.ortools.constraintsolver.PropagationBaseObject
static long getCPtr (PropagationBaseObject obj)
 
static long swigRelease (PropagationBaseObject obj)
 
- Static Protected Member Functions inherited from com.google.ortools.constraintsolver.BaseObject
static long getCPtr (BaseObject obj)
 
static long swigRelease (BaseObject obj)
 

Additional Inherited Members

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

Detailed Description

An Assignment is a variable -> domains mapping, used
to report solutions to the user.

Definition at line 15 of file Assignment.java.

Constructor & Destructor Documentation

◆ Assignment() [1/3]

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

Definition at line 18 of file Assignment.java.

◆ Assignment() [2/3]

com.google.ortools.constraintsolver.Assignment.Assignment ( Solver solver)

Definition at line 55 of file Assignment.java.

◆ Assignment() [3/3]

com.google.ortools.constraintsolver.Assignment.Assignment ( Assignment copy)

Definition at line 59 of file Assignment.java.

Member Function Documentation

◆ activate() [1/3]

void com.google.ortools.constraintsolver.Assignment.activate ( IntervalVar var)

Definition at line 447 of file Assignment.java.

◆ activate() [2/3]

void com.google.ortools.constraintsolver.Assignment.activate ( IntVar var)

Definition at line 435 of file Assignment.java.

◆ activate() [3/3]

void com.google.ortools.constraintsolver.Assignment.activate ( SequenceVar var)

Definition at line 459 of file Assignment.java.

◆ activated() [1/3]

boolean com.google.ortools.constraintsolver.Assignment.activated ( IntervalVar var)

Definition at line 455 of file Assignment.java.

◆ activated() [2/3]

boolean com.google.ortools.constraintsolver.Assignment.activated ( IntVar var)

Definition at line 443 of file Assignment.java.

◆ activated() [3/3]

boolean com.google.ortools.constraintsolver.Assignment.activated ( SequenceVar var)

Definition at line 467 of file Assignment.java.

◆ activatedObjective()

boolean com.google.ortools.constraintsolver.Assignment.activatedObjective ( )

Definition at line 479 of file Assignment.java.

◆ ActivatedObjectiveFromIndex()

boolean com.google.ortools.constraintsolver.Assignment.ActivatedObjectiveFromIndex ( int index)

Definition at line 491 of file Assignment.java.

◆ activateObjective()

void com.google.ortools.constraintsolver.Assignment.activateObjective ( )

Definition at line 471 of file Assignment.java.

◆ ActivateObjectiveFromIndex()

void com.google.ortools.constraintsolver.Assignment.ActivateObjectiveFromIndex ( int index)

Definition at line 483 of file Assignment.java.

◆ add() [1/6]

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

Definition at line 261 of file Assignment.java.

◆ add() [2/6]

void com.google.ortools.constraintsolver.Assignment.add ( IntervalVar[] vars)

Definition at line 266 of file Assignment.java.

◆ add() [3/6]

IntVarElement com.google.ortools.constraintsolver.Assignment.add ( IntVar var)

Definition at line 212 of file Assignment.java.

◆ add() [4/6]

void com.google.ortools.constraintsolver.Assignment.add ( IntVar[] vars)

Definition at line 217 of file Assignment.java.

◆ add() [5/6]

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

Definition at line 390 of file Assignment.java.

◆ add() [6/6]

void com.google.ortools.constraintsolver.Assignment.add ( SequenceVar[] vars)

Definition at line 395 of file Assignment.java.

◆ addObjective()

void com.google.ortools.constraintsolver.Assignment.addObjective ( IntVar v)

Definition at line 114 of file Assignment.java.

◆ AddObjectives()

void com.google.ortools.constraintsolver.Assignment.AddObjectives ( IntVar[] vars)

Definition at line 118 of file Assignment.java.

◆ AreAllElementsBound()

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

Definition at line 499 of file Assignment.java.

◆ backwardSequence()

int[] com.google.ortools.constraintsolver.Assignment.backwardSequence ( SequenceVar var)

Definition at line 411 of file Assignment.java.

◆ bound()

boolean com.google.ortools.constraintsolver.Assignment.bound ( IntVar var)

Definition at line 241 of file Assignment.java.

◆ clear()

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

Definition at line 63 of file Assignment.java.

◆ ClearObjective()

void com.google.ortools.constraintsolver.Assignment.ClearObjective ( )

Definition at line 122 of file Assignment.java.

◆ contains() [1/3]

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

Definition at line 507 of file Assignment.java.

◆ contains() [2/3]

boolean com.google.ortools.constraintsolver.Assignment.contains ( IntVar var)

Definition at line 503 of file Assignment.java.

◆ contains() [3/3]

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

Definition at line 511 of file Assignment.java.

◆ copy()

void com.google.ortools.constraintsolver.Assignment.copy ( Assignment assignment)

Copies 'assignment' to the current assignment, clearing its previous
content.

Definition at line 527 of file Assignment.java.

◆ copyIntersection()

void com.google.ortools.constraintsolver.Assignment.copyIntersection ( Assignment assignment)

Copies the intersection of the two assignments to the current
assignment.

Definition at line 519 of file Assignment.java.

◆ deactivate() [1/3]

void com.google.ortools.constraintsolver.Assignment.deactivate ( IntervalVar var)

Definition at line 451 of file Assignment.java.

◆ deactivate() [2/3]

void com.google.ortools.constraintsolver.Assignment.deactivate ( IntVar var)

Definition at line 439 of file Assignment.java.

◆ deactivate() [3/3]

void com.google.ortools.constraintsolver.Assignment.deactivate ( SequenceVar var)

Definition at line 463 of file Assignment.java.

◆ deactivateObjective()

void com.google.ortools.constraintsolver.Assignment.deactivateObjective ( )

Definition at line 475 of file Assignment.java.

◆ DeactivateObjectiveFromIndex()

void com.google.ortools.constraintsolver.Assignment.DeactivateObjectiveFromIndex ( int index)

Definition at line 487 of file Assignment.java.

◆ delete()

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

Reimplemented from com.google.ortools.constraintsolver.PropagationBaseObject.

Definition at line 44 of file Assignment.java.

◆ durationMax()

long com.google.ortools.constraintsolver.Assignment.durationMax ( IntervalVar var)

Definition at line 294 of file Assignment.java.

◆ durationMin()

long com.google.ortools.constraintsolver.Assignment.durationMin ( IntervalVar var)

Definition at line 290 of file Assignment.java.

◆ durationValue()

long com.google.ortools.constraintsolver.Assignment.durationValue ( IntervalVar var)

Definition at line 298 of file Assignment.java.

◆ empty()

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

Definition at line 67 of file Assignment.java.

◆ endMax()

long com.google.ortools.constraintsolver.Assignment.endMax ( IntervalVar var)

Definition at line 306 of file Assignment.java.

◆ endMin()

long com.google.ortools.constraintsolver.Assignment.endMin ( IntervalVar var)

Definition at line 302 of file Assignment.java.

◆ endValue()

long com.google.ortools.constraintsolver.Assignment.endValue ( IntervalVar var)

Definition at line 310 of file Assignment.java.

◆ fastAdd() [1/3]

IntervalVarElement com.google.ortools.constraintsolver.Assignment.fastAdd ( IntervalVar var)

Adds without checking if variable has been previously added.

Definition at line 273 of file Assignment.java.

◆ fastAdd() [2/3]

IntVarElement com.google.ortools.constraintsolver.Assignment.fastAdd ( IntVar var)

Adds without checking if variable has been previously added.

Definition at line 224 of file Assignment.java.

◆ fastAdd() [3/3]

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

Adds without checking if the variable had been previously added.

Definition at line 402 of file Assignment.java.

◆ finalize()

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

Reimplemented from com.google.ortools.constraintsolver.PropagationBaseObject.

Definition at line 40 of file Assignment.java.

◆ forwardSequence()

int[] com.google.ortools.constraintsolver.Assignment.forwardSequence ( SequenceVar var)

Definition at line 407 of file Assignment.java.

◆ getCPtr()

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

Definition at line 23 of file Assignment.java.

◆ hasObjective()

boolean com.google.ortools.constraintsolver.Assignment.hasObjective ( )

Definition at line 140 of file Assignment.java.

◆ HasObjectiveFromIndex()

boolean com.google.ortools.constraintsolver.Assignment.HasObjectiveFromIndex ( int index)

Definition at line 144 of file Assignment.java.

◆ intervalVarContainer()

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

Definition at line 540 of file Assignment.java.

◆ intVarContainer()

AssignmentIntContainer com.google.ortools.constraintsolver.Assignment.intVarContainer ( )

Definition at line 531 of file Assignment.java.

◆ load()

boolean com.google.ortools.constraintsolver.Assignment.load ( String filename)

Loads an assignment from a file; does not add variables to the
assignment (only the variables contained in the assignment are modified).

Definition at line 99 of file Assignment.java.

◆ max()

long com.google.ortools.constraintsolver.Assignment.max ( IntVar var)

Definition at line 233 of file Assignment.java.

◆ min()

long com.google.ortools.constraintsolver.Assignment.min ( IntVar var)

Definition at line 229 of file Assignment.java.

◆ mutableIntervalVarContainer()

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

Definition at line 544 of file Assignment.java.

◆ mutableIntVarContainer()

AssignmentIntContainer com.google.ortools.constraintsolver.Assignment.mutableIntVarContainer ( )

Definition at line 535 of file Assignment.java.

◆ mutableSequenceVarContainer()

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

Definition at line 553 of file Assignment.java.

◆ numIntervalVars()

int com.google.ortools.constraintsolver.Assignment.numIntervalVars ( )

Definition at line 79 of file Assignment.java.

◆ numIntVars()

int com.google.ortools.constraintsolver.Assignment.numIntVars ( )

Definition at line 75 of file Assignment.java.

◆ NumObjectives()

int com.google.ortools.constraintsolver.Assignment.NumObjectives ( )

Definition at line 126 of file Assignment.java.

◆ numSequenceVars()

int com.google.ortools.constraintsolver.Assignment.numSequenceVars ( )

Definition at line 83 of file Assignment.java.

◆ objective()

IntVar com.google.ortools.constraintsolver.Assignment.objective ( )

Definition at line 130 of file Assignment.java.

◆ objectiveBound()

boolean com.google.ortools.constraintsolver.Assignment.objectiveBound ( )

Definition at line 160 of file Assignment.java.

◆ ObjectiveBoundFromIndex()

boolean com.google.ortools.constraintsolver.Assignment.ObjectiveBoundFromIndex ( int index)

Definition at line 192 of file Assignment.java.

◆ ObjectiveFromIndex()

IntVar com.google.ortools.constraintsolver.Assignment.ObjectiveFromIndex ( int index)

Definition at line 135 of file Assignment.java.

◆ objectiveMax()

long com.google.ortools.constraintsolver.Assignment.objectiveMax ( )

Definition at line 152 of file Assignment.java.

◆ ObjectiveMaxFromIndex()

long com.google.ortools.constraintsolver.Assignment.ObjectiveMaxFromIndex ( int index)

Definition at line 184 of file Assignment.java.

◆ objectiveMin()

long com.google.ortools.constraintsolver.Assignment.objectiveMin ( )

Definition at line 148 of file Assignment.java.

◆ ObjectiveMinFromIndex()

long com.google.ortools.constraintsolver.Assignment.ObjectiveMinFromIndex ( int index)

Definition at line 180 of file Assignment.java.

◆ objectiveValue()

long com.google.ortools.constraintsolver.Assignment.objectiveValue ( )

Definition at line 156 of file Assignment.java.

◆ ObjectiveValueFromIndex()

long com.google.ortools.constraintsolver.Assignment.ObjectiveValueFromIndex ( int index)

Definition at line 188 of file Assignment.java.

◆ performedMax()

long com.google.ortools.constraintsolver.Assignment.performedMax ( IntervalVar var)

Definition at line 318 of file Assignment.java.

◆ performedMin()

long com.google.ortools.constraintsolver.Assignment.performedMin ( IntervalVar var)

Definition at line 314 of file Assignment.java.

◆ performedValue()

long com.google.ortools.constraintsolver.Assignment.performedValue ( IntervalVar var)

Definition at line 322 of file Assignment.java.

◆ restore()

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

Definition at line 91 of file Assignment.java.

◆ save() [1/2]

boolean com.google.ortools.constraintsolver.Assignment.save ( String filename)

Saves the assignment to a file.

Definition at line 106 of file Assignment.java.

◆ save() [2/2]

void com.google.ortools.constraintsolver.Assignment.save ( SWIGTYPE_p_operations_research__AssignmentProto assignment_proto)

Definition at line 110 of file Assignment.java.

◆ sequenceVarContainer()

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

Definition at line 549 of file Assignment.java.

◆ setBackwardSequence()

void com.google.ortools.constraintsolver.Assignment.setBackwardSequence ( SequenceVar var,
int[] backward_sequence )

Definition at line 427 of file Assignment.java.

◆ setDurationMax()

void com.google.ortools.constraintsolver.Assignment.setDurationMax ( IntervalVar var,
long m )

Definition at line 346 of file Assignment.java.

◆ setDurationMin()

void com.google.ortools.constraintsolver.Assignment.setDurationMin ( IntervalVar var,
long m )

Definition at line 342 of file Assignment.java.

◆ setDurationRange()

void com.google.ortools.constraintsolver.Assignment.setDurationRange ( IntervalVar var,
long mi,
long ma )

Definition at line 350 of file Assignment.java.

◆ setDurationValue()

void com.google.ortools.constraintsolver.Assignment.setDurationValue ( IntervalVar var,
long value )

Definition at line 354 of file Assignment.java.

◆ setEndMax()

void com.google.ortools.constraintsolver.Assignment.setEndMax ( IntervalVar var,
long m )

Definition at line 362 of file Assignment.java.

◆ setEndMin()

void com.google.ortools.constraintsolver.Assignment.setEndMin ( IntervalVar var,
long m )

Definition at line 358 of file Assignment.java.

◆ setEndRange()

void com.google.ortools.constraintsolver.Assignment.setEndRange ( IntervalVar var,
long mi,
long ma )

Definition at line 366 of file Assignment.java.

◆ setEndValue()

void com.google.ortools.constraintsolver.Assignment.setEndValue ( IntervalVar var,
long value )

Definition at line 370 of file Assignment.java.

◆ setForwardSequence()

void com.google.ortools.constraintsolver.Assignment.setForwardSequence ( SequenceVar var,
int[] forward_sequence )

Definition at line 423 of file Assignment.java.

◆ setMax()

void com.google.ortools.constraintsolver.Assignment.setMax ( IntVar var,
long m )

Definition at line 249 of file Assignment.java.

◆ setMin()

void com.google.ortools.constraintsolver.Assignment.setMin ( IntVar var,
long m )

Definition at line 245 of file Assignment.java.

◆ setObjectiveMax()

void com.google.ortools.constraintsolver.Assignment.setObjectiveMax ( long m)

Definition at line 168 of file Assignment.java.

◆ SetObjectiveMaxFromIndex()

void com.google.ortools.constraintsolver.Assignment.SetObjectiveMaxFromIndex ( int index,
long m )

Definition at line 200 of file Assignment.java.

◆ setObjectiveMin()

void com.google.ortools.constraintsolver.Assignment.setObjectiveMin ( long m)

Definition at line 164 of file Assignment.java.

◆ SetObjectiveMinFromIndex()

void com.google.ortools.constraintsolver.Assignment.SetObjectiveMinFromIndex ( int index,
long m )

Definition at line 196 of file Assignment.java.

◆ setObjectiveRange()

void com.google.ortools.constraintsolver.Assignment.setObjectiveRange ( long l,
long u )

Definition at line 176 of file Assignment.java.

◆ SetObjectiveRangeFromIndex()

void com.google.ortools.constraintsolver.Assignment.SetObjectiveRangeFromIndex ( int index,
long l,
long u )

Definition at line 208 of file Assignment.java.

◆ setObjectiveValue()

void com.google.ortools.constraintsolver.Assignment.setObjectiveValue ( long value)

Definition at line 172 of file Assignment.java.

◆ SetObjectiveValueFromIndex()

void com.google.ortools.constraintsolver.Assignment.SetObjectiveValueFromIndex ( int index,
long value )

Definition at line 204 of file Assignment.java.

◆ setPerformedMax()

void com.google.ortools.constraintsolver.Assignment.setPerformedMax ( IntervalVar var,
long m )

Definition at line 378 of file Assignment.java.

◆ setPerformedMin()

void com.google.ortools.constraintsolver.Assignment.setPerformedMin ( IntervalVar var,
long m )

Definition at line 374 of file Assignment.java.

◆ setPerformedRange()

void com.google.ortools.constraintsolver.Assignment.setPerformedRange ( IntervalVar var,
long mi,
long ma )

Definition at line 382 of file Assignment.java.

◆ setPerformedValue()

void com.google.ortools.constraintsolver.Assignment.setPerformedValue ( IntervalVar var,
long value )

Definition at line 386 of file Assignment.java.

◆ setRange()

void com.google.ortools.constraintsolver.Assignment.setRange ( IntVar var,
long l,
long u )

Definition at line 253 of file Assignment.java.

◆ setSequence()

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

Definition at line 419 of file Assignment.java.

◆ setStartMax()

void com.google.ortools.constraintsolver.Assignment.setStartMax ( IntervalVar var,
long m )

Definition at line 330 of file Assignment.java.

◆ setStartMin()

void com.google.ortools.constraintsolver.Assignment.setStartMin ( IntervalVar var,
long m )

Definition at line 326 of file Assignment.java.

◆ setStartRange()

void com.google.ortools.constraintsolver.Assignment.setStartRange ( IntervalVar var,
long mi,
long ma )

Definition at line 334 of file Assignment.java.

◆ setStartValue()

void com.google.ortools.constraintsolver.Assignment.setStartValue ( IntervalVar var,
long value )

Definition at line 338 of file Assignment.java.

◆ setUnperformed()

void com.google.ortools.constraintsolver.Assignment.setUnperformed ( SequenceVar var,
int[] unperformed )

Definition at line 431 of file Assignment.java.

◆ setValue()

void com.google.ortools.constraintsolver.Assignment.setValue ( IntVar var,
long value )

Definition at line 257 of file Assignment.java.

◆ size()

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

Definition at line 71 of file Assignment.java.

◆ startMax()

long com.google.ortools.constraintsolver.Assignment.startMax ( IntervalVar var)

Definition at line 282 of file Assignment.java.

◆ startMin()

long com.google.ortools.constraintsolver.Assignment.startMin ( IntervalVar var)

Definition at line 278 of file Assignment.java.

◆ startValue()

long com.google.ortools.constraintsolver.Assignment.startValue ( IntervalVar var)

Definition at line 286 of file Assignment.java.

◆ store()

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

Definition at line 87 of file Assignment.java.

◆ swigRelease()

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

Definition at line 27 of file Assignment.java.

◆ toString()

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

Reimplemented from com.google.ortools.constraintsolver.PropagationBaseObject.

Definition at line 495 of file Assignment.java.

◆ unperformed()

int[] com.google.ortools.constraintsolver.Assignment.unperformed ( SequenceVar var)

Definition at line 415 of file Assignment.java.

◆ value()

long com.google.ortools.constraintsolver.Assignment.value ( IntVar var)

Definition at line 237 of file Assignment.java.


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