COIN-OR::LEMON - Graph Library

Ignore:
Timestamp:
04/15/04 16:41:20 (20 years ago)
Author:
marci
Branch:
default
Phase:
public
Convert:
svn:c9d7d8f5-90d6-0310-b91f-818b3a526b0e/lemon/trunk@448
Message:

In the resgraphwrapper interface, and in the constructor,
the order of FlowMap? and CapacityMap? is changed.

File:
1 edited

Legend:

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

    r317 r330  
    105105
    106106    MaxFlow<Graph, int, Graph::EdgeMap<int>, Graph::EdgeMap<int> >
    107       max_flow_test(G, s, t, flow, cap);
     107      max_flow_test(G, s, t, cap, flow);
    108108    int i=0;
    109109    while (max_flow_test.augmentOnBlockingFlow<MutableGraph>()) {
     
    133133
    134134    MaxFlow<Graph, int, Graph::EdgeMap<int>, Graph::EdgeMap<int> >
    135       max_flow_test(G, s, t, flow, cap);
     135      max_flow_test(G, s, t, cap, flow);
    136136    int i=0;
    137137    while (max_flow_test.augmentOnBlockingFlow1<MutableGraph>()) {
     
    161161
    162162    MaxFlow<Graph, int, Graph::EdgeMap<int>, Graph::EdgeMap<int> >
    163       max_flow_test(G, s, t, flow, cap);
     163      max_flow_test(G, s, t, cap, flow);
    164164    int i=0;
    165165    while (max_flow_test.augmentOnBlockingFlow2()) {
     
    189189
    190190    MaxFlow<Graph, int, Graph::EdgeMap<int>, Graph::EdgeMap<int> >
    191       max_flow_test(G, s, t, flow, cap);
     191      max_flow_test(G, s, t, cap, flow);
    192192    int i=0;
    193193    while (max_flow_test.augmentOnShortestPath()) {
Note: See TracChangeset for help on using the changeset viewer.