Heap::swapWithParent

(Available since version 1.0)

Heap::swapWithParentSwap a node with its parent

Description

protected void Heap::swapWithParent ( SubHeap $child )

Swaps around the node, child, and its parent.

Parameters

child

The node to be moved.

Return Values

No value is returned.

To Top