Changeset 1729:06f939455cb1 in lemon0.x for lemon/list_graph.h
 Timestamp:
 10/17/05 12:28:48 (17 years ago)
 Branch:
 default
 Phase:
 public
 Convert:
 svn:c9d7d8f590d60310b91f818b3a526b0e/lemon/trunk@2256
 File:

 1 edited
Legend:
 Unmodified
 Added
 Removed

lemon/list_graph.h
r1718 r1729 339 339 ///valid. However <tt>InEdge</tt>'s are invalidated. 340 340 void changeTarget(Edge e, Node n) { 341 getNotifier(Edge()).signalChange(e);342 341 _changeTarget(e,n); 343 getNotifier(Edge()).commitChange(e);344 342 } 345 343 /// Changes the source of \c e to \c n … … 351 349 ///valid. However <tt>OutEdge</tt>'s are invalidated. 352 350 void changeSource(Edge e, Node n) { 353 getNotifier(Edge()).signalChange(e);354 351 _changeSource(e,n); 355 getNotifier(Edge()).commitChange(e);356 352 } 357 353 … … 363 359 void reverseEdge(Edge e) { 364 360 Node t=target(e); 365 getNotifier(Edge()).signalChange(e);366 361 _changeTarget(e,source(e)); 367 362 _changeSource(e,t); 368 getNotifier(Edge()).commitChange(e);369 363 } 370 364 … … 594 588 /// valid. However <tt>InEdge</tt>'s are invalidated. 595 589 void changeTarget(UndirEdge e, Node n) { 596 getNotifier(UndirEdge()).signalChange(e);597 getNotifier(Edge()).signalChange(direct(e, true));598 getNotifier(Edge()).signalChange(direct(e, false));599 590 _changeTarget(e,n); 600 getNotifier(UndirEdge()).commitChange(e);601 getNotifier(Edge()).commitChange(direct(e, true));602 getNotifier(Edge()).commitChange(direct(e, false));603 591 } 604 592 /// Changes the source of \c e to \c n … … 610 598 ///valid. However <tt>OutEdge</tt>'s are invalidated. 611 599 void changeSource(UndirEdge e, Node n) { 612 getNotifier(UndirEdge()).signalChange(e);613 getNotifier(Edge()).signalChange(direct(e, true));614 getNotifier(Edge()).signalChange(direct(e, false));615 600 _changeSource(e,n); 616 getNotifier(UndirEdge()).commitChange(e);617 getNotifier(Edge()).commitChange(direct(e, true));618 getNotifier(Edge()).commitChange(direct(e, false));619 601 } 620 602 /// \brief Contract two nodes.
Note: See TracChangeset
for help on using the changeset viewer.