module Queue:Vector.Queue
(
sig
typet =
Diameter.G.vertex
end
)
module V:Vector.OfArray
(
A
)
type
t = {
|
mutable v : |
|
mutable front : |
|
mutable back : |
typeelt =
V.elt
val create : ?size:int -> unit -> t
val is_empty : t -> bool
val clear : t -> unit
val add : t -> V.elt -> unit
val peek : t -> V.elt
val compact : t -> unit
val pop : t -> V.elt
val size : t -> int