Changeset 629:6620dfc606af in lemon-0.x for src/work/marci/max_flow_1.cc
- Timestamp:
- 05/13/04 12:29:13 (21 years ago)
- Branch:
- default
- Phase:
- public
- Convert:
- svn:c9d7d8f5-90d6-0310-b91f-818b3a526b0e/lemon/trunk@820
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/work/marci/max_flow_1.cc
r615 r629 42 42 FOR_EACH_LOC(Graph::EdgeIt, e, g) flow.set(e, 0); 43 43 ts.reset(); 44 max_flow_test.preflowPhase 0(MaxFlow<Graph, int, Graph::EdgeMap<int>, Graph::EdgeMap<int> >::ZERO_FLOW);44 max_flow_test.preflowPhase1(MaxFlow<Graph, int, Graph::EdgeMap<int>, Graph::EdgeMap<int> >::ZERO_FLOW); 45 45 std::cout << "elapsed time: " << ts << std::endl; 46 46 std::cout << "flow value: "<< max_flow_test.flowValue() << std::endl; … … 51 51 FOR_EACH_LOC(Graph::EdgeIt, e, g) flow.set(e, 0); 52 52 ts.reset(); 53 max_flow_test.preflowPhase 0(MaxFlow<Graph, int, Graph::EdgeMap<int>, Graph::EdgeMap<int> >::ZERO_FLOW);53 max_flow_test.preflowPhase1(MaxFlow<Graph, int, Graph::EdgeMap<int>, Graph::EdgeMap<int> >::ZERO_FLOW); 54 54 std::cout << "elapsed time: " << ts << std::endl; 55 55 std::cout << "flow value: "<< max_flow_test.flowValue() << std::endl;
Note: See TracChangeset
for help on using the changeset viewer.