The SequenceVarElement stores a partial representation of ranked interval variables in the underlying sequence variable.
This representation consists of three vectors:
Definition at line 4711 of file constraint_solver.h.
Public Member Functions | |
| SequenceVarElement () | |
| SequenceVarElement (SequenceVar *const var) | |
| void | Reset (SequenceVar *const var) |
| SequenceVarElement * | Clone () |
| void | Copy (const SequenceVarElement &element) |
| SequenceVar * | Var () const |
| void | Store () |
| void | Restore () |
| void | LoadFromProto (const SequenceVarAssignment &sequence_var_assignment_proto) |
| void | WriteToProto (SequenceVarAssignment *sequence_var_assignment_proto) const |
| const std::vector< int > & | ForwardSequence () const |
| const std::vector< int > & | BackwardSequence () const |
| const std::vector< int > & | Unperformed () const |
| void | SetSequence (const std::vector< int > &forward_sequence, const std::vector< int > &backward_sequence, const std::vector< int > &unperformed) |
| void | SetForwardSequence (const std::vector< int > &forward_sequence) |
| void | SetBackwardSequence (const std::vector< int > &backward_sequence) |
| void | SetUnperformed (const std::vector< int > &unperformed) |
| bool | Bound () const |
| std::string | DebugString () const |
| bool | operator== (const SequenceVarElement &element) const |
| bool | operator!= (const SequenceVarElement &element) const |
| void | Activate () |
| void | Deactivate () |
| bool | Activated () const |
| operations_research::SequenceVarElement::SequenceVarElement | ( | ) |
|
explicit |
|
inlineinherited |
Definition at line 4539 of file constraint_solver.h.
|
inlineinherited |
Definition at line 4541 of file constraint_solver.h.
| const std::vector<int>& operations_research::SequenceVarElement::BackwardSequence | ( | ) | const |
|
inline |
Definition at line 4734 of file constraint_solver.h.
| SequenceVarElement* operations_research::SequenceVarElement::Clone | ( | ) |
| void operations_research::SequenceVarElement::Copy | ( | const SequenceVarElement & | element | ) |
|
inlineinherited |
Definition at line 4540 of file constraint_solver.h.
| std::string operations_research::SequenceVarElement::DebugString | ( | ) | const |
| const std::vector<int>& operations_research::SequenceVarElement::ForwardSequence | ( | ) | const |
| void operations_research::SequenceVarElement::LoadFromProto | ( | const SequenceVarAssignment & | sequence_var_assignment_proto | ) |
|
inline |
Definition at line 4741 of file constraint_solver.h.
| bool operations_research::SequenceVarElement::operator== | ( | const SequenceVarElement & | element | ) | const |
| void operations_research::SequenceVarElement::Reset | ( | SequenceVar *const | var | ) |
| void operations_research::SequenceVarElement::Restore | ( | ) |
| void operations_research::SequenceVarElement::SetBackwardSequence | ( | const std::vector< int > & | backward_sequence | ) |
| void operations_research::SequenceVarElement::SetForwardSequence | ( | const std::vector< int > & | forward_sequence | ) |
| void operations_research::SequenceVarElement::SetSequence | ( | const std::vector< int > & | forward_sequence, |
| const std::vector< int > & | backward_sequence, | ||
| const std::vector< int > & | unperformed | ||
| ) |
| void operations_research::SequenceVarElement::SetUnperformed | ( | const std::vector< int > & | unperformed | ) |
| void operations_research::SequenceVarElement::Store | ( | ) |
| const std::vector<int>& operations_research::SequenceVarElement::Unperformed | ( | ) | const |
|
inline |
Definition at line 4718 of file constraint_solver.h.
| void operations_research::SequenceVarElement::WriteToProto | ( | SequenceVarAssignment * | sequence_var_assignment_proto | ) | const |