Heap.MakeRanked
module Rank : RankedType
type elt = Rank.t
The type of elements of the heap.
val in_heap : elt -> bool
Heap membership function.
val size : t -> int
Returns the current size of the heap.
val is_empty : t -> bool
Is the heap empty ?
val grow_to_by_double : t -> int -> unit
Grow the size of the heap by multiplying it by 2 until it is at least the size specified.