src/work/marci_graph_demo.cc
changeset 73 1b4a25e49222
parent 60 89d2ce014e12
child 75 87623302a68f
equal deleted inserted replaced
4:62967e4c6d37 5:8f347d0f0839
   229   std::cout << "maximum flow: "<< std::endl;
   229   std::cout << "maximum flow: "<< std::endl;
   230   for(EachEdgeIt e=flowG.template first<EachEdgeIt>(); e.valid(); ++e) { 
   230   for(EachEdgeIt e=flowG.template first<EachEdgeIt>(); e.valid(); ++e) { 
   231     std::cout<<"("<<flowG.tail(e)<< "-"<<flow.get(e)<<"->"<<flowG.head(e)<<") ";
   231     std::cout<<"("<<flowG.tail(e)<< "-"<<flow.get(e)<<"->"<<flowG.head(e)<<") ";
   232   }
   232   }
   233   std::cout<<std::endl;
   233   std::cout<<std::endl;
       
   234   std::cout << "flow value: "<< max_flow_test.flowValue() << std::endl;
   234 
   235 
   235   return 0;
   236   return 0;
   236 }
   237 }