Google OR-Tools v9.11
a fast and portable software suite for combinatorial optimization
|
Public Member Functions | |
synchronized void | delete () |
void | swigReleaseOwnership () |
void | swigTakeOwnership () |
Decision () | |
void | apply (Solver s) |
void | refute (Solver s) |
String | toString () |
void | accept (DecisionVisitor visitor) |
Public Member Functions inherited from com.google.ortools.constraintsolver.BaseObject | |
BaseObject () | |
Protected Member Functions | |
Decision (long cPtr, boolean cMemoryOwn) | |
void | finalize () |
void | swigDirectorDisconnect () |
Protected Member Functions inherited from com.google.ortools.constraintsolver.BaseObject | |
BaseObject (long cPtr, boolean cMemoryOwn) | |
Static Protected Member Functions | |
static long | getCPtr (Decision obj) |
static long | swigRelease (Decision 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 | |
Protected Attributes inherited from com.google.ortools.constraintsolver.BaseObject | |
transient boolean | swigCMemOwn |
A Decision represents a choice point in the search tree. The two main
methods are Apply() to go left, or Refute() to go right.
Definition at line 15 of file Decision.java.
|
protected |
Definition at line 18 of file Decision.java.
com.google.ortools.constraintsolver.Decision.Decision | ( | ) |
Definition at line 70 of file Decision.java.
void com.google.ortools.constraintsolver.Decision.accept | ( | DecisionVisitor | visitor | ) |
Accepts the given visitor.
Definition at line 96 of file Decision.java.
void com.google.ortools.constraintsolver.Decision.apply | ( | Solver | s | ) |
Apply will be called first when the decision is executed.
Definition at line 78 of file Decision.java.
synchronized void com.google.ortools.constraintsolver.Decision.delete | ( | ) |
Reimplemented from com.google.ortools.constraintsolver.BaseObject.
Definition at line 44 of file Decision.java.
|
protected |
Reimplemented from com.google.ortools.constraintsolver.BaseObject.
Definition at line 40 of file Decision.java.
|
staticprotected |
Definition at line 23 of file Decision.java.
void com.google.ortools.constraintsolver.Decision.refute | ( | Solver | s | ) |
Refute will be called after a backtrack.
Definition at line 85 of file Decision.java.
|
protected |
Definition at line 55 of file Decision.java.
|
staticprotected |
Definition at line 27 of file Decision.java.
void com.google.ortools.constraintsolver.Decision.swigReleaseOwnership | ( | ) |
Definition at line 60 of file Decision.java.
void com.google.ortools.constraintsolver.Decision.swigTakeOwnership | ( | ) |
Definition at line 65 of file Decision.java.
String com.google.ortools.constraintsolver.Decision.toString | ( | ) |
Reimplemented from com.google.ortools.constraintsolver.BaseObject.
Definition at line 89 of file Decision.java.