Generated on: Thu Mar 29 07:46:58 PDT 2012 for custom file set | ||
|
||
// doxy/ or-tools/ src/ constraint_solver/ |
Public Member Functions | |
FastOnePathBuilder (RoutingModel *const model, ResultCallback2< int64, int64, int64 > *evaluator) | |
Takes ownership of evaluator. | |
virtual | ~FastOnePathBuilder () |
virtual Decision * | Next (Solver *const solver) |
This is the main method of the decision builder class. |
Is very fast but has a very high probability of failing if the problem contains other constraints than path-related constraints. Based on an addition heuristics extending a path from its start node with the cheapest arc according to an evaluator.
Definition at line 1172 of file routing.cc.
operations_research::FastOnePathBuilder::FastOnePathBuilder | ( | RoutingModel *const | model, | |
ResultCallback2< int64, int64, int64 > * | evaluator | |||
) | [inline] |
virtual operations_research::FastOnePathBuilder::~FastOnePathBuilder | ( | ) | [inline, virtual] |
Definition at line 1180 of file routing.cc.
virtual Decision* operations_research::FastOnePathBuilder::Next | ( | Solver *const | s | ) | [inline, virtual] |
This is the main method of the decision builder class.
It must return a decision (an instance of the class Decision). If it returns NULL, this means that the decision builder has finished its work.
Implements operations_research::DecisionBuilder.
Definition at line 1181 of file routing.cc.