|
std::vector< Edge_ > | pathMatrix_ |
|
NodeDistMap | distances_ |
|
Graph | graph_ |
|
Index | _root |
|
Dijkstra's shortest path finding
◆ distance() [1/2]
double GIMLI::Dijkstra::distance |
( |
Index |
node | ) |
|
Distance to node to the last known root.
◆ distance() [2/2]
double GIMLI::Dijkstra::distance |
( |
Index |
root, |
|
|
Index |
node |
|
) |
| |
Distance from root to node.
◆ distances() [1/2]
RVector GIMLI::Dijkstra::distances |
( |
| ) |
const |
All distances from to last known root.
◆ distances() [2/2]
RVector GIMLI::Dijkstra::distances |
( |
Index |
root | ) |
|
◆ shortestPath()
IndexArray GIMLI::Dijkstra::shortestPath |
( |
Index |
start, |
|
|
Index |
end |
|
) |
| |
Get the shortest way from node index start to end.
◆ shortestPathTo() [1/2]
IndexArray GIMLI::Dijkstra::shortestPathTo |
( |
Index |
node | ) |
const |
Get the shortest way from root to node.
◆ shortestPathTo() [2/2]
void GIMLI::Dijkstra::shortestPathTo |
( |
Index |
node, |
|
|
IndexArray & |
way |
|
) |
| const |