Changeset 793:9cd0aeea47b0 in lemon-0.x for src/test/dijkstra_test.cc
- Timestamp:
- 09/03/04 11:41:50 (20 years ago)
- Branch:
- default
- Phase:
- public
- Convert:
- svn:c9d7d8f5-90d6-0310-b91f-818b3a526b0e/lemon/trunk@1087
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/test/dijkstra_test.cc
r780 r793 2 2 #include <hugo/smart_graph.h> 3 3 #include <hugo/dijkstra.h> 4 4 #include<hugo/skeletons/graph.h> 5 #include<hugo/skeletons/maps.h> 5 6 using namespace hugo; 6 7 … … 8 9 9 10 10 void check_Dijkstra_ SmartGraph_BinHeap_Compile()11 void check_Dijkstra_BinHeap_Compile() 11 12 { 12 13 typedef int VType; 13 typedef SmartGraphGraph;14 typedef skeleton::StaticGraphSkeleton Graph; 14 15 15 16 typedef Graph::Edge Edge; … … 17 18 typedef Graph::EdgeIt EdgeIt; 18 19 typedef Graph::NodeIt NodeIt; 19 typedef Graph::EdgeMap<VType> LengthMap;20 typedef skeleton::ReadMap<Edge,VType> LengthMap; 20 21 21 22 typedef Dijkstra<Graph, LengthMap> DType; … … 29 30 DType::PredMap p(G); 30 31 DType::PredNodeMap pn(G); 31 LengthMap cap (G);32 LengthMap cap; 32 33 33 34 DType dijkstra_test(G,cap);
Note: See TracChangeset
for help on using the changeset viewer.