Index: src/work/marci/edmonds_karp_demo.cc
===================================================================
--- src/work/marci/edmonds_karp_demo.cc	(revision 133)
+++ src/work/marci/edmonds_karp_demo.cc	(revision 138)
@@ -27,5 +27,6 @@
   MaxFlow<ListGraph, int, ListGraph::EdgeMap<int>, ListGraph::EdgeMap<int> > max_flow_test(G, s, t, flow, cap);
   //max_flow_test.augmentWithBlockingFlow<ListGraph>();
-  max_flow_test.run<ListGraph>();
+  int i=0;
+  while (max_flow_test.augmentOnBlockingFlow<ListGraph>()) { ++i; }
   double post_time=currTime();
 
@@ -36,4 +37,5 @@
   //std::cout<<std::endl;
   std::cout << "elapsed time: " << post_time-pre_time << " sec"<< std::endl; 
+  std::cout << "number of augmentation phases: " << i << std::endl; 
   std::cout << "flow value: "<< max_flow_test.flowValue() << std::endl;
   }
@@ -46,5 +48,6 @@
   MaxFlow<ListGraph, int, ListGraph::EdgeMap<int>, ListGraph::EdgeMap<int> > max_flow_test(G, s, t, flow, cap);
   //max_flow_test.augmentWithBlockingFlow<ListGraph>();
-  max_flow_test.run();
+  int i=0;
+  while (max_flow_test.augmentOnShortestPath()) { ++i; }
   double post_time=currTime();
 
@@ -55,4 +58,5 @@
   //std::cout<<std::endl;
   std::cout << "elapsed time: " << post_time-pre_time << " sec"<< std::endl; 
+  std::cout << "number of augmentation phases: " << i << std::endl; 
   std::cout << "flow value: "<< max_flow_test.flowValue() << std::endl;
   }
