62 for (tmp=a[i]; i*2 <= n; i=child) {
64 if ((child != n) && (a[child+1].dist > a[child].dist))
80 for (j=n; j>=2; j--) {
void swapItem(TAsoc *a, TAsoc *b)
void heapsort(TAsoc a[], int n)
Auxiliary function declaration for the MbICP module.
void perc_down(TAsoc a[], int i, int n)