Changeset 415:679e64913c5e in lemon-0.x for src/work/marci/bfs_iterator.h
- Timestamp:
- 04/26/04 16:40:59 (20 years ago)
- Branch:
- default
- Phase:
- public
- Convert:
- svn:c9d7d8f5-90d6-0310-b91f-818b3a526b0e/lemon/trunk@555
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/work/marci/bfs_iterator.h
r414 r415 128 128 Bfs<Graph, ReachedMap, PredMap, DistMap> operator++() { 129 129 Parent::operator++(); 130 if (this->graph->valid(this->actual_edge) && this->b_node_newly_reached) { 131 pred.set(s, actual_edge); 132 dist.set(s, dist[this->aNode()]); 130 if (this->graph->valid(this->actual_edge) && this->b_node_newly_reached) 131 { 132 pred.set(this->bNode(), this->actual_edge); 133 dist.set(this->bNode(), dist[this->aNode()]); 133 134 } 134 135 return *this;
Note: See TracChangeset
for help on using the changeset viewer.