Changeset 543:2b031f790e7a in lemon-0.x for src/work
- Timestamp:
- 05/06/04 15:48:48 (21 years ago)
- Branch:
- default
- Phase:
- public
- Convert:
- svn:c9d7d8f5-90d6-0310-b91f-818b3a526b0e/lemon/trunk@715
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/work/marci/bfs_dfs_misc.h
r541 r543 1 1 // -*- c++ -*- 2 #ifndef HUGO_B IPARTITE_GRAPHS_H3 #define HUGO_B IPARTITE_GRAPHS_H2 #ifndef HUGO_BFS_DFS_MISC_H 3 #define HUGO_BFS_DFS_MISC_H 4 4 5 5 #include <bfs_iterator.h> … … 48 48 if (!reached[n]) { 49 49 dfs.pushAndSetReached(n); 50 while (! bfs.finished()) {51 if ( bfs.isANodeExamined()) {52 l.push_back( bfs.aNode());50 while (!dfs.finished()) { 51 if (dfs.isANodeExamined()) { 52 l.push_back(dfs.aNode()); 53 53 } 54 + +bfs;54 +dfs; 55 55 } 56 56 } … … 58 58 } 59 59 } 60 #endif //HUGO_B IPARTITE_GRAPHS_H60 #endif //HUGO_BFS_DFS_MISC_H
Note: See TracChangeset
for help on using the changeset viewer.