Google OR-Tools v9.11
a fast and portable software suite for combinatorial optimization
Loading...
Searching...
No Matches
ortools.constraint_solver.pywrapcp.DecisionBuilder Class Reference
Inheritance diagram for ortools.constraint_solver.pywrapcp.DecisionBuilder:
ortools.constraint_solver.pywrapcp.BaseObject ortools.constraint_solver.pywrapcp.PyDecisionBuilder

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")
 

Detailed Description

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.

Constructor & Destructor Documentation

◆ __init__()

ortools.constraint_solver.pywrapcp.DecisionBuilder.__init__ ( self)

Reimplemented from ortools.constraint_solver.pywrapcp.BaseObject.

Definition at line 2031 of file pywrapcp.py.

Member Function Documentation

◆ __disown__()

ortools.constraint_solver.pywrapcp.DecisionBuilder.__disown__ ( self)

Reimplemented from ortools.constraint_solver.pywrapcp.BaseObject.

Definition at line 2056 of file pywrapcp.py.

◆ __repr__()

ortools.constraint_solver.pywrapcp.DecisionBuilder.__repr__ ( self)

Reimplemented from ortools.constraint_solver.pywrapcp.BaseObject.

Definition at line 2051 of file pywrapcp.py.

◆ __str__()

ortools.constraint_solver.pywrapcp.DecisionBuilder.__str__ ( self)

Reimplemented from ortools.constraint_solver.pywrapcp.BaseObject.

Definition at line 2054 of file pywrapcp.py.

◆ DebugString()

ortools.constraint_solver.pywrapcp.DecisionBuilder.DebugString ( self)

◆ NextWrapper()

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.

Property Documentation

◆ thisown

ortools.constraint_solver.pywrapcp.DecisionBuilder.thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
static

Definition at line 2029 of file pywrapcp.py.


The documentation for this class was generated from the following file: