Changeset 433:d9fac1497298 in lemon0.x for src/include/dijkstra.h
 Timestamp:
 04/27/04 10:19:39 (20 years ago)
 Branch:
 default
 Phase:
 public
 Convert:
 svn:c9d7d8f590d60310b91f818b3a526b0e/lemon/trunk@580
 File:

 1 edited
Legend:
 Unmodified
 Added
 Removed

src/include/dijkstra.h
r430 r433 44 44 #else 45 45 template <typename Graph, 46 typename LengthMap=typename Graph:: EdgeMap<int>,46 typename LengthMap=typename Graph::template EdgeMap<int>, 47 47 template <class,class,class> class Heap = BinHeap > 48 48 #endif … … 55 55 56 56 typedef typename LengthMap::ValueType ValueType; 57 typedef typename Graph:: NodeMap<Edge> PredMap;58 typedef typename Graph:: NodeMap<Node> PredNodeMap;59 typedef typename Graph:: NodeMap<ValueType> DistMap;57 typedef typename Graph::template NodeMap<Edge> PredMap; 58 typedef typename Graph::template NodeMap<Node> PredNodeMap; 59 typedef typename Graph::template NodeMap<ValueType> DistMap; 60 60 61 61 private: … … 155 155 } 156 156 157 typename Graph::NodeMap<int> heap_map(G,1); 158 159 Heap<Node,ValueType,typename Graph::NodeMap<int> > heap(heap_map); 157 typename Graph::template NodeMap<int> heap_map(G,1); 158 159 Heap<Node, ValueType, typename Graph::template NodeMap<int> > 160 heap(heap_map); 160 161 161 162 heap.push(s,0);
Note: See TracChangeset
for help on using the changeset viewer.