Stay organized with collections
Save and categorize content based on your preferences.
C++ Reference: class SequenceVarElement
Note: 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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-08-06 UTC."],[[["The `SequenceVarElement` class in C++ stores a partial representation of ranked interval variables within a sequence variable using three vectors: forward sequence, backward sequence, and unperformed variables."],["The forward sequence lists interval variables ranked first, starting with the initial interval of the sequence variable."],["The backward sequence lists interval variables ranked last, starting with the final interval of the sequence variable."],["Unperformed interval variables are stored in a separate vector, and if all performed variables are ranked, the forward sequence contains them all, leaving the backward sequence empty."]]],["`SequenceVarElement` represents ranked interval variables within a sequence, using three vectors: `forward_sequence` (variables ranked first), `backward_sequence` (variables ranked last), and `unperformed` (unranked variables). Key actions include setting these sequences via `SetForwardSequence`, `SetBackwardSequence`, `SetUnperformed` or `SetSequence`, and retrieving them via `ForwardSequence`, `BackwardSequence`, and `Unperformed`. Methods allow copying (`Copy`), resetting (`Reset`), and managing data with protos (`LoadFromProto`, `WriteToProto`). Other methods include managing instances (`Clone`) and information (`DebugString`).\n"]]