lemon/bits/base_extender.h
changeset 2187 a54a2dd03f03
parent 2076 10681ee9d8ae
child 2222 a24939ee343c
equal deleted inserted replaced
2:791fb1227d13 3:424572abd34a
   200     Edge edgeFromId(int id) const {
   200     Edge edgeFromId(int id) const {
   201       return direct(Parent::edgeFromId(id >> 1), bool(id & 1));
   201       return direct(Parent::edgeFromId(id >> 1), bool(id & 1));
   202     }
   202     }
   203 
   203 
   204     UEdge uEdgeFromId(int id) const {
   204     UEdge uEdgeFromId(int id) const {
   205       return Parent::edgeFromId(id >> 1);
   205       return Parent::edgeFromId(id);
   206     }
   206     }
   207 
   207 
   208     int id(const Node &n) const {
   208     int id(const Node &n) const {
   209       return Parent::id(n);
   209       return Parent::id(n);
   210     }
   210     }