![]() |
Google OR-Tools v9.12
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) | |
![]() | |
__init__ (self) | |
__str__ (self) | |
__repr__ (self) | |
__disown__ (self) | |
Properties | |
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag") | |
![]() | |
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 2257 of file pywrapcp.py.
ortools.constraint_solver.pywrapcp.DecisionBuilder.__init__ | ( | self | ) |
Definition at line 2265 of file pywrapcp.py.
ortools.constraint_solver.pywrapcp.DecisionBuilder.__disown__ | ( | self | ) |
Definition at line 2290 of file pywrapcp.py.
ortools.constraint_solver.pywrapcp.DecisionBuilder.__repr__ | ( | self | ) |
Definition at line 2285 of file pywrapcp.py.
ortools.constraint_solver.pywrapcp.DecisionBuilder.__str__ | ( | self | ) |
Definition at line 2288 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 2282 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 2273 of file pywrapcp.py.
|
static |
Definition at line 2263 of file pywrapcp.py.