COIN-OR::LEMON - Graph Library

Changeset 390:8dc830d3f9ef in lemon-0.x for src/work/marci


Ignore:
Timestamp:
04/24/04 14:53:46 (21 years ago)
Author:
marci
Branch:
default
Phase:
public
Convert:
svn:c9d7d8f5-90d6-0310-b91f-818b3a526b0e/lemon/trunk@521
Message:

jacint mindig modosit, es ezert nekunk is kell

File:
1 edited

Legend:

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

    r389 r390  
    1010//#include <graph_wrapper.h>
    1111#include <preflow.h>
    12 #include <preflowproba.h>
     12#include <preflow_res.h>
    1313#include <for_each_macros.h>
    1414
     
    7373  Preflow<Graph, int, Graph::EdgeMap<int>, Graph::EdgeMap<int> >
    7474    pre_flow_test(G, s, t, cap, flow, true);
    75   PreflowProba<Graph, int, Graph::EdgeMap<int>, Graph::EdgeMap<int> >
    76     pre_flow_proba(G, s, t, cap, flow, true, true);
     75  PreflowRes<Graph, int, Graph::EdgeMap<int>, Graph::EdgeMap<int> >
     76    pre_flow_res(G, s, t, cap, flow, true);
    7777  MaxFlow<Graph, int, Graph::EdgeMap<int>, Graph::EdgeMap<int> >
    7878    max_flow_test(G, s, t, cap, flow);
     
    9090    FOR_EACH_LOC(Graph::EdgeIt, e, G) flow.set(e, 0);
    9191    ts.reset();
    92     pre_flow_proba.run();
     92    pre_flow_res.run();
    9393    std::cout << "elapsed time: " << ts << std::endl;
    9494    std::cout << "flow value: "<< pre_flow_test.flowValue() << std::endl;
Note: See TracChangeset for help on using the changeset viewer.