equal
deleted
inserted
replaced
375 { |
375 { |
376 for(OutEdgeIt e(*this,b);e!=INVALID;) { |
376 for(OutEdgeIt e(*this,b);e!=INVALID;) { |
377 OutEdgeIt f=e; |
377 OutEdgeIt f=e; |
378 ++f; |
378 ++f; |
379 if(r && target(e)==a) erase(e); |
379 if(r && target(e)==a) erase(e); |
380 else moveSource(e,b); |
380 else moveSource(e,a); |
381 e=f; |
381 e=f; |
382 } |
382 } |
383 for(InEdgeIt e(*this,b);e!=INVALID;) { |
383 for(InEdgeIt e(*this,b);e!=INVALID;) { |
384 InEdgeIt f=e; |
384 InEdgeIt f=e; |
385 ++f; |
385 ++f; |
386 if(r && source(e)==a) erase(e); |
386 if(r && source(e)==a) erase(e); |
387 else moveTarget(e,b); |
387 else moveTarget(e,a); |
388 e=f; |
388 e=f; |
389 } |
389 } |
390 erase(b); |
390 erase(b); |
391 } |
391 } |
392 |
392 |