- All Superinterfaces:
- All Known Implementing Classes:
public interface SMTaxonomyNodeHeight extends SMTaxonomyThis measure computes the similarity between two nodes based on the height of the nodes. To calculate the similarity between two nodes the common parent of the nodes is searched and the heights of the nodes, which start with 1 for the root and increases the height for each level, are sourced. Similar to the measure for the Classic User Weighted taxonomy, there are three different strategies for the calculation of the similarity:
Strategy Similarity sim(q,c)= Optimistic height(commonFather(q,c)) / minimum(height(q), height(c) Pessimistic height(commonFather(q,c)) / maximum(height(q), height(c) Average height(commonFather(q,c)) / ((height(q) + height(c))/2)
- Rainer Maximini
Fields Modifier and Type Field Description
NAMEName of similarity measure is "TaxonomyNodeHeight".
STRATEGY_DEFAULTThe default strategy is .
Fields inherited from interface de.uni_trier.wi2.procake.similarity.SimilarityMeasure
COMPONENT, COMPONENT_KEY, LOG_ORDER_NAME_NOT_FOUND
All Methods Instance Methods Abstract Methods Modifier and Type Method Description
Methods inherited from interface de.uni_trier.wi2.procake.similarity.SimilarityMeasure
compute, getDataClass, getName, getSystemName, isForceOverride, isReusable, setForceOverride
Methods inherited from interface de.uni_trier.wi2.procake.similarity.base.taxonomy.SMTaxonomy
static final String NAMEName of similarity measure is "TaxonomyNodeHeight".
- See Also:
- Constant Field Values
static final Strategy STRATEGY_DEFAULTThe default strategy is .