Changeset 661:d306e777117e in lemon-0.x for src/hugo
- Timestamp:
- 05/25/04 17:11:11 (20 years ago)
- Branch:
- default
- Phase:
- public
- Convert:
- svn:c9d7d8f5-90d6-0310-b91f-818b3a526b0e/lemon/trunk@864
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/hugo/mincostflows.h
r634 r661 12 12 #include <hugo/maps.h> 13 13 #include <vector> 14 #include < for_each_macros.h>14 #include <hugo/for_each_macros.h> 15 15 16 16 namespace hugo { … … 91 91 EdgeIntMap flow; 92 92 //To store the potentila (dual variables) 93 typename Graph::template NodeMap<Length> potential; 93 typedef typename Graph::template NodeMap<Length> PotentialMap; 94 PotentialMap potential; 94 95 95 96 … … 185 186 ///Returns a const reference to the NodeMap \c potential (the dual solution). 186 187 /// \pre \ref run() must be called before using this function. 187 const EdgeIntMap &getPotential() const { return potential;}188 const PotentialMap &getPotential() const { return potential;} 188 189 189 190 ///This function checks, whether the given solution is optimal
Note: See TracChangeset
for help on using the changeset viewer.