GraphWrapper::id(const Node&), GraphWrapper::id(const Edge&) function,
authormarci
Sat, 24 Jul 2004 14:33:37 +0000
changeset 7393bb5553ec41b
parent 738 56e60e9eb2da
child 740 7237eaaf5d84
GraphWrapper::id(const Node&), GraphWrapper::id(const Edge&) function,
'cause I need it.
src/hugo/graph_wrapper.h
     1.1 --- a/src/hugo/graph_wrapper.h	Sat Jul 24 14:01:31 2004 +0000
     1.2 +++ b/src/hugo/graph_wrapper.h	Sat Jul 24 14:33:37 2004 +0000
     1.3 @@ -209,6 +209,9 @@
     1.4      
     1.5      bool forward(const Edge& e) const { return graph->forward(e); }
     1.6      bool backward(const Edge& e) const { return graph->backward(e); }
     1.7 +
     1.8 +    int id(const Node& v) const { return graph->id(v); }
     1.9 +    int id(const Edge& e) const { return graph->id(e); }
    1.10      
    1.11      Edge opposite(const Edge& e) const { return Edge(graph->opposite(e)); }
    1.12