lemon/list_graph.h
changeset 290 f6899946c1ac
parent 239 7b7e3f20bcec
child 313 64f8f7cc6168
equal deleted inserted replaced
12:e01f5a795e18 13:a00d9e81c60f
   499     ///
   499     ///
   500     ///\note The <tt>ArcIt</tt>s referencing a moved arc remain
   500     ///\note The <tt>ArcIt</tt>s referencing a moved arc remain
   501     ///valid. However <tt>InArcIt</tt>s and <tt>OutArcIt</tt>s may
   501     ///valid. However <tt>InArcIt</tt>s and <tt>OutArcIt</tt>s may
   502     ///be invalidated.
   502     ///be invalidated.
   503     ///
   503     ///
   504     ///\warning This functionality cannot be used together with the
   504     ///\warning This functionality cannot be used in conjunction with the
   505     ///Snapshot feature.
   505     ///Snapshot feature.
   506     ///
       
   507     ///\todo It could be implemented in a bit faster way.
       
   508     Node split(Node n, bool connect = true) {
   506     Node split(Node n, bool connect = true) {
   509       Node b = addNode();
   507       Node b = addNode();
   510       for(OutArcIt e(*this,n);e!=INVALID;) {
   508       for(OutArcIt e(*this,n);e!=INVALID;) {
   511         OutArcIt f=e;
   509         OutArcIt f=e;
   512         ++f;
   510         ++f;