Searched refs:getParentIndex (Results 1 – 1 of 1) sorted by relevance
522 parent = elementData(getParentIndex(removeIndex)); in tryCrossOverAndBubbleUp()615 int parentIndex = getParentIndex(index); in crossOverUp()622 int grandparentIndex = getParentIndex(parentIndex); in crossOverUp()652 int parentIndex = getParentIndex(size); in getCorrectLastElement()654 int grandparentIndex = getParentIndex(parentIndex); in getCorrectLastElement()714 if ((i > 0) && (compareElements(i, getParentIndex(i)) > 0)) { in verifyIndex()733 private int getParentIndex(int i) { in getParentIndex() method in MinMaxPriorityQueue.Heap738 return getParentIndex(getParentIndex(i)); // (i - 3) / 4 in getGrandparentIndex()