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

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

Detailed Description

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 3350 of file pywrapcp.py.

Constructor & Destructor Documentation

◆ __init__()

ortools.constraint_solver.pywrapcp.SequenceVarElement.__init__ ( self,
* args,
** kwargs )

Reimplemented from ortools.constraint_solver.pywrapcp.AssignmentElement.

Definition at line 3369 of file pywrapcp.py.

Member Function Documentation

◆ __eq__()

ortools.constraint_solver.pywrapcp.SequenceVarElement.__eq__ ( self,
element )

Definition at line 3397 of file pywrapcp.py.

◆ __ne__()

ortools.constraint_solver.pywrapcp.SequenceVarElement.__ne__ ( self,
element )

Definition at line 3400 of file pywrapcp.py.

◆ BackwardSequence()

ortools.constraint_solver.pywrapcp.SequenceVarElement.BackwardSequence ( self)

Definition at line 3379 of file pywrapcp.py.

◆ ForwardSequence()

ortools.constraint_solver.pywrapcp.SequenceVarElement.ForwardSequence ( self)

Definition at line 3376 of file pywrapcp.py.

◆ SetBackwardSequence()

ortools.constraint_solver.pywrapcp.SequenceVarElement.SetBackwardSequence ( self,
backward_sequence )

Definition at line 3391 of file pywrapcp.py.

◆ SetForwardSequence()

ortools.constraint_solver.pywrapcp.SequenceVarElement.SetForwardSequence ( self,
forward_sequence )

Definition at line 3388 of file pywrapcp.py.

◆ SetSequence()

ortools.constraint_solver.pywrapcp.SequenceVarElement.SetSequence ( self,
forward_sequence,
backward_sequence,
unperformed )

Definition at line 3385 of file pywrapcp.py.

◆ SetUnperformed()

ortools.constraint_solver.pywrapcp.SequenceVarElement.SetUnperformed ( self,
unperformed )

Definition at line 3394 of file pywrapcp.py.

◆ Unperformed()

ortools.constraint_solver.pywrapcp.SequenceVarElement.Unperformed ( self)

Definition at line 3382 of file pywrapcp.py.

◆ Var()

ortools.constraint_solver.pywrapcp.SequenceVarElement.Var ( self)

Definition at line 3373 of file pywrapcp.py.

Property Documentation

◆ thisown

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

Definition at line 3367 of file pywrapcp.py.


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