equal
deleted
inserted
replaced
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 } |