COIN-OR::LEMON - Graph Library

Changeset 2617:5222a3c470ed in lemon-0.x for lemon/graph_adaptor.h


Ignore:
Timestamp:
07/22/08 13:29:57 (16 years ago)
Author:
Balazs Dezso
Branch:
default
Phase:
public
Convert:
svn:c9d7d8f5-90d6-0310-b91f-818b3a526b0e/lemon/trunk@3502
Message:

Backport bug fix for Id handling from hg changeset [e67acd83a9ca]

File:
1 edited

Legend:

Unmodified
Added
Removed
  • lemon/graph_adaptor.h

    r2553 r2617  
    114114    int id(const Edge& e) const { return graph->id(e); }
    115115
    116     Node fromNodeId(int ix) const {
    117       return graph->fromNodeId(ix);
    118     }
    119 
    120     Edge fromEdgeId(int ix) const {
    121       return graph->fromEdgeId(ix);
     116    Node nodeFromId(int ix) const {
     117      return graph->nodeFromId(ix);
     118    }
     119
     120    Edge edgeFromId(int ix) const {
     121      return graph->edgeFromId(ix);
    122122    }
    123123
Note: See TracChangeset for help on using the changeset viewer.