[Lemon-commits] [lemon_svn] jacint: r820 - hugo/trunk/src/work/marci

Lemon SVN svn at lemon.cs.elte.hu
Mon Nov 6 20:41:40 CET 2006


Author: jacint
Date: Thu May 13 12:29:13 2004
New Revision: 820

Modified:
   hugo/trunk/src/work/marci/max_flow_1.cc

Log:
max_flow interface changes

Modified: hugo/trunk/src/work/marci/max_flow_1.cc
==============================================================================
--- hugo/trunk/src/work/marci/max_flow_1.cc	(original)
+++ hugo/trunk/src/work/marci/max_flow_1.cc	Thu May 13 12:29:13 2004
@@ -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, int, Graph::EdgeMap<int>, Graph::EdgeMap<int> >::ZERO_FLOW);
+    max_flow_test.preflowPhase1(MaxFlow<Graph, int, Graph::EdgeMap<int>, Graph::EdgeMap<int> >::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, int, Graph::EdgeMap<int>, Graph::EdgeMap<int> >::ZERO_FLOW);
+    max_flow_test.preflowPhase1(MaxFlow<Graph, int, Graph::EdgeMap<int>, Graph::EdgeMap<int> >::ZERO_FLOW);
     std::cout << "elapsed time: " << ts << std::endl;
     std::cout << "flow value: "<< max_flow_test.flowValue() << std::endl;
   }



More information about the Lemon-commits mailing list