Google OR-Tools v9.11
a fast and portable software suite for combinatorial optimization
|
Public Member Functions | |
synchronized void | delete () |
void | swigReleaseOwnership () |
void | swigTakeOwnership () |
DecisionBuilder () | |
Decision | nextWrap (Solver s) |
String | toString () |
void | set_name (String name) |
String | GetName () |
Public Member Functions inherited from com.google.ortools.constraintsolver.BaseObject | |
BaseObject () | |
Protected Member Functions | |
DecisionBuilder (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 (DecisionBuilder obj) |
static long | swigRelease (DecisionBuilder 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 DecisionBuilder is responsible for creating the search tree. The
important method is Next(), which returns the next decision to execute.
Definition at line 15 of file DecisionBuilder.java.
|
protected |
Definition at line 18 of file DecisionBuilder.java.
com.google.ortools.constraintsolver.DecisionBuilder.DecisionBuilder | ( | ) |
Definition at line 70 of file DecisionBuilder.java.
synchronized void com.google.ortools.constraintsolver.DecisionBuilder.delete | ( | ) |
Reimplemented from com.google.ortools.constraintsolver.BaseObject.
Definition at line 44 of file DecisionBuilder.java.
|
protected |
Reimplemented from com.google.ortools.constraintsolver.BaseObject.
Definition at line 40 of file DecisionBuilder.java.
|
staticprotected |
Definition at line 23 of file DecisionBuilder.java.
String com.google.ortools.constraintsolver.DecisionBuilder.GetName | ( | ) |
Definition at line 94 of file DecisionBuilder.java.
This is the main method of the decision builder class. It must
return a decision (an instance of the class Decision). If it
returns nullptr, this means that the decision builder has finished
its work.
Reimplemented in com.google.ortools.constraintsolver.JavaDecisionBuilder, and com.google.ortools.constraintsolver.JavaDecisionBuilder.
Definition at line 81 of file DecisionBuilder.java.
void com.google.ortools.constraintsolver.DecisionBuilder.set_name | ( | String | name | ) |
Definition at line 90 of file DecisionBuilder.java.
|
protected |
Definition at line 55 of file DecisionBuilder.java.
|
staticprotected |
Definition at line 27 of file DecisionBuilder.java.
void com.google.ortools.constraintsolver.DecisionBuilder.swigReleaseOwnership | ( | ) |
Definition at line 60 of file DecisionBuilder.java.
void com.google.ortools.constraintsolver.DecisionBuilder.swigTakeOwnership | ( | ) |
Definition at line 65 of file DecisionBuilder.java.
String com.google.ortools.constraintsolver.DecisionBuilder.toString | ( | ) |
Reimplemented from com.google.ortools.constraintsolver.BaseObject.
Definition at line 86 of file DecisionBuilder.java.