# HG changeset patch # User jacint # Date 1084444153 0 # Node ID 6620dfc606afa2986d3aa1df5cbfc03d289f0569 # Parent a3a53d7cedc28943e9f5ab3875372f03dba0a2de max_flow interface changes diff -r a3a53d7cedc2 -r 6620dfc606af src/work/marci/max_flow_1.cc --- a/src/work/marci/max_flow_1.cc Thu May 13 09:56:21 2004 +0000 +++ b/src/work/marci/max_flow_1.cc Thu May 13 10:29:13 2004 +0000 @@ -41,7 +41,7 @@ std::cout << "preflow ..." << std::endl; FOR_EACH_LOC(Graph::EdgeIt, e, g) flow.set(e, 0); ts.reset(); - max_flow_test.preflowPhase0(MaxFlow, Graph::EdgeMap >::ZERO_FLOW); + max_flow_test.preflowPhase1(MaxFlow, Graph::EdgeMap >::ZERO_FLOW); std::cout << "elapsed time: " << ts << std::endl; std::cout << "flow value: "<< max_flow_test.flowValue() << std::endl; } @@ -50,7 +50,7 @@ std::cout << "preflow ..." << std::endl; FOR_EACH_LOC(Graph::EdgeIt, e, g) flow.set(e, 0); ts.reset(); - max_flow_test.preflowPhase0(MaxFlow, Graph::EdgeMap >::ZERO_FLOW); + max_flow_test.preflowPhase1(MaxFlow, Graph::EdgeMap >::ZERO_FLOW); std::cout << "elapsed time: " << ts << std::endl; std::cout << "flow value: "<< max_flow_test.flowValue() << std::endl; }