Fig. 1
From: Chemoinformatics and structural bioinformatics in OCaml

OCaml code defining a bucketized bisector-tree. The code is parameterized by a point type (P.t). The implementation works with any point type, as long as it defines a distance function