Detailed DescriptionDefinitions for Disjkstra's shortest path algorithm. Definition in file dijkstra.h. Go to the source code of this file.
Macro Definition Documentation
type used for boolean values Definition at line 31 of file dijkstra.h.
boolean value TRUE Definition at line 34 of file dijkstra.h.
boolean value FALSE Definition at line 35 of file dijkstra.h.
node has distance 'infinity' Definition at line 38 of file dijkstra.h. Referenced by dijkstra(), dijkstraPair(), dijkstraPairCutoff(), dijkstraPairCutoffIgnore(), and separateGLS().
node is unused Definition at line 39 of file dijkstra.h. Referenced by checkArraySizesGLS(), dijkstra(), dijkstraGraphIsValid(), dijkstraPair(), dijkstraPairCutoff(), dijkstraPairCutoffIgnore(), separateGLS(), and separateHeur(). Typedef Documentation
graph structure - use consecutive storage for arcs Definition at line 56 of file dijkstra.h. Function Documentation
Check whether the data structures of the graph are valid.
Definition at line 32 of file dijkstra.c. References DIJKSTRA_Graph::arcs, DIJKSTRA_UNUSED, DIJKSTRA_Graph::head, DIJKSTRA_Graph::maxweight, DIJKSTRA_Graph::minweight, DIJKSTRA_Graph::nodes, NULL, DIJKSTRA_Graph::outbeg, DIJKSTRA_Graph::outcnt, TRUE, and DIJKSTRA_Graph::weight. Referenced by dijkstra(), dijkstraPair(), dijkstraPairCutoff(), dijkstraPairCutoffIgnore(), and separateGLS().
Dijkstra's algorithm using binary heaps Dijkstra's algorithm for shortest paths from a single source using binary heaps
Definition at line 180 of file dijkstra.c. References DIJKSTRA_FARAWAY, DIJKSTRA_UNUSED, dijkstraGraphIsValid(), dijkstraHeapIsValid(), dijkstraSiftDown(), dijkstraSiftUp(), DIJKSTRA_Graph::head, DIJKSTRA_Graph::nodes, NULL, DIJKSTRA_Graph::outbeg, and DIJKSTRA_Graph::weight.
Dijkstra's algorithm for shortest paths between a pair of nodes using binary heaps
Definition at line 280 of file dijkstra.c. References DIJKSTRA_FARAWAY, DIJKSTRA_UNUSED, dijkstraGraphIsValid(), dijkstraHeapIsValid(), dijkstraSiftDown(), dijkstraSiftUp(), DIJKSTRA_Graph::head, DIJKSTRA_Graph::nodes, NULL, DIJKSTRA_Graph::outbeg, and DIJKSTRA_Graph::weight.
Dijkstra's algorithm for shortest paths between a pair of nodes using binary heaps and truncated at cutoff
Definition at line 386 of file dijkstra.c. References DIJKSTRA_FARAWAY, DIJKSTRA_UNUSED, dijkstraGraphIsValid(), dijkstraHeapIsValid(), dijkstraSiftDown(), dijkstraSiftUp(), DIJKSTRA_Graph::head, DIJKSTRA_Graph::nodes, NULL, DIJKSTRA_Graph::outbeg, and DIJKSTRA_Graph::weight. Referenced by separateGLS().
Dijkstra's algorithm for shortest paths between a pair of nodes ignoring nodes, using binary heaps, and truncated at cutoff
Definition at line 497 of file dijkstra.c. References DIJKSTRA_FARAWAY, DIJKSTRA_UNUSED, dijkstraGraphIsValid(), dijkstraHeapIsValid(), dijkstraSiftDown(), dijkstraSiftUp(), DIJKSTRA_Graph::head, DIJKSTRA_Graph::nodes, NULL, DIJKSTRA_Graph::outbeg, and DIJKSTRA_Graph::weight. Referenced by separateGLS(). |