Class SolutionCallback
java.lang.Object
com.google.ortools.sat.SolutionCallback
- Direct Known Subclasses:
CpSolverSolutionCallback
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondoublevoiddelete()protected voidfinalize()static longgetCPtr(SolutionCallback obj) longlonglonglonglongdoublevoidbooleansolutionBooleanValue(int index) longsolutionIntegerValue(int index) voidprotected voidstatic longvoidvoiddoubleuserTime()doublewallTime()
-
Field Details
-
swigCMemOwn
protected transient boolean swigCMemOwn
-
-
Constructor Details
-
SolutionCallback
public SolutionCallback(long cPtr, boolean cMemoryOwn) -
SolutionCallback
public SolutionCallback()
-
-
Method Details
-
getCPtr
-
swigRelease
-
finalize
-
delete
public void delete() -
swigDirectorDisconnect
protected void swigDirectorDisconnect() -
swigReleaseOwnership
public void swigReleaseOwnership() -
swigTakeOwnership
public void swigTakeOwnership() -
onSolutionCallback
public void onSolutionCallback() -
numBooleans
public long numBooleans() -
numBranches
public long numBranches() -
numConflicts
public long numConflicts() -
numBinaryPropagations
public long numBinaryPropagations() -
numIntegerPropagations
public long numIntegerPropagations() -
wallTime
public double wallTime() -
userTime
public double userTime() -
objectiveValue
public double objectiveValue() -
bestObjectiveBound
public double bestObjectiveBound() -
solutionIntegerValue
public long solutionIntegerValue(int index) -
solutionBooleanValue
public boolean solutionBooleanValue(int index) -
stopSearch
public void stopSearch()
-