Searched refs:smallerChild (Results 1 – 2 of 2) sorted by relevance
139 size_t smallerChild; in extractMin() local146 smallerChild = leftChild; in extractMin()149 smallerChild = rightChild; in extractMin()154 smallerChild = leftChild; in extractMin()163 openList[current] = openList[smallerChild]; in extractMin()167 current = smallerChild; in extractMin()
309 int smallerChild; in B_PQTrickleDown() local317 smallerChild = in B_PQTrickleDown()323 if( top->f <= pq->heapArray[smallerChild]->f ) in B_PQTrickleDown()326 pq->heapArray[index] = pq->heapArray[smallerChild]; in B_PQTrickleDown()327 index = smallerChild; // go down in B_PQTrickleDown()