Static
computeComputes the local similarity value for a given attribute within a similarity value object, based on the provided similarity configuration.
This method handles both primitive (number) attributes and nested similarity structures.
The similarity value object containing attribute values (possibly nested).
The similarity configuration describing weights and nested configurations.
The name of the attribute for which to compute the similarity value.
The computed local similarity value as a number.
Static
runComputes new similarity data based on the values of similarity data previously loaded. The new similarity description is created based on a previous one, modifying the weights, so this function recalculate the global similarity values based on the old similarity values and the new local similarity weights.
Similarity values for a previous similarity function
Description of the new similarity data
A SimilarityData object
Utility class for computing the similarity values based on previouly loaded similarity data. It only has a method for computing and creating a new SimilarityData.