COIN-OR::LEMON - Graph Library

Ignore:
Timestamp:
09/14/04 12:09:24 (20 years ago)
Author:
marci
Branch:
default
Phase:
public
Convert:
svn:c9d7d8f5-90d6-0310-b91f-818b3a526b0e/lemon/trunk@1148
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/work/marci/graph_wrapper_time.cc

    r784 r849  
    1111#include <hugo/time_measure.h>
    1212#include <hugo/graph_wrapper.h>
    13 #include <hugo/max_flow.h>
     13#include <hugo/preflow.h>
    1414#include <hugo/dimacs.h>
    1515#include <hugo/list_graph.h>
     
    3333  ts.reset();
    3434
    35   typedef MaxFlow<Graph, int, FlowMap, FlowMap> MyMaxFlow;
    36   MyMaxFlow max_flow(g, s, t, cap, flow);
    37   max_flow.run(MyMaxFlow::NO_FLOW);
     35  typedef Preflow<Graph, int, FlowMap, FlowMap> MyPreflow;
     36  MyPreflow max_flow(g, s, t, cap, flow);
     37  max_flow.run(MyPreflow::NO_FLOW);
    3838  cout << "flow value: " << max_flow.flowValue() << endl;
    3939  cout << ts << endl;
Note: See TracChangeset for help on using the changeset viewer.