COIN-OR::LEMON - Graph Library

Changeset 330:7ac0d4e8a31c in lemon-0.x for src/work/jacint/preflow.h


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/jacint/preflow.h

    r278 r330  
    4444
    4545  template <typename Graph, typename T,
    46     typename FlowMap=typename Graph::EdgeMap<T>,
    47     typename CapMap=typename Graph::EdgeMap<T> >
     46            typename CapMap=typename Graph::EdgeMap<T>,
     47            typename FlowMap=typename Graph::EdgeMap<T> >
    4848  class Preflow {
    4949   
     
    5757    Node s;
    5858    Node t;
     59    const CapMap& capacity; 
    5960    FlowMap& flow;
    60     const CapMap& capacity; 
    6161    T value;
    6262
     
    6464    Preflow(const Graph& _G, Node _s, Node _t, const CapMap& _capacity,
    6565            FlowMap& _flow ) :
    66       G(_G), s(_s), t(_t), flow(_flow), capacity(_capacity) {}
    67 
     66      G(_G), s(_s), t(_t), capacity(_capacity), flow(_flow) {}
    6867
    6968    void run() {
Note: See TracChangeset for help on using the changeset viewer.