Default traits class of Dijkstra class.
| GR | The type of the digraph. |
| LEN | The type of the length map. |
#include <lemon/dijkstra.h>
Public Types | |
| typedef GR | Digraph |
| The type of the digraph the algorithm runs on. | |
| typedef LEN | LengthMap |
| The type of the map that stores the arc lengths. More... | |
| typedef LEN::Value | Value |
| The type of the arc lengths. | |
| typedef DijkstraDefaultOperationTraits < Value > | OperationTraits |
| Operation traits for Dijkstra algorithm. More... | |
| typedef Digraph::template NodeMap< int > | HeapCrossRef |
| The cross reference type used by the heap. More... | |
| typedef BinHeap< typename LEN::Value, HeapCrossRef, std::less< Value > > | Heap |
| The heap type used by the Dijkstra algorithm. More... | |
| typedef Digraph::template NodeMap< typename Digraph::Arc > | PredMap |
| The type of the map that stores the predecessor arcs of the shortest paths. More... | |
| typedef NullMap< typename Digraph::Node, bool > | ProcessedMap |
| The type of the map that indicates which nodes are processed. More... | |
| typedef Digraph::template NodeMap< typename LEN::Value > | DistMap |
| The type of the map that stores the distances of the nodes. More... | |
Static Public Member Functions | |
| static HeapCrossRef * | createHeapCrossRef (const Digraph &g) |
Instantiates a HeapCrossRef. More... | |
| static Heap * | createHeap (HeapCrossRef &r) |
Instantiates a Heap. More... | |
| static PredMap * | createPredMap (const Digraph &g) |
Instantiates a PredMap. More... | |
| static ProcessedMap * | createProcessedMap (const Digraph &g) |
Instantiates a ProcessedMap. More... | |
| static DistMap * | createDistMap (const Digraph &g) |
Instantiates a DistMap. More... | |
| typedef LEN LengthMap |
The type of the map that stores the arc lengths. It must conform to the ReadMap concept.
This class defines the operations that are used in the algorithm.
| typedef Digraph::template NodeMap<int> HeapCrossRef |
The cross reference type used by the heap. Usually it is Digraph::NodeMap<int>.
| typedef BinHeap<typename LEN::Value, HeapCrossRef, std::less<Value> > Heap |
| typedef Digraph::template NodeMap<typename Digraph::Arc> PredMap |
The type of the map that stores the predecessor arcs of the shortest paths. It must conform to the WriteMap concept.
| typedef NullMap<typename Digraph::Node,bool> ProcessedMap |
| typedef Digraph::template NodeMap<typename LEN::Value> DistMap |
The type of the map that stores the distances of the nodes. It must conform to the WriteMap concept.
|
inlinestatic |
This function instantiates a HeapCrossRef.
| g | is the digraph, to which we would like to define the HeapCrossRef. |
|
inlinestatic |
This function instantiates a Heap.
|
inlinestatic |
This function instantiates a ProcessedMap.
| g | is the digraph, to which we would like to define the ProcessedMap. |
1.8.5