Changeset 577:e8703f0a6e2f in lemon-0.x for src/work/marci/top_sort_test.cc
- Timestamp:
- 05/07/04 13:57:34 (20 years ago)
- Branch:
- default
- Phase:
- public
- Convert:
- svn:c9d7d8f5-90d6-0310-b91f-818b3a526b0e/lemon/trunk@753
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/work/marci/top_sort_test.cc
r557 r577 8 8 #include <list_graph.h> 9 9 #include <hugo/graph_wrapper.h> 10 #include <hugo/maps.h> 10 11 11 12 using namespace hugo; … … 17 18 { 18 19 std::list<Graph::Node> l; 19 topSort(g, l); 20 NullMap<Graph::Node, Graph::Edge> pred; 21 topSort(g, l, pred); 20 22 std::cout << "Leaving order of dfs which is pretopological..." << std::endl; 21 23 for(std::list<Graph::Node>::const_iterator i=l.begin(); i!=l.end(); ++i) { … … 29 31 GW gw(g); 30 32 std::list<GW::Node> l; 31 topSort(gw, l); 33 NullMap<GW::Node, GW::Edge> pred; 34 topSort(gw, l, pred); 32 35 std::cout << "Same in the revered oriented graph..." << std::endl; 33 36 for(std::list<GW::Node>::const_iterator i=l.begin(); i!=l.end(); ++i) {
Note: See TracChangeset
for help on using the changeset viewer.