Google OR-Tools v9.11
a fast and portable software suite for combinatorial optimization
|
Public Member Functions | |
__init__ (self) | |
NextWrapper (self, s) | |
DebugString (self) | |
__repr__ (self) | |
__str__ (self) | |
__disown__ (self) | |
Public Member Functions inherited from ortools.constraint_solver.pywrapcp.BaseObject |
Properties | |
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag") | |
Properties inherited from ortools.constraint_solver.pywrapcp.BaseObject | |
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag") | |
A DecisionBuilder is responsible for creating the search tree. The important method is Next(), which returns the next decision to execute.
Definition at line 2023 of file pywrapcp.py.
ortools.constraint_solver.pywrapcp.DecisionBuilder.__init__ | ( | self | ) |
Reimplemented from ortools.constraint_solver.pywrapcp.BaseObject.
Definition at line 2031 of file pywrapcp.py.
ortools.constraint_solver.pywrapcp.DecisionBuilder.__disown__ | ( | self | ) |
Reimplemented from ortools.constraint_solver.pywrapcp.BaseObject.
Definition at line 2056 of file pywrapcp.py.
ortools.constraint_solver.pywrapcp.DecisionBuilder.__repr__ | ( | self | ) |
Reimplemented from ortools.constraint_solver.pywrapcp.BaseObject.
Definition at line 2051 of file pywrapcp.py.
ortools.constraint_solver.pywrapcp.DecisionBuilder.__str__ | ( | self | ) |
Reimplemented from ortools.constraint_solver.pywrapcp.BaseObject.
Definition at line 2054 of file pywrapcp.py.
ortools.constraint_solver.pywrapcp.DecisionBuilder.DebugString | ( | self | ) |
Reimplemented from ortools.constraint_solver.pywrapcp.BaseObject.
Reimplemented in ortools.constraint_solver.pywrapcp.PyDecisionBuilder.
Definition at line 2048 of file pywrapcp.py.
ortools.constraint_solver.pywrapcp.DecisionBuilder.NextWrapper | ( | self, | |
s ) |
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 ortools.constraint_solver.pywrapcp.PyDecisionBuilder.
Definition at line 2039 of file pywrapcp.py.
|
static |
Definition at line 2029 of file pywrapcp.py.