equal
deleted
inserted
replaced
245 void erase(const Edge& e) { |
245 void erase(const Edge& e) { |
246 Parent::graph->erase(e); |
246 Parent::graph->erase(e); |
247 } |
247 } |
248 |
248 |
249 void clear() { |
249 void clear() { |
250 FOR_EACH_LOC(typename Parent::EdgeIt, e, G) erase(e); |
250 FOR_EACH_LOC(typename Parent::EdgeIt, e, *this) erase(e); |
251 FOR_EACH_LOC(typename Parent::NodeIt, n, G) erase(n); |
251 FOR_EACH_LOC(typename Parent::NodeIt, n, *this) erase(n); |
252 } |
252 } |
253 }; |
253 }; |
254 |
254 |
255 |
255 |
256 template<typename Graph> |
256 template<typename Graph> |