#include <lemon/csp.h>
Public Member Functions | |
ConstrainedShortestPath (const Graph &g, const CM &ct, const DM &dl) | |
Constructor. | |
double | cost (const Path &p) const |
Compute the cost of a path. | |
double | delay (const Path &p) const |
Compute the delay of a path. | |
Path | larac (Node s, Node t, double delta, double &lo_bo) |
Runs the LARAC algorithm. |
ConstrainedShortestPath | ( | const Graph & | g, | |
const CM & | ct, | |||
const DM & | dl | |||
) | [inline] |
Constructor
Path larac | ( | Node | s, | |
Node | t, | |||
double | delta, | |||
double & | lo_bo | |||
) | [inline] |
This function runs a Lagrange relaxation based heuristic to find a delay constrained least cost path.
s | source node | |
t | target node | |
delta | upper bound on the delta |
lo_bo | a lower bound on the optimal solution |