Class LocalSearchOperatorState
- java.lang.Object
-
- com.google.ortools.constraintsolver.LocalSearchOperatorState
-
public class LocalSearchOperatorState extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description protected booleanswigCMemOwn
-
Constructor Summary
Constructors Modifier Constructor Description LocalSearchOperatorState()protectedLocalSearchOperatorState(long cPtr, boolean cMemoryOwn)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description long[]CandidateIndicesChanged()longCandidateInverseValue(long value)booleanCandidateIsActive(long index)longCandidateValue(long index)Returns the value in the current assignment of the variable of given
index.voidCheckPoint()longCheckPointValue(long index)voidCommit()longCommittedInverseValue(long value)longCommittedValue(long index)voiddelete()protected voidfinalize()protected static longgetCPtr(LocalSearchOperatorState obj)long[]IncrementalIndicesChanged()voidResize(int size)voidRevert(boolean only_incremental)voidSetCandidateActive(long index, boolean active)voidSetCandidateValue(long index, long value)voidSetCurrentDomainInjectiveAndKeepInverseValues(int max_value)protected static longswigRelease(LocalSearchOperatorState obj)
-
-
-
Method Detail
-
getCPtr
protected static long getCPtr(LocalSearchOperatorState obj)
-
swigRelease
protected static long swigRelease(LocalSearchOperatorState obj)
-
finalize
protected void finalize()
- Overrides:
finalizein classjava.lang.Object
-
delete
public void delete()
-
SetCurrentDomainInjectiveAndKeepInverseValues
public void SetCurrentDomainInjectiveAndKeepInverseValues(int max_value)
-
CandidateValue
public long CandidateValue(long index)
Returns the value in the current assignment of the variable of given
index.
-
CommittedValue
public long CommittedValue(long index)
-
CheckPointValue
public long CheckPointValue(long index)
-
SetCandidateValue
public void SetCandidateValue(long index, long value)
-
CandidateIsActive
public boolean CandidateIsActive(long index)
-
SetCandidateActive
public void SetCandidateActive(long index, boolean active)
-
Commit
public void Commit()
-
CheckPoint
public void CheckPoint()
-
Revert
public void Revert(boolean only_incremental)
-
CandidateIndicesChanged
public long[] CandidateIndicesChanged()
-
IncrementalIndicesChanged
public long[] IncrementalIndicesChanged()
-
Resize
public void Resize(int size)
-
CandidateInverseValue
public long CandidateInverseValue(long value)
-
CommittedInverseValue
public long CommittedInverseValue(long value)
-
-