Changeset 1139:f59038affc7e in lemon-0.x
- Timestamp:
- 02/07/05 16:40:34 (20 years ago)
- Branch:
- default
- Phase:
- public
- Convert:
- svn:c9d7d8f5-90d6-0310-b91f-818b3a526b0e/lemon/trunk@1538
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/test/dijkstra_heap_test.cc
r986 r1139 72 72 int error2=0; 73 73 74 EdgeIt e; 75 for(G.first(e); e!=INVALID; ++e) { 74 for(EdgeIt e(G); e!=INVALID; ++e) { 76 75 Node u=G.source(e); 77 76 Node v=G.target(e); … … 86 85 87 86 NodeIt v; 88 for( G.first(v); v!=INVALID; ++v) {87 for(NodeIt v(G); v!=INVALID; ++v) { 89 88 if ( dijkstra_test.reached(v) ) { 90 89 Edge e=dijkstra_test.pred(v); … … 122 121 error2=0; 123 122 124 for( G.first(e); e!=INVALID; ++e) {123 for(EdgeIt e(G); e!=INVALID; ++e) { 125 124 Node u=G.source(e); 126 125 Node v=G.target(e); … … 134 133 } 135 134 136 for( G.first(v); v!=INVALID; ++v) {135 for(NodeIt n(G); v!=INVALID; ++v) { 137 136 if ( dijkstra_test2.reached(v) ) { 138 137 Edge e=dijkstra_test2.pred(v);
Note: See TracChangeset
for help on using the changeset viewer.