Changeset 370:00c8843d491d in lemon-main
- Timestamp:
- 11/06/08 23:12:57 (16 years ago)
- Branch:
- default
- Children:
- 371:164fe3abc024, 373:5a3d689ea770
- Phase:
- public
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
lemon/smart_graph.h
r313 r370 306 306 nodes[b._id].first_out=nodes[n._id].first_out; 307 307 nodes[n._id].first_out=-1; 308 for(int i=nodes[b._id].first_out;i!=-1;i++) arcs[i].source=b._id; 308 for(int i=nodes[b._id].first_out; i!=-1; i=arcs[i].next_out) { 309 arcs[i].source=b._id; 310 } 309 311 if(connect) addArc(n,b); 310 312 return b;
Note: See TracChangeset
for help on using the changeset viewer.