Google OR-Tools v9.11
a fast and portable software suite for combinatorial optimization
|
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 |
An Assignment is a variable -> domains mapping, used
to report solutions to the user.
Definition at line 15 of file Assignment.java.
|
protected |
Definition at line 18 of file Assignment.java.
com.google.ortools.constraintsolver.Assignment.Assignment | ( | Solver | solver | ) |
Definition at line 55 of file Assignment.java.
com.google.ortools.constraintsolver.Assignment.Assignment | ( | Assignment | copy | ) |
Definition at line 59 of file Assignment.java.
void com.google.ortools.constraintsolver.Assignment.activate | ( | IntervalVar | var | ) |
Definition at line 447 of file Assignment.java.
void com.google.ortools.constraintsolver.Assignment.activate | ( | IntVar | var | ) |
Definition at line 435 of file Assignment.java.
void com.google.ortools.constraintsolver.Assignment.activate | ( | SequenceVar | var | ) |
Definition at line 459 of file Assignment.java.
boolean com.google.ortools.constraintsolver.Assignment.activated | ( | IntervalVar | var | ) |
Definition at line 455 of file Assignment.java.
boolean com.google.ortools.constraintsolver.Assignment.activated | ( | IntVar | var | ) |
Definition at line 443 of file Assignment.java.
boolean com.google.ortools.constraintsolver.Assignment.activated | ( | SequenceVar | var | ) |
Definition at line 467 of file Assignment.java.
boolean com.google.ortools.constraintsolver.Assignment.activatedObjective | ( | ) |
Definition at line 479 of file Assignment.java.
boolean com.google.ortools.constraintsolver.Assignment.ActivatedObjectiveFromIndex | ( | int | index | ) |
Definition at line 491 of file Assignment.java.
void com.google.ortools.constraintsolver.Assignment.activateObjective | ( | ) |
Definition at line 471 of file Assignment.java.
void com.google.ortools.constraintsolver.Assignment.ActivateObjectiveFromIndex | ( | int | index | ) |
Definition at line 483 of file Assignment.java.
IntervalVarElement com.google.ortools.constraintsolver.Assignment.add | ( | IntervalVar | var | ) |
Definition at line 261 of file Assignment.java.
void com.google.ortools.constraintsolver.Assignment.add | ( | IntervalVar[] | vars | ) |
Definition at line 266 of file Assignment.java.
IntVarElement com.google.ortools.constraintsolver.Assignment.add | ( | IntVar | var | ) |
Definition at line 212 of file Assignment.java.
void com.google.ortools.constraintsolver.Assignment.add | ( | IntVar[] | vars | ) |
Definition at line 217 of file Assignment.java.
SequenceVarElement com.google.ortools.constraintsolver.Assignment.add | ( | SequenceVar | var | ) |
Definition at line 390 of file Assignment.java.
void com.google.ortools.constraintsolver.Assignment.add | ( | SequenceVar[] | vars | ) |
Definition at line 395 of file Assignment.java.
void com.google.ortools.constraintsolver.Assignment.addObjective | ( | IntVar | v | ) |
Definition at line 114 of file Assignment.java.
void com.google.ortools.constraintsolver.Assignment.AddObjectives | ( | IntVar[] | vars | ) |
Definition at line 118 of file Assignment.java.
boolean com.google.ortools.constraintsolver.Assignment.AreAllElementsBound | ( | ) |
Definition at line 499 of file Assignment.java.
int[] com.google.ortools.constraintsolver.Assignment.backwardSequence | ( | SequenceVar | var | ) |
Definition at line 411 of file Assignment.java.
boolean com.google.ortools.constraintsolver.Assignment.bound | ( | IntVar | var | ) |
Definition at line 241 of file Assignment.java.
void com.google.ortools.constraintsolver.Assignment.clear | ( | ) |
Definition at line 63 of file Assignment.java.
void com.google.ortools.constraintsolver.Assignment.ClearObjective | ( | ) |
Definition at line 122 of file Assignment.java.
boolean com.google.ortools.constraintsolver.Assignment.contains | ( | IntervalVar | var | ) |
Definition at line 507 of file Assignment.java.
boolean com.google.ortools.constraintsolver.Assignment.contains | ( | IntVar | var | ) |
Definition at line 503 of file Assignment.java.
boolean com.google.ortools.constraintsolver.Assignment.contains | ( | SequenceVar | var | ) |
Definition at line 511 of file Assignment.java.
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.
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.
void com.google.ortools.constraintsolver.Assignment.deactivate | ( | IntervalVar | var | ) |
Definition at line 451 of file Assignment.java.
void com.google.ortools.constraintsolver.Assignment.deactivate | ( | IntVar | var | ) |
Definition at line 439 of file Assignment.java.
void com.google.ortools.constraintsolver.Assignment.deactivate | ( | SequenceVar | var | ) |
Definition at line 463 of file Assignment.java.
void com.google.ortools.constraintsolver.Assignment.deactivateObjective | ( | ) |
Definition at line 475 of file Assignment.java.
void com.google.ortools.constraintsolver.Assignment.DeactivateObjectiveFromIndex | ( | int | index | ) |
Definition at line 487 of file Assignment.java.
synchronized void com.google.ortools.constraintsolver.Assignment.delete | ( | ) |
Reimplemented from com.google.ortools.constraintsolver.PropagationBaseObject.
Definition at line 44 of file Assignment.java.
long com.google.ortools.constraintsolver.Assignment.durationMax | ( | IntervalVar | var | ) |
Definition at line 294 of file Assignment.java.
long com.google.ortools.constraintsolver.Assignment.durationMin | ( | IntervalVar | var | ) |
Definition at line 290 of file Assignment.java.
long com.google.ortools.constraintsolver.Assignment.durationValue | ( | IntervalVar | var | ) |
Definition at line 298 of file Assignment.java.
boolean com.google.ortools.constraintsolver.Assignment.empty | ( | ) |
Definition at line 67 of file Assignment.java.
long com.google.ortools.constraintsolver.Assignment.endMax | ( | IntervalVar | var | ) |
Definition at line 306 of file Assignment.java.
long com.google.ortools.constraintsolver.Assignment.endMin | ( | IntervalVar | var | ) |
Definition at line 302 of file Assignment.java.
long com.google.ortools.constraintsolver.Assignment.endValue | ( | IntervalVar | var | ) |
Definition at line 310 of file Assignment.java.
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.
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.
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.
|
protected |
Reimplemented from com.google.ortools.constraintsolver.PropagationBaseObject.
Definition at line 40 of file Assignment.java.
int[] com.google.ortools.constraintsolver.Assignment.forwardSequence | ( | SequenceVar | var | ) |
Definition at line 407 of file Assignment.java.
|
staticprotected |
Definition at line 23 of file Assignment.java.
boolean com.google.ortools.constraintsolver.Assignment.hasObjective | ( | ) |
Definition at line 140 of file Assignment.java.
boolean com.google.ortools.constraintsolver.Assignment.HasObjectiveFromIndex | ( | int | index | ) |
Definition at line 144 of file Assignment.java.
AssignmentIntervalContainer com.google.ortools.constraintsolver.Assignment.intervalVarContainer | ( | ) |
Definition at line 540 of file Assignment.java.
AssignmentIntContainer com.google.ortools.constraintsolver.Assignment.intVarContainer | ( | ) |
Definition at line 531 of file Assignment.java.
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.
long com.google.ortools.constraintsolver.Assignment.max | ( | IntVar | var | ) |
Definition at line 233 of file Assignment.java.
long com.google.ortools.constraintsolver.Assignment.min | ( | IntVar | var | ) |
Definition at line 229 of file Assignment.java.
AssignmentIntervalContainer com.google.ortools.constraintsolver.Assignment.mutableIntervalVarContainer | ( | ) |
Definition at line 544 of file Assignment.java.
AssignmentIntContainer com.google.ortools.constraintsolver.Assignment.mutableIntVarContainer | ( | ) |
Definition at line 535 of file Assignment.java.
AssignmentSequenceContainer com.google.ortools.constraintsolver.Assignment.mutableSequenceVarContainer | ( | ) |
Definition at line 553 of file Assignment.java.
int com.google.ortools.constraintsolver.Assignment.numIntervalVars | ( | ) |
Definition at line 79 of file Assignment.java.
int com.google.ortools.constraintsolver.Assignment.numIntVars | ( | ) |
Definition at line 75 of file Assignment.java.
int com.google.ortools.constraintsolver.Assignment.NumObjectives | ( | ) |
Definition at line 126 of file Assignment.java.
int com.google.ortools.constraintsolver.Assignment.numSequenceVars | ( | ) |
Definition at line 83 of file Assignment.java.
IntVar com.google.ortools.constraintsolver.Assignment.objective | ( | ) |
Definition at line 130 of file Assignment.java.
boolean com.google.ortools.constraintsolver.Assignment.objectiveBound | ( | ) |
Definition at line 160 of file Assignment.java.
boolean com.google.ortools.constraintsolver.Assignment.ObjectiveBoundFromIndex | ( | int | index | ) |
Definition at line 192 of file Assignment.java.
IntVar com.google.ortools.constraintsolver.Assignment.ObjectiveFromIndex | ( | int | index | ) |
Definition at line 135 of file Assignment.java.
long com.google.ortools.constraintsolver.Assignment.objectiveMax | ( | ) |
Definition at line 152 of file Assignment.java.
long com.google.ortools.constraintsolver.Assignment.ObjectiveMaxFromIndex | ( | int | index | ) |
Definition at line 184 of file Assignment.java.
long com.google.ortools.constraintsolver.Assignment.objectiveMin | ( | ) |
Definition at line 148 of file Assignment.java.
long com.google.ortools.constraintsolver.Assignment.ObjectiveMinFromIndex | ( | int | index | ) |
Definition at line 180 of file Assignment.java.
long com.google.ortools.constraintsolver.Assignment.objectiveValue | ( | ) |
Definition at line 156 of file Assignment.java.
long com.google.ortools.constraintsolver.Assignment.ObjectiveValueFromIndex | ( | int | index | ) |
Definition at line 188 of file Assignment.java.
long com.google.ortools.constraintsolver.Assignment.performedMax | ( | IntervalVar | var | ) |
Definition at line 318 of file Assignment.java.
long com.google.ortools.constraintsolver.Assignment.performedMin | ( | IntervalVar | var | ) |
Definition at line 314 of file Assignment.java.
long com.google.ortools.constraintsolver.Assignment.performedValue | ( | IntervalVar | var | ) |
Definition at line 322 of file Assignment.java.
void com.google.ortools.constraintsolver.Assignment.restore | ( | ) |
Definition at line 91 of file Assignment.java.
boolean com.google.ortools.constraintsolver.Assignment.save | ( | String | filename | ) |
Saves the assignment to a file.
Definition at line 106 of file Assignment.java.
void com.google.ortools.constraintsolver.Assignment.save | ( | SWIGTYPE_p_operations_research__AssignmentProto | assignment_proto | ) |
Definition at line 110 of file Assignment.java.
AssignmentSequenceContainer com.google.ortools.constraintsolver.Assignment.sequenceVarContainer | ( | ) |
Definition at line 549 of file Assignment.java.
void com.google.ortools.constraintsolver.Assignment.setBackwardSequence | ( | SequenceVar | var, |
int[] | backward_sequence ) |
Definition at line 427 of file Assignment.java.
void com.google.ortools.constraintsolver.Assignment.setDurationMax | ( | IntervalVar | var, |
long | m ) |
Definition at line 346 of file Assignment.java.
void com.google.ortools.constraintsolver.Assignment.setDurationMin | ( | IntervalVar | var, |
long | m ) |
Definition at line 342 of file Assignment.java.
void com.google.ortools.constraintsolver.Assignment.setDurationRange | ( | IntervalVar | var, |
long | mi, | ||
long | ma ) |
Definition at line 350 of file Assignment.java.
void com.google.ortools.constraintsolver.Assignment.setDurationValue | ( | IntervalVar | var, |
long | value ) |
Definition at line 354 of file Assignment.java.
void com.google.ortools.constraintsolver.Assignment.setEndMax | ( | IntervalVar | var, |
long | m ) |
Definition at line 362 of file Assignment.java.
void com.google.ortools.constraintsolver.Assignment.setEndMin | ( | IntervalVar | var, |
long | m ) |
Definition at line 358 of file Assignment.java.
void com.google.ortools.constraintsolver.Assignment.setEndRange | ( | IntervalVar | var, |
long | mi, | ||
long | ma ) |
Definition at line 366 of file Assignment.java.
void com.google.ortools.constraintsolver.Assignment.setEndValue | ( | IntervalVar | var, |
long | value ) |
Definition at line 370 of file Assignment.java.
void com.google.ortools.constraintsolver.Assignment.setForwardSequence | ( | SequenceVar | var, |
int[] | forward_sequence ) |
Definition at line 423 of file Assignment.java.
void com.google.ortools.constraintsolver.Assignment.setMax | ( | IntVar | var, |
long | m ) |
Definition at line 249 of file Assignment.java.
void com.google.ortools.constraintsolver.Assignment.setMin | ( | IntVar | var, |
long | m ) |
Definition at line 245 of file Assignment.java.
void com.google.ortools.constraintsolver.Assignment.setObjectiveMax | ( | long | m | ) |
Definition at line 168 of file Assignment.java.
void com.google.ortools.constraintsolver.Assignment.SetObjectiveMaxFromIndex | ( | int | index, |
long | m ) |
Definition at line 200 of file Assignment.java.
void com.google.ortools.constraintsolver.Assignment.setObjectiveMin | ( | long | m | ) |
Definition at line 164 of file Assignment.java.
void com.google.ortools.constraintsolver.Assignment.SetObjectiveMinFromIndex | ( | int | index, |
long | m ) |
Definition at line 196 of file Assignment.java.
void com.google.ortools.constraintsolver.Assignment.setObjectiveRange | ( | long | l, |
long | u ) |
Definition at line 176 of file Assignment.java.
void com.google.ortools.constraintsolver.Assignment.SetObjectiveRangeFromIndex | ( | int | index, |
long | l, | ||
long | u ) |
Definition at line 208 of file Assignment.java.
void com.google.ortools.constraintsolver.Assignment.setObjectiveValue | ( | long | value | ) |
Definition at line 172 of file Assignment.java.
void com.google.ortools.constraintsolver.Assignment.SetObjectiveValueFromIndex | ( | int | index, |
long | value ) |
Definition at line 204 of file Assignment.java.
void com.google.ortools.constraintsolver.Assignment.setPerformedMax | ( | IntervalVar | var, |
long | m ) |
Definition at line 378 of file Assignment.java.
void com.google.ortools.constraintsolver.Assignment.setPerformedMin | ( | IntervalVar | var, |
long | m ) |
Definition at line 374 of file Assignment.java.
void com.google.ortools.constraintsolver.Assignment.setPerformedRange | ( | IntervalVar | var, |
long | mi, | ||
long | ma ) |
Definition at line 382 of file Assignment.java.
void com.google.ortools.constraintsolver.Assignment.setPerformedValue | ( | IntervalVar | var, |
long | value ) |
Definition at line 386 of file Assignment.java.
void com.google.ortools.constraintsolver.Assignment.setRange | ( | IntVar | var, |
long | l, | ||
long | u ) |
Definition at line 253 of file Assignment.java.
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.
void com.google.ortools.constraintsolver.Assignment.setStartMax | ( | IntervalVar | var, |
long | m ) |
Definition at line 330 of file Assignment.java.
void com.google.ortools.constraintsolver.Assignment.setStartMin | ( | IntervalVar | var, |
long | m ) |
Definition at line 326 of file Assignment.java.
void com.google.ortools.constraintsolver.Assignment.setStartRange | ( | IntervalVar | var, |
long | mi, | ||
long | ma ) |
Definition at line 334 of file Assignment.java.
void com.google.ortools.constraintsolver.Assignment.setStartValue | ( | IntervalVar | var, |
long | value ) |
Definition at line 338 of file Assignment.java.
void com.google.ortools.constraintsolver.Assignment.setUnperformed | ( | SequenceVar | var, |
int[] | unperformed ) |
Definition at line 431 of file Assignment.java.
void com.google.ortools.constraintsolver.Assignment.setValue | ( | IntVar | var, |
long | value ) |
Definition at line 257 of file Assignment.java.
int com.google.ortools.constraintsolver.Assignment.size | ( | ) |
Definition at line 71 of file Assignment.java.
long com.google.ortools.constraintsolver.Assignment.startMax | ( | IntervalVar | var | ) |
Definition at line 282 of file Assignment.java.
long com.google.ortools.constraintsolver.Assignment.startMin | ( | IntervalVar | var | ) |
Definition at line 278 of file Assignment.java.
long com.google.ortools.constraintsolver.Assignment.startValue | ( | IntervalVar | var | ) |
Definition at line 286 of file Assignment.java.
void com.google.ortools.constraintsolver.Assignment.store | ( | ) |
Definition at line 87 of file Assignment.java.
|
staticprotected |
Definition at line 27 of file Assignment.java.
String com.google.ortools.constraintsolver.Assignment.toString | ( | ) |
Reimplemented from com.google.ortools.constraintsolver.PropagationBaseObject.
Definition at line 495 of file Assignment.java.
int[] com.google.ortools.constraintsolver.Assignment.unperformed | ( | SequenceVar | var | ) |
Definition at line 415 of file Assignment.java.
long com.google.ortools.constraintsolver.Assignment.value | ( | IntVar | var | ) |
Definition at line 237 of file Assignment.java.