Google OR-Tools v9.11
a fast and portable software suite for combinatorial optimization
|
Public Member Functions | |
synchronized void | delete () |
void | swigReleaseOwnership () |
void | swigTakeOwnership () |
ChangeValue (IntVar[] vars) | |
long | modifyValue (long index, long value) |
Public Member Functions inherited from com.google.ortools.constraintsolver.IntVarLocalSearchOperator | |
IntVarLocalSearchOperator (IntVar[] vars, boolean keep_inverse_values) | |
IntVarLocalSearchOperator (IntVar[] vars) | |
boolean | HoldsDelta () |
void | start (Assignment assignment) |
boolean | isIncremental () |
int | size () |
long | value (long index) |
IntVar | var (long index) |
boolean | SkipUnchanged (int index) |
long | oldValue (long index) |
long | PrevValue (long index) |
void | setValue (long index, long value) |
boolean | activated (long index) |
void | activate (long index) |
void | deactivate (long index) |
boolean | ApplyChanges (Assignment delta, Assignment deltadelta) |
void | RevertChanges (boolean change_was_incremental) |
void | addVars (IntVar[] vars) |
void | onStart () |
Public Member Functions inherited from com.google.ortools.constraintsolver.LocalSearchOperator | |
LocalSearchOperator () | |
boolean | nextNeighbor (Assignment delta, Assignment deltadelta) |
void | reset () |
boolean | HasFragments () |
Public Member Functions inherited from com.google.ortools.constraintsolver.BaseObject | |
BaseObject () | |
String | toString () |
Protected Member Functions | |
ChangeValue (long cPtr, boolean cMemoryOwn) | |
void | finalize () |
void | swigDirectorDisconnect () |
boolean | oneNeighbor () |
Protected Member Functions inherited from com.google.ortools.constraintsolver.IntVarLocalSearchOperator | |
IntVarLocalSearchOperator (long cPtr, boolean cMemoryOwn) | |
Protected Member Functions inherited from com.google.ortools.constraintsolver.LocalSearchOperator | |
LocalSearchOperator (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 (ChangeValue obj) |
static long | swigRelease (ChangeValue obj) |
Static Protected Member Functions inherited from com.google.ortools.constraintsolver.IntVarLocalSearchOperator | |
static long | getCPtr (IntVarLocalSearchOperator obj) |
static long | swigRelease (IntVarLocalSearchOperator obj) |
Static Protected Member Functions inherited from com.google.ortools.constraintsolver.LocalSearchOperator | |
static long | getCPtr (LocalSearchOperator obj) |
static long | swigRelease (LocalSearchOperator 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 |
Defines operators which change the value of variables;
each neighbor corresponds to one modified variable.
Sub-classes have to define ModifyValue which determines what the new
variable value is going to be (given the current value and the variable).
Definition at line 17 of file ChangeValue.java.
|
protected |
Definition at line 20 of file ChangeValue.java.
com.google.ortools.constraintsolver.ChangeValue.ChangeValue | ( | IntVar[] | vars | ) |
Definition at line 72 of file ChangeValue.java.
synchronized void com.google.ortools.constraintsolver.ChangeValue.delete | ( | ) |
Reimplemented from com.google.ortools.constraintsolver.IntVarLocalSearchOperator.
Definition at line 46 of file ChangeValue.java.
|
protected |
Reimplemented from com.google.ortools.constraintsolver.IntVarLocalSearchOperator.
Definition at line 42 of file ChangeValue.java.
|
staticprotected |
Definition at line 25 of file ChangeValue.java.
long com.google.ortools.constraintsolver.ChangeValue.modifyValue | ( | long | index, |
long | value ) |
Definition at line 77 of file ChangeValue.java.
|
protected |
This method should not be overridden. Override ModifyValue() instead.
Reimplemented from com.google.ortools.constraintsolver.IntVarLocalSearchOperator.
Definition at line 84 of file ChangeValue.java.
|
protected |
Reimplemented from com.google.ortools.constraintsolver.IntVarLocalSearchOperator.
Definition at line 57 of file ChangeValue.java.
|
staticprotected |
Definition at line 29 of file ChangeValue.java.
void com.google.ortools.constraintsolver.ChangeValue.swigReleaseOwnership | ( | ) |
Reimplemented from com.google.ortools.constraintsolver.IntVarLocalSearchOperator.
Definition at line 62 of file ChangeValue.java.
void com.google.ortools.constraintsolver.ChangeValue.swigTakeOwnership | ( | ) |
Reimplemented from com.google.ortools.constraintsolver.IntVarLocalSearchOperator.
Definition at line 67 of file ChangeValue.java.