Google OR-Tools v9.11
a fast and portable software suite for combinatorial optimization
|
Public Member Functions | |
__init__ (self, *args, **kwargs) | |
DebugString (self) | |
RankFirst (self, index) | |
RankNotFirst (self, index) | |
RankLast (self, index) | |
RankNotLast (self, index) | |
Interval (self, index) | |
Next (self, index) | |
Size (self) | |
__repr__ (self) | |
__str__ (self) | |
Public Member Functions inherited from ortools.constraint_solver.pywrapcp.PropagationBaseObject | |
solver (self) | |
Name (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.PropagationBaseObject | |
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 sequence variable is a variable whose domain is a set of possible orderings of the interval variables. It allows ordering of tasks. It has two sets of methods: ComputePossibleFirstsAndLasts(), which returns the list of interval variables that can be ranked first or last; and RankFirst/RankNotFirst/RankLast/RankNotLast, which can be used to create the search decision.
Definition at line 3119 of file pywrapcp.py.
ortools.constraint_solver.pywrapcp.SequenceVar.__init__ | ( | self, | |
* | args, | ||
** | kwargs ) |
Reimplemented from ortools.constraint_solver.pywrapcp.PropagationBaseObject.
Definition at line 3131 of file pywrapcp.py.
ortools.constraint_solver.pywrapcp.SequenceVar.__repr__ | ( | self | ) |
Reimplemented from ortools.constraint_solver.pywrapcp.PropagationBaseObject.
Definition at line 3177 of file pywrapcp.py.
ortools.constraint_solver.pywrapcp.SequenceVar.__str__ | ( | self | ) |
Reimplemented from ortools.constraint_solver.pywrapcp.BaseObject.
Definition at line 3180 of file pywrapcp.py.
ortools.constraint_solver.pywrapcp.SequenceVar.DebugString | ( | self | ) |
Reimplemented from ortools.constraint_solver.pywrapcp.PropagationBaseObject.
Definition at line 3134 of file pywrapcp.py.
ortools.constraint_solver.pywrapcp.SequenceVar.Interval | ( | self, | |
index ) |
Returns the index_th interval of the sequence.
Definition at line 3165 of file pywrapcp.py.
ortools.constraint_solver.pywrapcp.SequenceVar.Next | ( | self, | |
index ) |
Returns the next of the index_th interval of the sequence.
Definition at line 3169 of file pywrapcp.py.
ortools.constraint_solver.pywrapcp.SequenceVar.RankFirst | ( | self, | |
index ) |
Ranks the index_th interval var first of all unranked interval vars. After that, it will no longer be considered ranked.
Definition at line 3137 of file pywrapcp.py.
ortools.constraint_solver.pywrapcp.SequenceVar.RankLast | ( | self, | |
index ) |
Ranks the index_th interval var first of all unranked interval vars. After that, it will no longer be considered ranked.
Definition at line 3151 of file pywrapcp.py.
ortools.constraint_solver.pywrapcp.SequenceVar.RankNotFirst | ( | self, | |
index ) |
Indicates that the index_th interval var will not be ranked first of all currently unranked interval vars.
Definition at line 3144 of file pywrapcp.py.
ortools.constraint_solver.pywrapcp.SequenceVar.RankNotLast | ( | self, | |
index ) |
Indicates that the index_th interval var will not be ranked first of all currently unranked interval vars.
Definition at line 3158 of file pywrapcp.py.
ortools.constraint_solver.pywrapcp.SequenceVar.Size | ( | self | ) |
Returns the number of interval vars in the sequence.
Definition at line 3173 of file pywrapcp.py.
|
static |
Definition at line 3129 of file pywrapcp.py.