Changeset 188:c1c9fcf03e94 in glemon-0.x for dijkstrabox.cc
- Timestamp:
- 02/03/07 13:43:01 (18 years ago)
- Branch:
- default
- Children:
- 189:8b69c54d5bf0, 203:976b7d9ee45b
- Phase:
- public
- Convert:
- svn:c9d7d8f5-90d6-0310-b91f-818b3a526b0e/glemon/trunk@3151
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
dijkstrabox.cc
r174 r188 145 145 for(int j=0;j<found;j++) 146 146 { 147 Path<Graph> path (g);148 sb.getPath(path,j);147 Path<Graph> path; 148 path=sb.path(j); 149 149 for(int k=0;k<path.length();k++) 150 150 { 151 Path<Graph>::EdgeIt ei; 152 ei=path.nthEdge(k); 153 (*outputmap)[ei]=j+1; 151 (*outputmap)[path.nth(k)]=j+1; 154 152 } 155 153 }
Note: See TracChangeset
for help on using the changeset viewer.