COIN-OR::LEMON - Graph Library

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


Ignore:
Timestamp:
02/11/07 17:34:51 (16 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/path.h

    r2336 r2357  
    218218      int len = path.length();
    219219      head.reserve(len);
    220       for (typename CPath::RevIt it(path); it != INVALID; ++it) {
     220      for (typename CPath::RevEdgeIt it(path); it != INVALID; ++it) {
    221221        head.push_back(it);
    222222      }
     
    376376      data.resize(len);
    377377      int index = len;
    378       for (typename CPath::RevIt it(path); it != INVALID; ++it) {
     378      for (typename CPath::RevEdgeIt it(path); it != INVALID; ++it) {
    379379        --index;
    380380        data[index] = it;;
     
    721721    template <typename CPath>
    722722    void buildRev(const CPath& path) {
    723       for (typename CPath::RevIt it(path); it != INVALID; ++it) {
     723      for (typename CPath::RevEdgeIt it(path); it != INVALID; ++it) {
    724724        addFront(it);
    725725      }
     
    882882      edges = new Edge[len];
    883883      int index = len;
    884       for (typename CPath::RevIt it(path); it != INVALID; ++it) {
     884      for (typename CPath::RevEdgeIt it(path); it != INVALID; ++it) {
    885885        --index;
    886886        edges[index] = it;
Note: See TracChangeset for help on using the changeset viewer.