COIN-OR::LEMON - Graph Library

Changeset 629:6620dfc606af in lemon-0.x


Ignore:
Timestamp:
05/13/04 12:29:13 (17 years ago)
Author:
jacint
Branch:
default
Phase:
public
Convert:
svn:c9d7d8f5-90d6-0310-b91f-818b3a526b0e/lemon/trunk@820
Message:

max_flow interface changes

File:
1 edited

Legend:

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

    r615 r629  
    4242    FOR_EACH_LOC(Graph::EdgeIt, e, g) flow.set(e, 0);
    4343    ts.reset();
    44     max_flow_test.preflowPhase0(MaxFlow<Graph, int, Graph::EdgeMap<int>, Graph::EdgeMap<int> >::ZERO_FLOW);
     44    max_flow_test.preflowPhase1(MaxFlow<Graph, int, Graph::EdgeMap<int>, Graph::EdgeMap<int> >::ZERO_FLOW);
    4545    std::cout << "elapsed time: " << ts << std::endl;
    4646    std::cout << "flow value: "<< max_flow_test.flowValue() << std::endl;
     
    5151    FOR_EACH_LOC(Graph::EdgeIt, e, g) flow.set(e, 0);
    5252    ts.reset();
    53     max_flow_test.preflowPhase0(MaxFlow<Graph, int, Graph::EdgeMap<int>, Graph::EdgeMap<int> >::ZERO_FLOW);
     53    max_flow_test.preflowPhase1(MaxFlow<Graph, int, Graph::EdgeMap<int>, Graph::EdgeMap<int> >::ZERO_FLOW);
    5454    std::cout << "elapsed time: " << ts << std::endl;
    5555    std::cout << "flow value: "<< max_flow_test.flowValue() << std::endl;
Note: See TracChangeset for help on using the changeset viewer.