src/work/marci/max_flow_1.cc
changeset 629 6620dfc606af
parent 615 b6b31b75b522
child 640 d426dca0aaf7
     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    }