Generated on: Thu Mar 29 07:46:58 PDT 2012 for custom file set | ||
|
||
// doxy/ or-tools/ src/ constraint_solver/ |
#include <constraint_solver.h>
Public Member Functions | |
SequenceVarElement () | |
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 SequenceVarAssignmentProto &sequence_var_assignment_proto) |
void | WriteToProto (SequenceVarAssignmentProto *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) |
string | DebugString () const |
bool | operator== (const SequenceVarElement &element) const |
bool | operator!= (const SequenceVarElement &element) const |
The sequence var element stores a partial representation of ranked interval variables in the underlying sequence variable. This representation consists of three vectors:
Definition at line 4470 of file constraint_solver.h.
operations_research::SequenceVarElement::SequenceVarElement | ( | ) |
operations_research::SequenceVarElement::SequenceVarElement | ( | SequenceVar *const | var | ) | [explicit] |
Definition at line 281 of file assignment.cc.
void operations_research::SequenceVarElement::Reset | ( | SequenceVar *const | var | ) |
Definition at line 285 of file assignment.cc.
SequenceVarElement * operations_research::SequenceVarElement::Clone | ( | ) |
Definition at line 292 of file assignment.cc.
void operations_research::SequenceVarElement::Copy | ( | const SequenceVarElement & | element | ) |
Definition at line 298 of file assignment.cc.
SequenceVar* operations_research::SequenceVarElement::Var | ( | ) | const [inline] |
Definition at line 4477 of file constraint_solver.h.
void operations_research::SequenceVarElement::Store | ( | ) |
Definition at line 310 of file assignment.cc.
void operations_research::SequenceVarElement::Restore | ( | ) |
Definition at line 314 of file assignment.cc.
void operations_research::SequenceVarElement::LoadFromProto | ( | const SequenceVarAssignmentProto & | sequence_var_assignment_proto | ) |
Definition at line 318 of file assignment.cc.
void operations_research::SequenceVarElement::WriteToProto | ( | SequenceVarAssignmentProto * | sequence_var_assignment_proto | ) | const |
Definition at line 346 of file assignment.cc.
const std::vector< int > & operations_research::SequenceVarElement::ForwardSequence | ( | ) | const |
Definition at line 389 of file assignment.cc.
const std::vector< int > & operations_research::SequenceVarElement::BackwardSequence | ( | ) | const |
Definition at line 393 of file assignment.cc.
const std::vector< int > & operations_research::SequenceVarElement::Unperformed | ( | ) | const |
Definition at line 397 of file assignment.cc.
void operations_research::SequenceVarElement::SetSequence | ( | const std::vector< int > & | forward_sequence, | |
const std::vector< int > & | backward_sequence, | |||
const std::vector< int > & | unperformed | |||
) |
Definition at line 401 of file assignment.cc.
void operations_research::SequenceVarElement::SetForwardSequence | ( | const std::vector< int > & | forward_sequence | ) |
Definition at line 410 of file assignment.cc.
void operations_research::SequenceVarElement::SetBackwardSequence | ( | const std::vector< int > & | backward_sequence | ) |
Definition at line 415 of file assignment.cc.
void operations_research::SequenceVarElement::SetUnperformed | ( | const std::vector< int > & | unperformed | ) |
Definition at line 420 of file assignment.cc.
string operations_research::SequenceVarElement::DebugString | ( | ) | const |
Definition at line 361 of file assignment.cc.
bool operations_research::SequenceVarElement::operator== | ( | const SequenceVarElement & | element | ) | const |
Definition at line 372 of file assignment.cc.
bool operations_research::SequenceVarElement::operator!= | ( | const SequenceVarElement & | element | ) | const [inline] |
Definition at line 4500 of file constraint_solver.h.