Changeset 793:9cd0aeea47b0 in lemon-0.x for src/test/bfs_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/bfs_test.cc
r780 r793 2 2 #include <hugo/smart_graph.h> 3 3 #include <hugo/bfs.h> 4 #include<hugo/skeletons/graph.h> 4 5 5 6 using namespace hugo; … … 8 9 9 10 10 void check_Bfs_ SmartGraph_Compile()11 void check_Bfs_Compile() 11 12 { 12 typedef int VType; 13 typedef SmartGraph Graph; 13 typedef skeleton::StaticGraphSkeleton Graph; 14 14 15 15 typedef Graph::Edge Edge; … … 17 17 typedef Graph::EdgeIt EdgeIt; 18 18 typedef Graph::NodeIt NodeIt; 19 typedef Graph::EdgeMap<VType> LengthMap;20 19 21 20 typedef Bfs<Graph> BType; … … 24 23 Node n; 25 24 Edge e; 26 VTypel;25 int l; 27 26 bool b; 28 27 BType::DistMap d(G); 29 28 BType::PredMap p(G); 30 29 BType::PredNodeMap pn(G); 31 LengthMap cap(G);32 30 33 31 BType bfs_test(G);
Note: See TracChangeset
for help on using the changeset viewer.