lemon/smart_graph.h
changeset 1756 b1f441f24d08
parent 1718 6a958ab38386
child 1768 1e2e0238e7c8
equal deleted inserted replaced
7:494c726528de 8:98ed71cd36f9
   313     ///\warning This functionality cannot be used together with the SnapShot
   313     ///\warning This functionality cannot be used together with the SnapShot
   314     ///feature.
   314     ///feature.
   315     ///\todo It could be implemented in a bit faster way.
   315     ///\todo It could be implemented in a bit faster way.
   316     Node split(Node n, bool connect = true) 
   316     Node split(Node n, bool connect = true) 
   317     {
   317     {
   318       for (OutEdgeIt it(*this, n); it != INVALID; ++it) {
       
   319 	getNotifier(Edge()).signalChange(it);
       
   320       }
       
   321       Node b = _split(n,connect);
   318       Node b = _split(n,connect);
   322       for (OutEdgeIt it(*this, b); it != INVALID; ++it) {
       
   323 	getNotifier(Edge()).commitChange(it);
       
   324       }
       
   325       return b;
   319       return b;
   326     }
   320     }
   327   
   321   
   328 
   322 
   329     ///Class to make a snapshot of the graph and to restrore to it later.
   323     ///Class to make a snapshot of the graph and to restrore to it later.