Generated on: Thu Mar 29 07:46:58 PDT 2012 for custom file set | ||
|
||
// doxy/ or-tools/ src/ constraint_solver/ |
#include <constraint_solveri.h>
Public Member Functions | |
virtual | ~DependencyGraph () |
Dependency Graph internal API. | |
void | AddStartsAfterEndWithDelay (IntervalVar *const left, IntervalVar *const right, int64 delay) |
start(left) >= end(right) + delay. | |
void | AddStartsAtEndWithDelay (IntervalVar *const left, IntervalVar *const right, int64 delay) |
start(left) == end(right) + delay. | |
void | AddStartsAfterStartWithDelay (IntervalVar *const left, IntervalVar *const right, int64 delay) |
start(left) >= start(right) + delay. | |
void | AddStartsAtStartWithDelay (IntervalVar *const left, IntervalVar *const right, int64 delay) |
start(left) == start(right) + delay. | |
DependencyGraphNode * | BuildStartNode (IntervalVar *const var) |
Internal API. | |
virtual void | AddEquality (DependencyGraphNode *const left, DependencyGraphNode *const right, int64 offset)=0 |
Adds left == right + offset. | |
virtual void | AddInequality (DependencyGraphNode *const left, DependencyGraphNode *const right, int64 offset)=0 |
Adds left >= right + offset. | |
virtual void | Enqueue (DependencyGraphNode *const node, bool applied_to_min_or_max)=0 |
Tell the graph that this node has changed. |
Definition at line 1575 of file constraint_solveri.h.
operations_research::DependencyGraph::~DependencyGraph | ( | ) | [virtual] |
void operations_research::DependencyGraph::AddStartsAfterEndWithDelay | ( | IntervalVar *const | left, | |
IntervalVar *const | right, | |||
int64 | delay | |||
) |
start(left) >= end(right) + delay.
External API.
Definition at line 299 of file dependency_graph.cc.
void operations_research::DependencyGraph::AddStartsAtEndWithDelay | ( | IntervalVar *const | left, | |
IntervalVar *const | right, | |||
int64 | delay | |||
) |
void operations_research::DependencyGraph::AddStartsAfterStartWithDelay | ( | IntervalVar *const | left, | |
IntervalVar *const | right, | |||
int64 | delay | |||
) |
void operations_research::DependencyGraph::AddStartsAtStartWithDelay | ( | IntervalVar *const | left, | |
IntervalVar *const | right, | |||
int64 | delay | |||
) |
DependencyGraphNode * operations_research::DependencyGraph::BuildStartNode | ( | IntervalVar *const | var | ) |
Internal API.
Factory to create a node from an interval var. This node is attached to the start of the interval var.
Definition at line 284 of file dependency_graph.cc.
virtual void operations_research::DependencyGraph::AddEquality | ( | DependencyGraphNode *const | left, | |
DependencyGraphNode *const | right, | |||
int64 | offset | |||
) | [pure virtual] |
Adds left == right + offset.
virtual void operations_research::DependencyGraph::AddInequality | ( | DependencyGraphNode *const | left, | |
DependencyGraphNode *const | right, | |||
int64 | offset | |||
) | [pure virtual] |
Adds left >= right + offset.
virtual void operations_research::DependencyGraph::Enqueue | ( | DependencyGraphNode *const | node, | |
bool | applied_to_min_or_max | |||
) | [pure virtual] |
Tell the graph that this node has changed.
If applied_to_min_or_max is true, the min has changed. If applied_to_min_or_max is false, the max has changed.