src/work/marci/graph_wrapper_time.cc
changeset 789 65c5c7d37578
parent 777 a82713ed19f3
child 849 cc3867a7d380
equal deleted inserted replaced
1:8567138cf9ba 2:9e3361372e56
    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];