COIN-OR::LEMON - Graph Library

Changeset 739:3bb5553ec41b in lemon-0.x


Ignore:
Timestamp:
07/24/04 16:33:37 (15 years ago)
Author:
marci
Branch:
default
Phase:
public
Convert:
svn:c9d7d8f5-90d6-0310-b91f-818b3a526b0e/lemon/trunk@996
Message:

GraphWrapper::id(const Node&), GraphWrapper::id(const Edge&) function,
'cause I need it.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/hugo/graph_wrapper.h

    r738 r739  
    210210    bool forward(const Edge& e) const { return graph->forward(e); }
    211211    bool backward(const Edge& e) const { return graph->backward(e); }
     212
     213    int id(const Node& v) const { return graph->id(v); }
     214    int id(const Edge& e) const { return graph->id(e); }
    212215   
    213216    Edge opposite(const Edge& e) const { return Edge(graph->opposite(e)); }
Note: See TracChangeset for help on using the changeset viewer.