Changeset 711:28cfac049a6a in lemon-main for lemon/fib_heap.h
- Timestamp:
- 07/08/09 17:47:01 (15 years ago)
- Branch:
- default
- Phase:
- public
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
lemon/fib_heap.h
r710 r711 189 189 _data[_minimum].in=false; 190 190 if ( _data[_minimum].degree!=0 ) { 191 make root(_data[_minimum].child);191 makeRoot(_data[_minimum].child); 192 192 _minimum=_data[_minimum].child; 193 193 balance(); … … 202 202 int last_child=_data[child].left_neighbor; 203 203 204 make root(child);204 makeRoot(child); 205 205 206 206 _data[left].right_neighbor=child; … … 373 373 } 374 374 375 void make root(int c) {375 void makeRoot(int c) { 376 376 int s=c; 377 377 do {
Note: See TracChangeset
for help on using the changeset viewer.