removeMax.MaxHeap {Containers} | R Documentation |
This method removes and returns the largest element of a MaxHeap
.
largest = aMaxHeap$removeMax()
removeMax
removes and returns the root element of the MaxHeap
in question, or returns NULL
if the MaxHeap
is empty.
John Hughes