COIN-OR::LEMON - Graph Library

Changeset 409:7ab7f083760a in lemon-0.x for src/work/marci/edmonds_karp.h


Ignore:
Timestamp:
04/26/04 11:54:24 (17 years ago)
Author:
marci
Branch:
default
Phase:
public
Convert:
svn:c9d7d8f5-90d6-0310-b91f-818b3a526b0e/lemon/trunk@542
Message:

stGraphWrapper is almost working

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/work/marci/edmonds_karp.h

    r389 r409  
    323323    public:
    324324      DistanceMap(MapGraphWrapper& _g) : g(&_g), dist(*g, g->nodeNum()) { }
    325       void set(const typename MapGraphWrapper::Node& n, int a) { dist[n]=a; }
     325      void set(const typename MapGraphWrapper::Node& n, int a) {
     326        dist.set(n, a);
     327      }
    326328      int operator[](const typename MapGraphWrapper::Node& n)
    327329        { return dist[n]; }
Note: See TracChangeset for help on using the changeset viewer.