COIN-OR::LEMON - Graph Library

Changeset 2357:5365600a7a5c in lemon-0.x for lemon/concepts


Ignore:
Timestamp:
02/11/07 17:34:51 (17 years ago)
Author:
Balazs Dezso
Branch:
default
Phase:
public
Convert:
svn:c9d7d8f5-90d6-0310-b91f-818b3a526b0e/lemon/trunk@3160
Message:

Some bug fix
RevIt? => RevEdgeIt? renaming

File:
1 edited

Legend:

Unmodified
Added
Removed
  • lemon/concepts/path.h

    r2335 r2357  
    172172          int e = p.empty();
    173173
    174           typename _Path::RevIt id, ii(INVALID), i(p);
     174          typename _Path::RevEdgeIt id, ii(INVALID), i(p);
    175175
    176176          ++i;
     
    233233      ///
    234234      /// If the RevPathTag is defined and true then reverse dumping
    235       /// is provided in the path proxy. In this case instead of the
    236       /// EdgeIt the RevIt iterator should be implemented in the
    237       /// proxy.
     235      /// is provided in the path dumper. In this case instead of the
     236      /// EdgeIt the RevEdgeIt iterator should be implemented in the
     237      /// dumper.
    238238      typedef False RevPathTag;
    239239
     
    269269      /// This class is used to iterate on the edges of the paths in
    270270      /// reverse direction.
    271       class RevIt {
     271      class RevEdgeIt {
    272272      public:
    273273        /// Default constructor
    274         RevIt() {}
     274        RevEdgeIt() {}
    275275        /// Invalid constructor
    276         RevIt(Invalid) {}
     276        RevEdgeIt(Invalid) {}
    277277        /// Constructor for first edge
    278         RevIt(const PathDumper &) {}
     278        RevEdgeIt(const PathDumper &) {}
    279279
    280280        /// Conversion to Edge
     
    282282
    283283        /// Next edge
    284         RevIt& operator++() {return *this;}
    285 
    286         /// Comparison operator
    287         bool operator==(const RevIt&) const {return true;}
    288         /// Comparison operator
    289         bool operator!=(const RevIt&) const {return true;}
     284        RevEdgeIt& operator++() {return *this;}
     285
     286        /// Comparison operator
     287        bool operator==(const RevEdgeIt&) const {return true;}
     288        /// Comparison operator
     289        bool operator!=(const RevEdgeIt&) const {return true;}
    290290        /// Comparison operator
    291         bool operator<(const RevIt&) const {return false;}
     291        bool operator<(const RevEdgeIt&) const {return false;}
    292292
    293293      };
Note: See TracChangeset for help on using the changeset viewer.