(Available since version 1.0)
This class provides the main functionalities of a heap, keeping the minimum on the top. The underlying implementation is a pairing heap.
It provides the same interface as SplMinHeap with the extra method, Heap::update() which allows one to update a node in the heap.
$a
,
SEIDS::Heaps::Pairing::Subheap
$b
)