COIN-OR::LEMON - Graph Library

Changeset 661:d306e777117e in lemon-0.x for src/hugo/mincostflows.h


Ignore:
Timestamp:
05/25/04 17:11:11 (21 years ago)
Author:
athos
Branch:
default
Phase:
public
Convert:
svn:c9d7d8f5-90d6-0310-b91f-818b3a526b0e/lemon/trunk@864
Message:

Corrected some obvious errors.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/hugo/mincostflows.h

    r634 r661  
    1212#include <hugo/maps.h>
    1313#include <vector>
    14 #include <for_each_macros.h>
     14#include <hugo/for_each_macros.h>
    1515
    1616namespace hugo {
     
    9191    EdgeIntMap flow;
    9292    //To store the potentila (dual variables)
    93     typename Graph::template NodeMap<Length> potential;
     93    typedef typename Graph::template NodeMap<Length> PotentialMap;
     94    PotentialMap potential;
    9495   
    9596
     
    185186  ///Returns a const reference to the NodeMap \c potential (the dual solution).
    186187    /// \pre \ref run() must be called before using this function.
    187     const EdgeIntMap &getPotential() const { return potential;}
     188    const PotentialMap &getPotential() const { return potential;}
    188189
    189190    ///This function checks, whether the given solution is optimal
Note: See TracChangeset for help on using the changeset viewer.