src/work/marci/bipartite_graph_wrapper.h
changeset 558 4cbfb435ec2b
parent 557 9c0ce0a1f000
child 641 bfd6c14e2975
equal deleted inserted replaced
10:3e3da8ca369c 11:6f8e9f1519b0
   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>