C++ Reference: class SequenceVarElement

This documentation is automatically generated.

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.
Method
BackwardSequence

Return type: const std::vector<int>&

Bound

Return type: bool

Clone

Return type: SequenceVarElement*

Copy

Return type: void

Arguments: const SequenceVarElement& element

DebugString

Return type: std::string

ForwardSequence

Return type: const std::vector<int>&

LoadFromProto

Return type: void

Arguments: const SequenceVarAssignment& sequence_var_assignment_proto

Reset

Return type: void

Arguments: SequenceVar* const var

Restore

Return type: void

SequenceVarElement

SequenceVarElement

Return type: explicit

Arguments: SequenceVar* const var

SetBackwardSequence

Return type: void

Arguments: const std::vector<int>& backward_sequence

SetForwardSequence

Return type: void

Arguments: const std::vector<int>& forward_sequence

SetSequence

Return type: void

Arguments: const std::vector<int>& forward_sequence, const std::vector<int>& backward_sequence, const std::vector<int>& unperformed

SetUnperformed

Return type: void

Arguments: const std::vector<int>& unperformed

Store

Return type: void

Unperformed

Return type: const std::vector<int>&

Var

Return type: SequenceVar*

WriteToProto

Return type: void

Arguments: SequenceVarAssignment* sequence_var_assignment_proto