Package com.google.ortools.sat
Class SolutionCallback
- java.lang.Object
-
- com.google.ortools.sat.SolutionCallback
-
- Direct Known Subclasses:
CpSolverSolutionCallback
public class SolutionCallback extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description protected booleanswigCMemOwn
-
Constructor Summary
Constructors Constructor Description SolutionCallback()SolutionCallback(long cPtr, boolean cMemoryOwn)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description doublebestObjectiveBound()voiddelete()protected voidfinalize()static longgetCPtr(SolutionCallback obj)longnumBinaryPropagations()longnumBooleans()longnumBranches()longnumConflicts()longnumIntegerPropagations()doubleobjectiveValue()voidonSolutionCallback()booleansolutionBooleanValue(int index)longsolutionIntegerValue(int index)voidstopSearch()protected voidswigDirectorDisconnect()static longswigRelease(SolutionCallback obj)voidswigReleaseOwnership()voidswigTakeOwnership()doubleuserTime()doublewallTime()
-
-
-
Method Detail
-
getCPtr
public static long getCPtr(SolutionCallback obj)
-
swigRelease
public static long swigRelease(SolutionCallback obj)
-
finalize
protected void finalize()
- Overrides:
finalizein classjava.lang.Object
-
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()
-
-