src/work/marci/leda/bipartite_matching_leda_gen.cc
changeset 459 68e6873f421a
parent 447 9c997ebe4aff
child 482 dce64ce044d6
equal deleted inserted replaced
1:a94197504ac0 2:1b2cd21ef127
   114   Timer ts;
   114   Timer ts;
   115   FOR_EACH_LOC(stGW::EdgeIt, e, stgw) flow.set(e, 0);
   115   FOR_EACH_LOC(stGW::EdgeIt, e, stgw) flow.set(e, 0);
   116   ts.reset();
   116   ts.reset();
   117   //  stGW::EdgeMap<int> pre_flow(stgw);
   117   //  stGW::EdgeMap<int> pre_flow(stgw);
   118   Preflow<stGW, int, ConstMap<stGW::Edge, int>, stGW::EdgeMap<int> > 
   118   Preflow<stGW, int, ConstMap<stGW::Edge, int>, stGW::EdgeMap<int> > 
   119     pre_flow_test(stgw, stgw.S_NODE, stgw.T_NODE, const1map, flow, true);
   119     pre_flow_test(stgw, stgw.S_NODE, stgw.T_NODE, const1map, flow/*, true*/);
   120   pre_flow_test.run();
   120   pre_flow_test.run();
   121   std::cout << "HUGO pre flow value: " << pre_flow_test.flowValue() << std::endl;
   121   std::cout << "HUGO pre flow value: " << pre_flow_test.flowValue() << std::endl;
   122   std::cout << "elapsed time: " << ts << std::endl;
   122   std::cout << "elapsed time: " << ts << std::endl;
   123 //   FOR_EACH_LOC(stGW::EdgeIt, e, stgw) { 
   123 //   FOR_EACH_LOC(stGW::EdgeIt, e, stgw) { 
   124 //     std::cout << e << ": " << pre_flow[e] << "\n"; 
   124 //     std::cout << e << ": " << pre_flow[e] << "\n";