equal
deleted
inserted
replaced
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"; |