src/work/marci/leda/bipartite_matching_leda.cc
changeset 466 cd40ecf4d2a9
parent 446 77ef5c7a57d9
child 482 dce64ce044d6
equal deleted inserted replaced
1:b537616ad4ca 2:49139c6c7111
   119 //   std::cout << "\n";
   119 //   std::cout << "\n";
   120 
   120 
   121   ts.reset();
   121   ts.reset();
   122   stGW::EdgeMap<int> pre_flow(stgw);
   122   stGW::EdgeMap<int> pre_flow(stgw);
   123   Preflow<stGW, int, ConstMap<stGW::Edge, int>, stGW::EdgeMap<int> > 
   123   Preflow<stGW, int, ConstMap<stGW::Edge, int>, stGW::EdgeMap<int> > 
   124     pre_flow_test(stgw, stgw.S_NODE, stgw.T_NODE, const1map, pre_flow, true);
   124     pre_flow_test(stgw, stgw.S_NODE, stgw.T_NODE, const1map, pre_flow/*, true*/);
   125   pre_flow_test.run();
   125   pre_flow_test.run();
   126   std::cout << "pre flow value: " << max_flow_test.flowValue() << std::endl;
   126   std::cout << "pre flow value: " << max_flow_test.flowValue() << std::endl;
   127   std::cout << "elapsed time: " << ts << std::endl;
   127   std::cout << "elapsed time: " << ts << std::endl;
   128 //   FOR_EACH_LOC(stGW::EdgeIt, e, stgw) { 
   128 //   FOR_EACH_LOC(stGW::EdgeIt, e, stgw) { 
   129 //     std::cout << e << ": " << pre_flow[e] << "\n"; 
   129 //     std::cout << e << ": " << pre_flow[e] << "\n";