Interface SMAggregateMinkowski
- All Superinterfaces:
SimilarityMeasure
,SMAggregate
,SMAggregateWeighted
- All Known Subinterfaces:
SMAggregateEuclidian
- All Known Implementing Classes:
SMAggregateEuclidianImpl
,SMAggregateMinkowskiImpl
The Minkowski aggregation is a generalization of this weighted average. The higher the value of
the parameter p ≥ 1, the higher is the influence of the attribute with the highest local
similarity. For p to infinity this aggregation function becomes the maximum aggregation.
Φ(s, …, si) = (∑ni=1 (ωi · spi))1/p
-
Field Summary
Modifier and TypeFieldDescriptionstatic final double
Default minkowsky p value is 2.0.static final String
Name of similarity measure is "AggregateMinkowski".Fields inherited from interface de.uni_trier.wi2.procake.similarity.SimilarityMeasure
LOG_ORDER_NAME_NOT_FOUND
Fields inherited from interface de.uni_trier.wi2.procake.similarity.base.aggregate.SMAggregate
DEFAULT_IGNORE_NULL_ATTRIBUTES_IN_QUERY, LOG_ATTRIBUTE_NAME_NOT_FOUND, LOG_ATTRIBUTE_NOT_FOUND, PROPERTY_USER_WEIGHT
Fields inherited from interface de.uni_trier.wi2.procake.similarity.base.aggregate.SMAggregateWeighted
DEFAULT_WEIGHT
-
Method Summary
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.aggregate.SMAggregate
getSimilaritiesToUse, getSimilaritiesToUse, getSimilarityToUse, isIgnoreNullAttributesInQuery, setIgnoreNullAttributesInQuery, setSimilarityToUse
Methods inherited from interface de.uni_trier.wi2.procake.similarity.base.aggregate.SMAggregateWeighted
getAttributeWeights, getDefaultWeight, getWeight, setDefaultWeight, setWeight
-
Field Details
-
NAME
Name of similarity measure is "AggregateMinkowski".- See Also:
-
DEFAULT_MINKOWSKY_P
static final double DEFAULT_MINKOWSKY_PDefault minkowsky p value is 2.0.- See Also:
-
-
Method Details
-
getMinkowskiP
double getMinkowskiP() -
setMinkowskiP
void setMinkowskiP(double p) - Parameters:
p
- must be ≥ 1
-