`sig
type 'a t = 'a BatHeap.t
val size : 'a t -> int
val empty : 'a t
val insert : 'a t -> 'a -> 'a t
val add : 'a -> 'a t -> 'a t
val merge : 'a t -> 'a t -> 'a t
val find_min : 'a t -> 'a
val del_min : 'a t -> 'a t
val of_list : 'a list -> 'a t
val to_list : 'a t -> 'a list
val elems : 'a t -> 'a list
val of_enum : 'a BatEnum.t -> 'a t
val enum : 'a t -> 'a BatEnum.t
val print :
?first:string ->
?last:string ->
?sep:string -> ('a, 'b) BatIO.printer -> ('a t, 'b) BatIO.printer
module type H =
sig
type elem
type t
val empty : t
val size : t -> int
val insert : t -> elem -> t
val add : elem -> t -> t
val merge : t -> t -> t
val find_min : t -> elem
val del_min : t -> t
val of_list : elem list -> t
val to_list : t -> elem list
val elems : t -> elem list
val of_enum : elem BatEnum.t -> t
val enum : t -> elem BatEnum.t
val print :
?first:string ->
?last:string ->
?sep:string -> (elem, 'a) BatIO.printer -> (t, 'a) BatIO.printer
end
module Make :
functor (Ord : BatInterfaces.OrderedType) ->
sig
type elem = Ord.t
type t = BatHeap.Make(Ord).t
val empty : t
val size : t -> int
val insert : t -> elem -> t
val add : elem -> t -> t
val merge : t -> t -> t
val find_min : t -> elem
val del_min : t -> t
val of_list : elem list -> t
val to_list : t -> elem list
val elems : t -> elem list
val of_enum : elem BatEnum.t -> t
val enum : t -> elem BatEnum.t
val print :
?first:string ->
?last:string ->
?sep:string -> (elem, 'a) BatIO.printer -> (t, 'a) BatIO.printer
end
end`