Changeset 986:e997802b855c in lemon-0.x for src/lemon/kruskal.h
- Timestamp:
- 11/13/04 13:53:28 (21 years ago)
- Branch:
- default
- Phase:
- public
- Convert:
- svn:c9d7d8f5-90d6-0310-b91f-818b3a526b0e/lemon/trunk@1376
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/lemon/kruskal.h
r921 r986 83 83 for (typename IN::const_iterator p = in.begin(); 84 84 p!=in.end(); ++p ) { 85 if ( uf.join(G. head((*p).first),86 G. tail((*p).first)) ) {85 if ( uf.join(G.target((*p).first), 86 G.source((*p).first)) ) { 87 87 out.set((*p).first, true); 88 88 tot_cost += (*p).second;
Note: See TracChangeset
for help on using the changeset viewer.