![]() |
Google OR-Tools v9.14
a fast and portable software suite for combinatorial optimization
|
The SequenceVarElement stores a partial representation of ranked
interval variables in the underlying sequence variable.
This representation consists of three vectors:
- the forward sequence. That is the list of interval variables
ranked first in the sequence. The first element of the backward
sequence is the first interval in the sequence variable.
- the backward sequence. That is the list of interval variables
ranked last in the sequence. The first element of the backward
sequence is the last interval in the sequence variable.
- The list of unperformed interval variables.
Furthermore, if all performed variables are ranked, then by
convention, the forward_sequence will contain all such variables
and the backward_sequence will be empty.
Definition at line 3585 of file pywrapcp.py.
Public Member Functions | |
| __init__ (self, *args, **kwargs) | |
| Var (self) | |
| ForwardSequence (self) | |
| BackwardSequence (self) | |
| Unperformed (self) | |
| SetSequence (self, forward_sequence, backward_sequence, unperformed) | |
| SetForwardSequence (self, forward_sequence) | |
| SetBackwardSequence (self, backward_sequence) | |
| SetUnperformed (self, unperformed) | |
| __eq__ (self, element) | |
| __ne__ (self, element) | |
| Public Member Functions inherited from ortools.constraint_solver.pywrapcp.AssignmentElement | |
| __init__ (self, *args, **kwargs) | |
| Activate (self) | |
| Deactivate (self) | |
| Activated (self) | |
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.AssignmentElement | |
| thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag") | |
| ortools.constraint_solver.pywrapcp.SequenceVarElement.__init__ | ( | self, | |
| * | args, | ||
| ** | kwargs ) |
Definition at line 3604 of file pywrapcp.py.
| ortools.constraint_solver.pywrapcp.SequenceVarElement.__eq__ | ( | self, | |
| element ) |
Definition at line 3632 of file pywrapcp.py.
| ortools.constraint_solver.pywrapcp.SequenceVarElement.__ne__ | ( | self, | |
| element ) |
Definition at line 3635 of file pywrapcp.py.
| ortools.constraint_solver.pywrapcp.SequenceVarElement.BackwardSequence | ( | self | ) |
Definition at line 3614 of file pywrapcp.py.
| ortools.constraint_solver.pywrapcp.SequenceVarElement.ForwardSequence | ( | self | ) |
Definition at line 3611 of file pywrapcp.py.
| ortools.constraint_solver.pywrapcp.SequenceVarElement.SetBackwardSequence | ( | self, | |
| backward_sequence ) |
Definition at line 3626 of file pywrapcp.py.
| ortools.constraint_solver.pywrapcp.SequenceVarElement.SetForwardSequence | ( | self, | |
| forward_sequence ) |
Definition at line 3623 of file pywrapcp.py.
| ortools.constraint_solver.pywrapcp.SequenceVarElement.SetSequence | ( | self, | |
| forward_sequence, | |||
| backward_sequence, | |||
| unperformed ) |
Definition at line 3620 of file pywrapcp.py.
| ortools.constraint_solver.pywrapcp.SequenceVarElement.SetUnperformed | ( | self, | |
| unperformed ) |
Definition at line 3629 of file pywrapcp.py.
| ortools.constraint_solver.pywrapcp.SequenceVarElement.Unperformed | ( | self | ) |
Definition at line 3617 of file pywrapcp.py.
| ortools.constraint_solver.pywrapcp.SequenceVarElement.Var | ( | self | ) |
Definition at line 3608 of file pywrapcp.py.
|
static |
Definition at line 3602 of file pywrapcp.py.