COIN-OR::LEMON - Graph Library

Changeset 1809:029cc4f638d1 in lemon-0.x for lemon


Ignore:
Timestamp:
11/16/05 15:46:22 (14 years ago)
Author:
marci
Branch:
default
Phase:
public
Convert:
svn:c9d7d8f5-90d6-0310-b91f-818b3a526b0e/lemon/trunk@2352
Message:

The GRAPH_TYPEDEFS macro is a bug.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • lemon/graph_utils.h

    r1804 r1809  
    6161    typedef Graph:: InEdgeIt  InEdgeIt;                 \
    6262    typedef Graph::OutEdgeIt OutEdgeIt;                 \
    63     typedef Graph::Nodemap<bool> BoolNodeMap;           \
    64     typedef Graph::Nodemap<int> IntNodeMap;             \
    65     typedef Graph::Nodemap<double> DoubleNodeMap;       \
    66     typedef Graph::Edgemap<bool> BoolEdgeMap;           \
    67     typedef Graph::Edgemap<int> IntEdgeMap;             \
    68     typedef Graph::Edgemap<double> DoubleEdgeMap;
     63    typedef Graph::NodeMap<bool> BoolNodeMap;           \
     64    typedef Graph::NodeMap<int> IntNodeMap;             \
     65    typedef Graph::NodeMap<double> DoubleNodeMap;       \
     66    typedef Graph::EdgeMap<bool> BoolEdgeMap;           \
     67    typedef Graph::EdgeMap<int> IntEdgeMap;             \
     68    typedef Graph::EdgeMap<double> DoubleEdgeMap;
    6969 
    7070  ///Creates convenience typedefs for the undirected graph types and iterators
     
    8787    typedef Graph:: UndirEdgeIt UndirEdgeIt;                    \
    8888    typedef Graph:: IncEdgeIt   IncEdgeIt;                      \
    89     typedef Graph::UndirEdgemap<bool> BoolUndirEdgeMap;         \
    90     typedef Graph::UndirEdgemap<int> IntUndirEdgeMap;           \
    91     typedef Graph::UndirEdgemap<double> DoubleUndirEdgeMap;
     89    typedef Graph::UndirEdgeMap<bool> BoolUndirEdgeMap;         \
     90    typedef Graph::UndirEdgeMap<int> IntUndirEdgeMap;           \
     91    typedef Graph::UndirEdgeMap<double> DoubleUndirEdgeMap;
    9292 
    9393
Note: See TracChangeset for help on using the changeset viewer.