Google OR-Tools v9.9
a fast and portable software suite for combinatorial optimization
|
Public Member Functions | |
synchronized void | delete () |
void | swigReleaseOwnership () |
void | swigTakeOwnership () |
IntVarLocalSearchFilter (IntVar[] vars) | |
void | synchronize (Assignment assignment, Assignment delta) |
void | addVars (IntVar[] vars) |
int | size () |
IntVar | var (int index) |
long | value (int index) |
int | index (IntVar var) |
Public Member Functions inherited from com.google.ortools.constraintsolver.LocalSearchFilter | |
void | Relax (Assignment delta, Assignment deltadelta) |
void | Commit (Assignment delta, Assignment deltadelta) |
boolean | accept (Assignment delta, Assignment deltadelta, long objective_min, long objective_max) |
boolean | isIncremental () |
void | Revert () |
void | Reset () |
long | getSynchronizedObjectiveValue () |
long | getAcceptedObjectiveValue () |
LocalSearchFilter () | |
Public Member Functions inherited from com.google.ortools.constraintsolver.BaseObject | |
BaseObject () | |
String | toString () |
Protected Member Functions | |
IntVarLocalSearchFilter (long cPtr, boolean cMemoryOwn) | |
void | finalize () |
void | swigDirectorDisconnect () |
void | onSynchronize (Assignment delta) |
Protected Member Functions inherited from com.google.ortools.constraintsolver.LocalSearchFilter | |
LocalSearchFilter (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 (IntVarLocalSearchFilter obj) |
static long | swigRelease (IntVarLocalSearchFilter obj) |
Static Protected Member Functions inherited from com.google.ortools.constraintsolver.LocalSearchFilter | |
static long | getCPtr (LocalSearchFilter obj) |
static long | swigRelease (LocalSearchFilter 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 |
Definition at line 15 of file IntVarLocalSearchFilter.java.
|
protected |
Definition at line 18 of file IntVarLocalSearchFilter.java.
com.google.ortools.constraintsolver.IntVarLocalSearchFilter.IntVarLocalSearchFilter | ( | IntVar[] | vars | ) |
Definition at line 70 of file IntVarLocalSearchFilter.java.
void com.google.ortools.constraintsolver.IntVarLocalSearchFilter.addVars | ( | IntVar[] | vars | ) |
Add variables to "track" to the filter.
Definition at line 86 of file IntVarLocalSearchFilter.java.
synchronized void com.google.ortools.constraintsolver.IntVarLocalSearchFilter.delete | ( | ) |
Reimplemented from com.google.ortools.constraintsolver.LocalSearchFilter.
Definition at line 44 of file IntVarLocalSearchFilter.java.
|
protected |
Reimplemented from com.google.ortools.constraintsolver.LocalSearchFilter.
Definition at line 40 of file IntVarLocalSearchFilter.java.
|
staticprotected |
Definition at line 23 of file IntVarLocalSearchFilter.java.
int com.google.ortools.constraintsolver.IntVarLocalSearchFilter.index | ( | IntVar | var | ) |
Definition at line 107 of file IntVarLocalSearchFilter.java.
|
protected |
Definition at line 103 of file IntVarLocalSearchFilter.java.
int com.google.ortools.constraintsolver.IntVarLocalSearchFilter.size | ( | ) |
Definition at line 90 of file IntVarLocalSearchFilter.java.
|
protected |
Reimplemented from com.google.ortools.constraintsolver.LocalSearchFilter.
Definition at line 55 of file IntVarLocalSearchFilter.java.
|
staticprotected |
Definition at line 27 of file IntVarLocalSearchFilter.java.
void com.google.ortools.constraintsolver.IntVarLocalSearchFilter.swigReleaseOwnership | ( | ) |
Reimplemented from com.google.ortools.constraintsolver.LocalSearchFilter.
Definition at line 60 of file IntVarLocalSearchFilter.java.
void com.google.ortools.constraintsolver.IntVarLocalSearchFilter.swigTakeOwnership | ( | ) |
Reimplemented from com.google.ortools.constraintsolver.LocalSearchFilter.
Definition at line 65 of file IntVarLocalSearchFilter.java.
void com.google.ortools.constraintsolver.IntVarLocalSearchFilter.synchronize | ( | Assignment | assignment, |
Assignment | delta ) |
This method should not be overridden. Override OnSynchronize() instead
which is called before exiting this method.
Reimplemented from com.google.ortools.constraintsolver.LocalSearchFilter.
Definition at line 79 of file IntVarLocalSearchFilter.java.
long com.google.ortools.constraintsolver.IntVarLocalSearchFilter.value | ( | int | index | ) |
Definition at line 99 of file IntVarLocalSearchFilter.java.
IntVar com.google.ortools.constraintsolver.IntVarLocalSearchFilter.var | ( | int | index | ) |
Definition at line 94 of file IntVarLocalSearchFilter.java.