diff --git a/lemon/kary_heap.h b/lemon/kary_heap.h --- a/lemon/kary_heap.h +++ b/lemon/kary_heap.h @@ -138,16 +138,6 @@ return _comp(p1.second, p2.second); } - int findMin(const int child, const int length) { - int min=child, i=1; - while( i0 && less(p,_data[par]) ) { @@ -161,14 +151,29 @@ void bubbleDown(int hole, Pair p, int length) { if( length>1 ) { int child = firstChild(hole); - while( child