COIN-OR::LEMON - Graph Library

Changeset 125:19e82bda606a in lemon-1.0 for lemon/smart_graph.h


Ignore:
Timestamp:
04/14/08 18:37:18 (11 years ago)
Author:
Balazs Dezso <deba@…>
Branch:
default
Phase:
public
Message:

Fix bug #83 in graph concept, extender and smart graph

File:
1 edited

Legend:

Unmodified
Added
Removed
  • lemon/smart_graph.h

    r109 r125  
    471471    Node target(Arc e) const { return Node(arcs[e._id].target); }
    472472
    473     Node source(Edge e) const { return Node(arcs[2 * e._id].target); }
    474     Node target(Edge e) const { return Node(arcs[2 * e._id + 1].target); }
     473    Node u(Edge e) const { return Node(arcs[2 * e._id].target); }
     474    Node v(Edge e) const { return Node(arcs[2 * e._id + 1].target); }
    475475
    476476    static bool direction(Arc e) {
Note: See TracChangeset for help on using the changeset viewer.