COIN-OR::LEMON - Graph Library

Changeset 374:0fc9cd9b854a in lemon-0.x for src/work/jacint/preflow.cc


Ignore:
Timestamp:
04/22/04 17:56:05 (17 years ago)
Author:
jacint
Branch:
default
Phase:
public
Convert:
svn:c9d7d8f5-90d6-0310-b91f-818b3a526b0e/lemon/trunk@504
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/work/jacint/preflow.cc

    r372 r374  
    2525 
    2626  Graph::EdgeMap<int> flow(G);
    27   Preflow<Graph, int> max_flow_test(G, s, t, cap, flow, 1);
     27  Preflow<Graph, int> max_flow_test(G, s, t, cap, flow, 1,1);
    2828  ts.reset();
    2929  max_flow_test.run();
     30  std::cout << "elapsed time with res: " << ts << std::endl;
     31 
     32  std::cout << "preflow demo ..." << std::endl;
     33 
     34  Graph::EdgeMap<int> flow2(G);
     35  Preflow<Graph, int> max_flow_test2(G, s, t, cap, flow, 1,0);
     36  ts.reset();
     37  max_flow_test2.run();
    3038  std::cout << "elapsed time: " << ts << std::endl;
    3139 
Note: See TracChangeset for help on using the changeset viewer.