calculateSimilarity
public Similarity calculateSimilarity(SpecialAttribute att1,
SpecialAttribute att2)
Returns the similarity of the given attributes.
Returns null if the attributes do not have the same description,
if they are not of type SymbolAttribute or SpecialValueAttribute,
or if there is something wrong with the index structure provided by
the given range.
- Parameters:
att1 - first attributeatt2 - second attribute
- Returns:
- similarity of the given attributes, invalid similarity if an error occurs
- Throws:
java.lang.Exception