Class IntVarLocalSearchFilter
java.lang.Object
com.google.ortools.constraintsolver.BaseObject
com.google.ortools.constraintsolver.LocalSearchFilter
com.google.ortools.constraintsolver.IntVarLocalSearchFilter
public class IntVarLocalSearchFilter extends LocalSearchFilter
-
Field Summary
Fields inherited from class com.google.ortools.constraintsolver.BaseObject
swigCMemOwn -
Constructor Summary
Constructors Modifier Constructor Description protectedIntVarLocalSearchFilter(long cPtr, boolean cMemoryOwn)IntVarLocalSearchFilter(IntVar[] vars) -
Method Summary
Modifier and Type Method Description voidaddVars(IntVar[] vars)Add variables to "track" to the filter.voiddelete()protected voidfinalize()protected static longgetCPtr(IntVarLocalSearchFilter obj)intindex(IntVar var)protected voidonSynchronize(Assignment delta)intsize()protected voidswigDirectorDisconnect()voidswigReleaseOwnership()voidswigTakeOwnership()voidsynchronize(Assignment assignment, Assignment delta)This method should not be overridden.longvalue(int index)IntVarvar(int index)Methods inherited from class com.google.ortools.constraintsolver.LocalSearchFilter
accept, Commit, getAcceptedObjectiveValue, getCPtr, getSynchronizedObjectiveValue, isIncremental, Relax, Reset, RevertMethods inherited from class com.google.ortools.constraintsolver.BaseObject
getCPtr, toStringMethods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Constructor Details
-
IntVarLocalSearchFilter
protected IntVarLocalSearchFilter(long cPtr, boolean cMemoryOwn) -
IntVarLocalSearchFilter
-
-
Method Details
-
getCPtr
-
finalize
protected void finalize()- Overrides:
finalizein classLocalSearchFilter
-
delete
public void delete()- Overrides:
deletein classLocalSearchFilter
-
swigDirectorDisconnect
protected void swigDirectorDisconnect()- Overrides:
swigDirectorDisconnectin classLocalSearchFilter
-
swigReleaseOwnership
public void swigReleaseOwnership()- Overrides:
swigReleaseOwnershipin classLocalSearchFilter
-
swigTakeOwnership
public void swigTakeOwnership()- Overrides:
swigTakeOwnershipin classLocalSearchFilter
-
synchronize
This method should not be overridden. Override OnSynchronize() instead
which is called before exiting this method.- Overrides:
synchronizein classLocalSearchFilter
-
addVars
Add variables to "track" to the filter. -
size
public int size() -
var
-
value
public long value(int index) -
onSynchronize
-
index
-