Class IntVarLocalSearchFilter
java.lang.Object
com.google.ortools.constraintsolver.BaseObject
com.google.ortools.constraintsolver.LocalSearchFilter
com.google.ortools.constraintsolver.IntVarLocalSearchFilter
-
Field Summary
Fields inherited from class com.google.ortools.constraintsolver.BaseObject
swigCMemOwn
-
Constructor Summary
ConstructorsConstructorDescriptionIntVarLocalSearchFilter
(long cPtr, boolean cMemoryOwn) IntVarLocalSearchFilter
(IntVar[] vars) -
Method Summary
Modifier and TypeMethodDescriptionvoid
Add variables to "track" to the filter.void
delete()
protected void
finalize()
static long
int
protected void
onSynchronize
(Assignment arg0) int
size()
protected void
static long
void
void
void
synchronize
(Assignment assignment, Assignment delta) This method should not be overridden.long
value
(int index) var
(int index) Methods inherited from class com.google.ortools.constraintsolver.LocalSearchFilter
accept, Commit, getAcceptedObjectiveValue, getCPtr, getSynchronizedObjectiveValue, isIncremental, Relax, Reset, Revert, swigRelease
Methods inherited from class com.google.ortools.constraintsolver.BaseObject
getCPtr, swigRelease, toString
-
Constructor Details
-
IntVarLocalSearchFilter
public IntVarLocalSearchFilter(long cPtr, boolean cMemoryOwn) -
IntVarLocalSearchFilter
-
-
Method Details
-
getCPtr
-
swigRelease
-
finalize
protected void finalize()- Overrides:
finalize
in classLocalSearchFilter
-
delete
public void delete()- Overrides:
delete
in classLocalSearchFilter
-
swigDirectorDisconnect
protected void swigDirectorDisconnect()- Overrides:
swigDirectorDisconnect
in classLocalSearchFilter
-
swigReleaseOwnership
public void swigReleaseOwnership()- Overrides:
swigReleaseOwnership
in classLocalSearchFilter
-
swigTakeOwnership
public void swigTakeOwnership()- Overrides:
swigTakeOwnership
in classLocalSearchFilter
-
synchronize
This method should not be overridden. Override OnSynchronize() instead
which is called before exiting this method.- Overrides:
synchronize
in classLocalSearchFilter
-
addVars
Add variables to "track" to the filter. -
size
public int size() -
var
-
value
public long value(int index) -
onSynchronize
-
index
-