Next: binary heaps sorting, Previous: binary heaps inspection, Up: binary heaps [Index]
The following bindings are exported by the library (vicare
containers binary-heaps)
. The bindings whose name is prefixed with
$
are unsafe operations: they do not validate their
arguments before accessing them.
Return the object at the root of the heap. Raise an assertion violation if heap is empty.
Push obj on the heap.
Remove the object at the root of the heap and return it. Raise an assertion violation if heap is empty.
Push on the heap the list of objects item*.
Remove all the elements from heap.