src/work/marci_graph_demo.cc
changeset 155 8c6292ec54c6
parent 133 0631992fe7a1
child 168 27fbd1559fb7
equal deleted inserted replaced
8:73f13ad81ea5 9:0fba37e90468
   243       std::cout<<"("<<flowG.tail(e)<< "-"<<flow.get(e)<<"->"<<flowG.head(e)<<") ";
   243       std::cout<<"("<<flowG.tail(e)<< "-"<<flow.get(e)<<"->"<<flowG.head(e)<<") ";
   244     }
   244     }
   245     std::cout<<std::endl;
   245     std::cout<<std::endl;
   246     std::cout << "flow value: "<< max_flow_test.flowValue() << std::endl;
   246     std::cout << "flow value: "<< max_flow_test.flowValue() << std::endl;
   247   }
   247   }
   248 
   248 /*
   249   {
   249   {
   250     std::list<NodeIt> S;
   250     std::list<NodeIt> S;
   251     S.push_back(s); S.push_back(v3);
   251     S.push_back(s); S.push_back(v3);
   252     std::list<NodeIt> T;
   252     std::list<NodeIt> T;
   253     T.push_back(t);
   253     T.push_back(t);
   261       std::cout<<"("<<flowG.tail(e)<< "-"<<flow.get(e)<<"->"<<flowG.head(e)<<") ";
   261       std::cout<<"("<<flowG.tail(e)<< "-"<<flow.get(e)<<"->"<<flowG.head(e)<<") ";
   262     }
   262     }
   263     std::cout<<std::endl;
   263     std::cout<<std::endl;
   264     std::cout << "flow value: "<< max_flow_test.flowValue() << std::endl;
   264     std::cout << "flow value: "<< max_flow_test.flowValue() << std::endl;
   265   }
   265   }
   266 
   266 */
   267   return 0;
   267   return 0;
   268 }
   268 }