Changeset 409:7ab7f083760a in lemon-0.x for src/work/marci/edmonds_karp.h
- Timestamp:
- 04/26/04 11:54:24 (20 years ago)
- Branch:
- default
- Phase:
- public
- Convert:
- svn:c9d7d8f5-90d6-0310-b91f-818b3a526b0e/lemon/trunk@542
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/work/marci/edmonds_karp.h
r389 r409 323 323 public: 324 324 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 } 326 328 int operator[](const typename MapGraphWrapper::Node& n) 327 329 { return dist[n]; }
Note: See TracChangeset
for help on using the changeset viewer.