Changeset 1148:1eea022c7a16 in lemon-0.x for src/test
- Timestamp:
- 02/15/05 15:58:32 (20 years ago)
- Branch:
- default
- Phase:
- public
- Convert:
- svn:c9d7d8f5-90d6-0310-b91f-818b3a526b0e/lemon/trunk@1549
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/test/dijkstra_test.cc
r986 r1148 18 18 #include <lemon/smart_graph.h> 19 19 #include <lemon/dijkstra.h> 20 #include <lemon/maps.h> 20 21 #include <lemon/concept/graph.h> 21 22 #include <lemon/concept/maps.h> … … 45 46 DType::DistMap d(G); 46 47 DType::PredMap p(G); 47 DType::PredNodeMap pn(G);48 // DType::PredNodeMap pn(G); 48 49 LengthMap cap; 49 50 … … 57 58 d = dijkstra_test.distMap(); 58 59 p = dijkstra_test.predMap(); 59 pn = dijkstra_test.predNodeMap();60 // pn = dijkstra_test.predNodeMap(); 60 61 b = dijkstra_test.reached(n); 61 62 62 63 } 63 64 … … 116 117 } 117 118 } 119 120 121 { 122 NullMap<Node,Node> myPredNodeMap; 123 dijkstra(G,cap).predNodeMap(myPredNodeMap).run(s); 124 } 125 return 0; 118 126 } 119
Note: See TracChangeset
for help on using the changeset viewer.