Changeset 390:8dc830d3f9ef in lemon-0.x for src/work/marci
- Timestamp:
- 04/24/04 14:53:46 (21 years ago)
- Branch:
- default
- Phase:
- public
- Convert:
- svn:c9d7d8f5-90d6-0310-b91f-818b3a526b0e/lemon/trunk@521
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/work/marci/edmonds_karp_demo.cc
r389 r390 10 10 //#include <graph_wrapper.h> 11 11 #include <preflow.h> 12 #include <preflow proba.h>12 #include <preflow_res.h> 13 13 #include <for_each_macros.h> 14 14 … … 73 73 Preflow<Graph, int, Graph::EdgeMap<int>, Graph::EdgeMap<int> > 74 74 pre_flow_test(G, s, t, cap, flow, true); 75 Preflow Proba<Graph, int, Graph::EdgeMap<int>, Graph::EdgeMap<int> >76 pre_flow_ proba(G, s, t, cap, flow, true, true);75 PreflowRes<Graph, int, Graph::EdgeMap<int>, Graph::EdgeMap<int> > 76 pre_flow_res(G, s, t, cap, flow, true); 77 77 MaxFlow<Graph, int, Graph::EdgeMap<int>, Graph::EdgeMap<int> > 78 78 max_flow_test(G, s, t, cap, flow); … … 90 90 FOR_EACH_LOC(Graph::EdgeIt, e, G) flow.set(e, 0); 91 91 ts.reset(); 92 pre_flow_ proba.run();92 pre_flow_res.run(); 93 93 std::cout << "elapsed time: " << ts << std::endl; 94 94 std::cout << "flow value: "<< pre_flow_test.flowValue() << std::endl;
Note: See TracChangeset
for help on using the changeset viewer.