Changeset 1218:5331168bbb18 in lemon-0.x for src/test
- Timestamp:
- 03/16/05 08:56:25 (20 years ago)
- Branch:
- default
- Phase:
- public
- Convert:
- svn:c9d7d8f5-90d6-0310-b91f-818b3a526b0e/lemon/trunk@1638
- Location:
- src/test
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
src/test/bfs_test.cc
r1164 r1218 43 43 BType::DistMap d(G); 44 44 BType::PredMap p(G); 45 BType::PredNodeMap pn(G);45 // BType::PredNodeMap pn(G); 46 46 47 47 BType bfs_test(G); … … 54 54 d = bfs_test.distMap(); 55 55 p = bfs_test.predMap(); 56 pn = bfs_test.predNodeMap();56 // pn = bfs_test.predNodeMap(); 57 57 b = bfs_test.reached(n); 58 58 -
src/test/dfs_test.cc
r1164 r1218 43 43 DType::DistMap d(G); 44 44 DType::PredMap p(G); 45 DType::PredNodeMap pn(G);45 // DType::PredNodeMap pn(G); 46 46 47 47 DType dfs_test(G); … … 54 54 d = dfs_test.distMap(); 55 55 p = dfs_test.predMap(); 56 pn = dfs_test.predNodeMap();56 // pn = dfs_test.predNodeMap(); 57 57 b = dfs_test.reached(n); 58 58 -
src/test/dijkstra_test.cc
r1164 r1218 120 120 121 121 { 122 NullMap<Node, Node> myPredNodeMap;123 dijkstra(G,cap).pred NodeMap(myPredNodeMap).run(s);122 NullMap<Node,Edge> myPredMap; 123 dijkstra(G,cap).predMap(myPredMap).run(s); 124 124 } 125 125 return 0;
Note: See TracChangeset
for help on using the changeset viewer.