package asak
Module Asak.PartitionSource
Source
type 'a partition = {bad_type : 'a list;(*Keys identifying codes that either don't implement the searched function, or implement it with a bad type.
*)clusters : ('a * string) list Wtree.wtree list;(*Main result. Each class is composed of a tree representing a hierarchical clustering of "similar codes". Each leaf is a list of keys identifying "totally similar" codes, plus the considered code.
*)
}Type used to represent a partition.
Partitioning OCaml codes. Usage: create threshold name sol list.
- A value of 0 means "keep all sub-ASTs"
- A value of 100 means "don't keep any sub-AST"
Get the type of a value from a ML file. Usage: find_value_type_from_file name file.
Get the type of a value from a signature (usually obtained from a cmi). Usage: find_value_type_from_signature name signature.