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
kNoProgress
Fields inherited from class com.google.ortools.constraintsolver.BaseObject
swigCMemOwn
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionlong
BestValue
(int index) void
delete()
protected void
finalize()
static long
boolean
boolean
Maximize
(int index) MinimizationVar
(int index) ObjectiveVar
(int index) void
set_active
(boolean is_active) int
Size()
long
Step
(int index) static long
Methods 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, swigTakeOwnership
Methods 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:
finalize
in classSearchMonitor
-
delete
public void delete()- Overrides:
delete
in 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)
-