Changeset 1007:e24922c56bc2 in lemon for lemon/dfs.h
- Timestamp:
- 09/22/10 08:53:09 (14 years ago)
- Branch:
- default
- Children:
- 1008:b7ed95cd94a3, 1009:c85f53572941, 1010:1861d5dcf312, 1011:1937b6455b7d, 1067:54464584b157
- Phase:
- public
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
lemon/dfs.h
r319 r1007 559 559 void start(Node t) 560 560 { 561 while ( !emptyQueue() && G->target(_stack[_stack_head])!=t)561 while ( !emptyQueue() && !(*_reached)[t] ) 562 562 processNextArc(); 563 563 } … … 1512 1512 /// with addSource() before using this function. 1513 1513 void start(Node t) { 1514 while ( !emptyQueue() && _digraph->target(_stack[_stack_head]) != t)1514 while ( !emptyQueue() && !(*_reached)[t] ) 1515 1515 processNextArc(); 1516 1516 }
Note: See TracChangeset
for help on using the changeset viewer.