asak

Partitioning OCaml codes
IN THIS PACKAGE
Module Asak . Wtree
type 'a wtree =
| Node of int * 'a wtree * 'a wtree
| Leaf of 'a

Type for weighted trees.

val fold_tree : ( int -> 'b -> 'b -> 'b ) -> ( 'a -> 'b ) -> 'a wtree -> 'b
val size_of_tree : ( 'a -> int ) -> 'a wtree -> int