COIN-OR::LEMON - Graph Library

Changeset 273:e9024dad7fc1 in lemon-0.x for doc


Ignore:
Timestamp:
04/01/04 17:32:31 (16 years ago)
Author:
Alpar Juttner
Branch:
default
Phase:
public
Convert:
svn:c9d7d8f5-90d6-0310-b91f-818b3a526b0e/lemon/trunk@383
Message:

M_PI

File:
1 edited

Legend:

Unmodified
Added
Removed
  • doc/maps.dox

    r210 r273  
    1212
    1313\code
    14 class MyMap
     14struct MyMap
    1515{
    16   double operator[](Graph::EdgeIt e) const { return 1;}
     16  typedef double ValueType;
     17  double operator[](Graph::EdgeIt e) const { return M_PI;}
    1718};
    1819\endcode
     
    2930  const Graph::NodeMap &pot;
    3031 
     32public:
     33  typedef double ValueType;
     34
    3135  double operator[](Graph::EdgeIt e) const {
    3236    return ol.get(e)-pot.get(v)-pot.get(u);
     
    3842\endcode
    3943
     44\todo Don't we need \e to \e require a 'typedef xxx KeyType' tag, as well?
    4045*/
Note: See TracChangeset for help on using the changeset viewer.