src/hugo/graph_wrapper.h
changeset 572 e9ed28955421
parent 569 3b6afd33c221
child 576 d00c33d07114
     1.1 --- a/src/hugo/graph_wrapper.h	Fri May 07 08:18:30 2004 +0000
     1.2 +++ b/src/hugo/graph_wrapper.h	Fri May 07 08:48:11 2004 +0000
     1.3 @@ -806,6 +806,13 @@
     1.4        return ((!e.backward) ? this->graph->bNode(e.in) : 
     1.5  	      this->graph->bNode(e.out)); }
     1.6  
     1.7 +    /// Gives back the opposite edge.
     1.8 +    Edge opposite(const Edge& e) const { 
     1.9 +      Edge f=e;
    1.10 +      f.backward=!f.backward;
    1.11 +      return f;
    1.12 +    }
    1.13 +
    1.14  //    int nodeNum() const { return graph->nodeNum(); }
    1.15      //FIXME
    1.16      void edgeNum() const { }