]> matita.cs.unibo.it Git - helm.git/blobdiff - matita/components/extlib/discrimination_tree.mli
...
[helm.git] / matita / components / extlib / discrimination_tree.mli
index 95e33d6ad43f0669354f0c53d8660afb381ce24b..c07715b21ccb1fcdc3514b9ed0ca970b85dde75e 100644 (file)
@@ -63,6 +63,9 @@ module type DiscriminationTree  =
       val in_index : t -> input -> (data -> bool) -> bool
       val retrieve_generalizations : t -> input -> dataset
       val retrieve_unifiables : t -> input -> dataset
+      (* the int is the number of symbools that matched, the list
+       * is sorted with biggest matches first. the same data may match
+       * twice, and thus appear twice with different number of matches *)
       val retrieve_generalizations_sorted : t -> input -> (data * int) list
       val retrieve_unifiables_sorted : t -> input -> (data * int) list
     end