max_flow interface changes
authorjacint
Thu, 13 May 2004 10:29:13 +0000
changeset 6296620dfc606af
parent 628 a3a53d7cedc2
child 630 9ea585de06ea
max_flow interface changes
src/work/marci/max_flow_1.cc
     1.1 --- a/src/work/marci/max_flow_1.cc	Thu May 13 09:56:21 2004 +0000
     1.2 +++ b/src/work/marci/max_flow_1.cc	Thu May 13 10:29:13 2004 +0000
     1.3 @@ -41,7 +41,7 @@
     1.4      std::cout << "preflow ..." << std::endl;
     1.5      FOR_EACH_LOC(Graph::EdgeIt, e, g) flow.set(e, 0);
     1.6      ts.reset();
     1.7 -    max_flow_test.preflowPhase0(MaxFlow<Graph, int, Graph::EdgeMap<int>, Graph::EdgeMap<int> >::ZERO_FLOW);
     1.8 +    max_flow_test.preflowPhase1(MaxFlow<Graph, int, Graph::EdgeMap<int>, Graph::EdgeMap<int> >::ZERO_FLOW);
     1.9      std::cout << "elapsed time: " << ts << std::endl;
    1.10      std::cout << "flow value: "<< max_flow_test.flowValue() << std::endl;
    1.11    }
    1.12 @@ -50,7 +50,7 @@
    1.13      std::cout << "preflow ..." << std::endl;
    1.14      FOR_EACH_LOC(Graph::EdgeIt, e, g) flow.set(e, 0);
    1.15      ts.reset();
    1.16 -    max_flow_test.preflowPhase0(MaxFlow<Graph, int, Graph::EdgeMap<int>, Graph::EdgeMap<int> >::ZERO_FLOW);
    1.17 +    max_flow_test.preflowPhase1(MaxFlow<Graph, int, Graph::EdgeMap<int>, Graph::EdgeMap<int> >::ZERO_FLOW);
    1.18      std::cout << "elapsed time: " << ts << std::endl;
    1.19      std::cout << "flow value: "<< max_flow_test.flowValue() << std::endl;
    1.20    }