peekMin.MinHeap {Containers} | R Documentation |
This method returns the root element of a MinHeap
.
smallest = aMinHeap$peekMin()
peekMin
returns the root element of the MinHeap
in question, or NULL
if the MinHeap
is empty.
John Hughes