COIN-OR::LEMON - Graph Library

Changeset 987:87f7c54892df in lemon-0.x for src/lemon/default_map.h


Ignore:
Timestamp:
11/13/04 18:07:10 (16 years ago)
Author:
Alpar Juttner
Branch:
default
Phase:
public
Convert:
svn:c9d7d8f5-90d6-0310-b91f-818b3a526b0e/lemon/trunk@1377
Message:

Naming changes:

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/lemon/default_map.h

    r980 r987  
    3434  /** The ArrayMap template class is graph map structure what
    3535   *  automatically updates the map when a key is added to or erased from
    36    *  the map. This map uses the VectorMap if the ValueType is a primitive
     36   *  the map. This map uses the VectorMap if the Value is a primitive
    3737   *  type and the ArrayMap for the other cases.
    3838   *
    3939   *  The template parameter is the MapRegistry that the maps
    40    *  will belong to and the ValueType.
     40   *  will belong to and the Value.
    4141   */
    4242
     
    148148   
    149149    typedef typename Parent::Graph Graph;
    150     typedef typename Parent::ValueType ValueType;
     150    typedef typename Parent::Value Value;
    151151
    152152    DefaultMap(const Graph& _g) : Parent(_g) {}
    153     DefaultMap(const Graph& _g, const ValueType& _v) : Parent(_g, _v) {}
     153    DefaultMap(const Graph& _g, const Value& _v) : Parent(_g, _v) {}
    154154  };
    155155
     
    181181
    182182      //typedef typename Parent::Graph Graph;
    183       typedef typename Parent::ValueType ValueType;
     183      typedef typename Parent::Value Value;
    184184
    185185      NodeMap(const Graph& _g)
    186186        : Parent(_g) {}
    187       NodeMap(const Graph& _g, const ValueType& _v)
     187      NodeMap(const Graph& _g, const Value& _v)
    188188        : Parent(_g, _v) {}
    189189
     
    201201
    202202      //typedef typename Parent::Graph Graph;
    203       typedef typename Parent::ValueType ValueType;
     203      typedef typename Parent::Value Value;
    204204
    205205      EdgeMap(const Graph& _g)
    206206        : Parent(_g) {}
    207       EdgeMap(const Graph& _g, const ValueType& _v)
     207      EdgeMap(const Graph& _g, const Value& _v)
    208208        : Parent(_g, _v) {}
    209209
Note: See TracChangeset for help on using the changeset viewer.