Changeset 1755:bf267b301a5e in lemon-0.x for lemon/bfs.h
- Timestamp:
- 11/02/05 16:28:37 (18 years ago)
- Branch:
- default
- Phase:
- public
- Convert:
- svn:c9d7d8f5-90d6-0310-b91f-818b3a526b0e/lemon/trunk@2284
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
lemon/bfs.h
r1710 r1755 551 551 ///will stop when it reaches a node \c v with <tt>nm[v]==true</tt>. 552 552 template<class NM> 553 554 555 556 553 void start(const NM &nm) 554 { 555 while ( !emptyQueue() && !nm[_queue[_queue_tail]] ) processNextNode(); 556 } 557 557 558 558 ///Runs %BFS algorithm from node \c s.
Note: See TracChangeset
for help on using the changeset viewer.