Legend:
Library
Module
Module type
Parameter
Class
Class type
Library
Module
Module type
Parameter
Class
Class type
module Distance : sig ... end
module Hash : sig ... end
val initial_cluster : ('a * Lambda_hash.fingerprint) list -> 'a list HMap.t
Create initial clusters, grouping labels by fingerprint.
val cluster :
?filter_small_trees:int ->
('a * Lambda_hash.hash) list ->
'a list Wtree.wtree list
Given a list of AST hashes (identified by a key), perform a kind of complete-linkage clustering using a particular semimetric.
val print_cluster : ('a -> string) -> 'a list Wtree.wtree list -> unit
Print recursively a cluster given a printer for the labels.