Changeset 374:0fc9cd9b854a in lemon-0.x for src/work/jacint/preflow.cc
- Timestamp:
- 04/22/04 17:56:05 (20 years ago)
- Branch:
- default
- Phase:
- public
- Convert:
- svn:c9d7d8f5-90d6-0310-b91f-818b3a526b0e/lemon/trunk@504
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/work/jacint/preflow.cc
r372 r374 25 25 26 26 Graph::EdgeMap<int> flow(G); 27 Preflow<Graph, int> max_flow_test(G, s, t, cap, flow, 1 );27 Preflow<Graph, int> max_flow_test(G, s, t, cap, flow, 1,1); 28 28 ts.reset(); 29 29 max_flow_test.run(); 30 std::cout << "elapsed time with res: " << ts << std::endl; 31 32 std::cout << "preflow demo ..." << std::endl; 33 34 Graph::EdgeMap<int> flow2(G); 35 Preflow<Graph, int> max_flow_test2(G, s, t, cap, flow, 1,0); 36 ts.reset(); 37 max_flow_test2.run(); 30 38 std::cout << "elapsed time: " << ts << std::endl; 31 39
Note: See TracChangeset
for help on using the changeset viewer.