Legend:
Library
Module
Module type
Parameter
Class
Class type
Library
Module
Module type
Parameter
Class
Class type
type 'a node = {
mutable n : int;
mutable keys : V.t Utils.Finite_vector.t;
mutable values : 'a Utils.Finite_vector.t;
leaf : bool;
mutable children : 'a node Utils.Finite_vector.t;
mutable no_elements : int;
mutable capacity : int;
mutable min_child_capacity : int;
}
val size_node : 'a node -> int
val size : 'a t -> int
val pp_node_internal :
?pp_child:bool ->
?pp_v:(Format.formatter -> V.t -> unit) ->
int ->
(Format.formatter -> 'a -> unit) ->
Format.formatter ->
'a node ->
unit
val pp_node :
?pp_v:(Format.formatter -> V.t -> unit) ->
(Format.formatter -> 'a -> unit) ->
Format.formatter ->
'a node ->
unit
val show_node :
?pp_v:(Format.formatter -> V.t -> unit) ->
(Format.formatter -> 'a -> unit) ->
'a node ->
string
val show_node_no_children :
?pp_v:(Format.formatter -> V.t -> unit) ->
(Format.formatter -> 'a -> unit) ->
'a node ->
string
val pp :
?pp_v:(Format.formatter -> V.t -> unit) ->
(Format.formatter -> 'a -> unit) ->
Format.formatter ->
'a t ->
unit
val show :
?pp_v:(Format.formatter -> V.t -> unit) ->
(Format.formatter -> 'a -> unit) ->
'a t ->
string
val init : ?max_children:int -> unit -> 'a t
val min_capacity : 'a node Utils.Finite_vector.t -> int option
val split_child : 'a node -> int -> unit