Google OR-Tools v9.11
a fast and portable software suite for combinatorial optimization
|
Protected Member Functions | |
RegularLimit (long cPtr, boolean cMemoryOwn) | |
void | finalize () |
Protected Member Functions inherited from com.google.ortools.constraintsolver.SearchLimit | |
SearchLimit (long cPtr, boolean cMemoryOwn) | |
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 (RegularLimit obj) |
static long | swigRelease (RegularLimit obj) |
Static Protected Member Functions inherited from com.google.ortools.constraintsolver.SearchLimit | |
static long | getCPtr (SearchLimit obj) |
static long | swigRelease (SearchLimit 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 |
Usual limit based on wall_time, number of explored branches and
number of failures in the search tree
Definition at line 15 of file RegularLimit.java.
|
protected |
Definition at line 18 of file RegularLimit.java.
com.google.ortools.constraintsolver.RegularLimit.RegularLimit | ( | Solver | s, |
SWIGTYPE_p_absl__Duration | time, | ||
long | branches, | ||
long | failures, | ||
long | solutions, | ||
boolean | smart_time_check, | ||
boolean | cumulative ) |
Definition at line 55 of file RegularLimit.java.
void com.google.ortools.constraintsolver.RegularLimit.accept | ( | ModelVisitor | visitor | ) |
Accepts the given model visitor.
Reimplemented from com.google.ortools.constraintsolver.SearchMonitor.
Definition at line 121 of file RegularLimit.java.
long com.google.ortools.constraintsolver.RegularLimit.branches | ( | ) |
Definition at line 93 of file RegularLimit.java.
boolean com.google.ortools.constraintsolver.RegularLimit.CheckWithOffset | ( | SWIGTYPE_p_absl__Duration | offset | ) |
Same as Check() but adds the 'offset' value to the current time when time
is considered in the limit.
Reimplemented from com.google.ortools.constraintsolver.SearchLimit.
Definition at line 73 of file RegularLimit.java.
void com.google.ortools.constraintsolver.RegularLimit.copy | ( | SearchLimit | limit | ) |
Copy a limit. Warning: leads to a direct (no check) downcasting of 'limit'
so one needs to be sure both SearchLimits are of the same type.
Reimplemented from com.google.ortools.constraintsolver.SearchLimit.
Definition at line 59 of file RegularLimit.java.
synchronized void com.google.ortools.constraintsolver.RegularLimit.delete | ( | ) |
Reimplemented from com.google.ortools.constraintsolver.SearchLimit.
Definition at line 44 of file RegularLimit.java.
void com.google.ortools.constraintsolver.RegularLimit.exitSearch | ( | ) |
End of the search.
Reimplemented from com.google.ortools.constraintsolver.SearchMonitor.
Definition at line 81 of file RegularLimit.java.
long com.google.ortools.constraintsolver.RegularLimit.failures | ( | ) |
Definition at line 97 of file RegularLimit.java.
|
protected |
Reimplemented from com.google.ortools.constraintsolver.SearchLimit.
Definition at line 40 of file RegularLimit.java.
|
staticprotected |
Definition at line 23 of file RegularLimit.java.
void com.google.ortools.constraintsolver.RegularLimit.init | ( | ) |
This method is called when the search limit is initialized.
Reimplemented from com.google.ortools.constraintsolver.SearchLimit.
Definition at line 77 of file RegularLimit.java.
void com.google.ortools.constraintsolver.RegularLimit.install | ( | ) |
Registers itself on the solver such that it gets notified of the search
and propagation events. Override to incrementally install listeners for
specific events.
Reimplemented from com.google.ortools.constraintsolver.SearchLimit.
Definition at line 117 of file RegularLimit.java.
boolean com.google.ortools.constraintsolver.RegularLimit.IsUncheckedSolutionLimitReached | ( | ) |
Returns true if the limit of solutions has been reached including
unchecked solutions.
Reimplemented from com.google.ortools.constraintsolver.SearchMonitor.
Definition at line 105 of file RegularLimit.java.
SearchLimit com.google.ortools.constraintsolver.RegularLimit.makeClone | ( | ) |
Allocates a clone of the limit.
Reimplemented from com.google.ortools.constraintsolver.SearchLimit.
Definition at line 63 of file RegularLimit.java.
RegularLimit com.google.ortools.constraintsolver.RegularLimit.MakeIdenticalClone | ( | ) |
Definition at line 68 of file RegularLimit.java.
int com.google.ortools.constraintsolver.RegularLimit.progressPercent | ( | ) |
Returns a percentage representing the propress of the search before
reaching limits.
Reimplemented from com.google.ortools.constraintsolver.SearchMonitor.
Definition at line 109 of file RegularLimit.java.
long com.google.ortools.constraintsolver.RegularLimit.solutions | ( | ) |
Definition at line 101 of file RegularLimit.java.
|
staticprotected |
Definition at line 27 of file RegularLimit.java.
String com.google.ortools.constraintsolver.RegularLimit.toString | ( | ) |
Reimplemented from com.google.ortools.constraintsolver.SearchLimit.
Definition at line 113 of file RegularLimit.java.
void com.google.ortools.constraintsolver.RegularLimit.UpdateLimits | ( | SWIGTYPE_p_absl__Duration | time, |
long | branches, | ||
long | failures, | ||
long | solutions ) |
Definition at line 85 of file RegularLimit.java.
long com.google.ortools.constraintsolver.RegularLimit.wall_time | ( | ) |
Definition at line 89 of file RegularLimit.java.