equal
deleted
inserted
replaced
33 ts.reset(); |
33 ts.reset(); |
34 |
34 |
35 typedef MaxFlow<Graph, int, FlowMap, FlowMap> MyMaxFlow; |
35 typedef MaxFlow<Graph, int, FlowMap, FlowMap> MyMaxFlow; |
36 MyMaxFlow max_flow(g, s, t, cap, flow); |
36 MyMaxFlow max_flow(g, s, t, cap, flow); |
37 max_flow.run(MyMaxFlow::NO_FLOW); |
37 max_flow.run(MyMaxFlow::NO_FLOW); |
|
38 cout << "flow value: " << max_flow.flowValue() << endl; |
38 cout << ts << endl; |
39 cout << ts << endl; |
39 } |
40 } |
40 |
41 |
41 int main(int, char** argv) { |
42 int main(int, char** argv) { |
42 std::string in=argv[1]; |
43 std::string in=argv[1]; |