Class BaseObjectiveMonitor
java.lang.Object
com.google.ortools.constraintsolver.BaseObject
com.google.ortools.constraintsolver.SearchMonitor
com.google.ortools.constraintsolver.BaseObjectiveMonitor
- Direct Known Subclasses:
ObjectiveMonitor
-
Field Summary
Fields inherited from class com.google.ortools.constraintsolver.SearchMonitor
kNoProgressFields inherited from class com.google.ortools.constraintsolver.BaseObject
swigCMemOwn -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionlongBestValue(int index) voiddelete()protected voidfinalize()static longbooleanbooleanMaximize(int index) MinimizationVar(int index) ObjectiveVar(int index) voidset_active(boolean is_active) intSize()longStep(int index) static longMethods inherited from class com.google.ortools.constraintsolver.SearchMonitor
accept, acceptDelta, acceptNeighbor, acceptSolution, AcceptUncheckedNeighbor, afterDecision, applyDecision, atSolution, beginFail, beginInitialPropagation, beginNextDecision, endFail, endInitialPropagation, endNextDecision, enterSearch, exitSearch, getCPtr, install, IsUncheckedSolutionLimitReached, keepAliveDecisionBuilder, localOptimum, noMoreSolutions, periodicCheck, progressPercent, refuteDecision, restartSearch, solver, swigDirectorDisconnect, swigRelease, swigReleaseOwnership, swigTakeOwnershipMethods inherited from class com.google.ortools.constraintsolver.BaseObject
getCPtr, swigRelease, toString
-
Constructor Details
-
BaseObjectiveMonitor
public BaseObjectiveMonitor(long cPtr, boolean cMemoryOwn)
-
-
Method Details
-
getCPtr
-
swigRelease
-
finalize
protected void finalize()- Overrides:
finalizein classSearchMonitor
-
delete
public void delete()- Overrides:
deletein classSearchMonitor
-
ObjectiveVar
-
MinimizationVar
-
Step
public long Step(int index) -
Maximize
public boolean Maximize(int index) -
BestValue
public long BestValue(int index) -
Size
public int Size() -
is_active
public boolean is_active() -
set_active
public void set_active(boolean is_active)
-