Google OR-Tools v9.11
a fast and portable software suite for combinatorial optimization
|
Protected Member Functions | |
SearchLog (long cPtr, boolean cMemoryOwn) | |
void | finalize () |
Protected Member Functions inherited from com.google.ortools.constraintsolver.SearchMonitor | |
SearchMonitor (long cPtr, boolean cMemoryOwn) | |
void | swigDirectorDisconnect () |
Protected Member Functions inherited from com.google.ortools.constraintsolver.BaseObject | |
BaseObject (long cPtr, boolean cMemoryOwn) | |
Static Protected Member Functions | |
static long | getCPtr (SearchLog obj) |
static long | swigRelease (SearchLog obj) |
Static Protected Member Functions inherited from com.google.ortools.constraintsolver.SearchMonitor | |
static long | getCPtr (SearchMonitor obj) |
static long | swigRelease (SearchMonitor obj) |
Static Protected Member Functions inherited from com.google.ortools.constraintsolver.BaseObject | |
static long | getCPtr (BaseObject obj) |
static long | swigRelease (BaseObject obj) |
Additional Inherited Members | |
Static Public Attributes inherited from com.google.ortools.constraintsolver.SearchMonitor | |
static final int | kNoProgress = mainJNI.SearchMonitor_kNoProgress_get() |
Protected Attributes inherited from com.google.ortools.constraintsolver.BaseObject | |
transient boolean | swigCMemOwn |
The base class of all search logs that periodically outputs information when
the search is running.
Definition at line 19 of file SearchLog.java.
|
protected |
Definition at line 22 of file SearchLog.java.
com.google.ortools.constraintsolver.SearchLog.SearchLog | ( | Solver | solver, |
IntVar[] | vars, | ||
String | vars_name, | ||
double[] | scaling_factors, | ||
double[] | offsets, | ||
Supplier< String > | display_callback, | ||
boolean | display_on_new_solutions_only, | ||
int | period ) |
Definition at line 59 of file SearchLog.java.
void com.google.ortools.constraintsolver.SearchLog.AcceptUncheckedNeighbor | ( | ) |
After accepting an unchecked neighbor during local search.
Reimplemented from com.google.ortools.constraintsolver.SearchMonitor.
Definition at line 83 of file SearchLog.java.
void com.google.ortools.constraintsolver.SearchLog.applyDecision | ( | Decision | d | ) |
Before applying the decision.
Reimplemented from com.google.ortools.constraintsolver.SearchMonitor.
Definition at line 87 of file SearchLog.java.
boolean com.google.ortools.constraintsolver.SearchLog.atSolution | ( | ) |
This method is called when a valid solution is found. If the
return value is true, then search will resume after. If the result
is false, then search will stop there.
Reimplemented from com.google.ortools.constraintsolver.SearchMonitor.
Definition at line 71 of file SearchLog.java.
void com.google.ortools.constraintsolver.SearchLog.beginFail | ( | ) |
Just when the failure occurs.
Reimplemented from com.google.ortools.constraintsolver.SearchMonitor.
Definition at line 75 of file SearchLog.java.
void com.google.ortools.constraintsolver.SearchLog.beginInitialPropagation | ( | ) |
Before the initial propagation.
Reimplemented from com.google.ortools.constraintsolver.SearchMonitor.
Definition at line 103 of file SearchLog.java.
synchronized void com.google.ortools.constraintsolver.SearchLog.delete | ( | ) |
Reimplemented from com.google.ortools.constraintsolver.SearchMonitor.
Definition at line 48 of file SearchLog.java.
void com.google.ortools.constraintsolver.SearchLog.endInitialPropagation | ( | ) |
After the initial propagation.
Reimplemented from com.google.ortools.constraintsolver.SearchMonitor.
Definition at line 107 of file SearchLog.java.
void com.google.ortools.constraintsolver.SearchLog.enterSearch | ( | ) |
Beginning of the search.
Reimplemented from com.google.ortools.constraintsolver.SearchMonitor.
Definition at line 63 of file SearchLog.java.
void com.google.ortools.constraintsolver.SearchLog.exitSearch | ( | ) |
End of the search.
Reimplemented from com.google.ortools.constraintsolver.SearchMonitor.
Definition at line 67 of file SearchLog.java.
|
protected |
Reimplemented from com.google.ortools.constraintsolver.SearchMonitor.
Definition at line 44 of file SearchLog.java.
|
staticprotected |
Definition at line 27 of file SearchLog.java.
void com.google.ortools.constraintsolver.SearchLog.maintain | ( | ) |
Definition at line 99 of file SearchLog.java.
void com.google.ortools.constraintsolver.SearchLog.noMoreSolutions | ( | ) |
When the search tree is finished.
Reimplemented from com.google.ortools.constraintsolver.SearchMonitor.
Definition at line 79 of file SearchLog.java.
void com.google.ortools.constraintsolver.SearchLog.outputDecision | ( | ) |
Definition at line 95 of file SearchLog.java.
void com.google.ortools.constraintsolver.SearchLog.refuteDecision | ( | Decision | d | ) |
Before refuting the decision.
Reimplemented from com.google.ortools.constraintsolver.SearchMonitor.
Definition at line 91 of file SearchLog.java.
|
staticprotected |
Definition at line 31 of file SearchLog.java.
String com.google.ortools.constraintsolver.SearchLog.toString | ( | ) |
Reimplemented from com.google.ortools.constraintsolver.BaseObject.
Definition at line 111 of file SearchLog.java.