lemon/bits/graph_adaptor_extender.h
changeset 2223 590c1b663a27
parent 2041 28df5272df99
child 2231 06faf3f06d67
equal deleted inserted replaced
3:b1941c7a0f68 4:17a6a18f08eb
   451     typedef typename Parent::BNode BNode;
   451     typedef typename Parent::BNode BNode;
   452     typedef typename Parent::ANode ANode;
   452     typedef typename Parent::ANode ANode;
   453     typedef typename Parent::Edge Edge;
   453     typedef typename Parent::Edge Edge;
   454     typedef typename Parent::UEdge UEdge;
   454     typedef typename Parent::UEdge UEdge;
   455 
   455 
   456     Node oppositeNode(const UEdge& edge, const Node& node) const {
       
   457       return source(edge) == node ? 
       
   458 	target(edge) : source(edge);
       
   459     }
       
   460 
       
   461 
   456 
   462     int maxId(Node) const {
   457     int maxId(Node) const {
   463       return Parent::maxNodeId();
   458       return Parent::maxNodeId();
   464     }
   459     }
   465     int maxId(BNode) const {
   460     int maxId(BNode) const {