Class SMAggregateEuclidianImpl
- java.lang.Object
-
- de.uni_trier.wi2.procake.similarity.impl.SimilarityMeasureImpl
-
- de.uni_trier.wi2.procake.similarity.base.aggregate.impl.SMAggregateImpl
-
- de.uni_trier.wi2.procake.similarity.base.aggregate.impl.SMAggregateWeightedImpl
-
- de.uni_trier.wi2.procake.similarity.base.aggregate.impl.SMAggregateMinkowskiImpl
-
- de.uni_trier.wi2.procake.similarity.base.aggregate.impl.SMAggregateEuclidianImpl
-
- All Implemented Interfaces:
SMAggregate
,SMAggregateEuclidian
,SMAggregateMinkowski
,SMAggregateWeighted
,SimilarityMeasure
public class SMAggregateEuclidianImpl extends SMAggregateMinkowskiImpl implements SMAggregateEuclidian
- Author:
- rmaximi
-
-
Field Summary
-
Fields inherited from class de.uni_trier.wi2.procake.similarity.base.aggregate.impl.SMAggregateWeightedImpl
k
-
Fields inherited from interface de.uni_trier.wi2.procake.similarity.SimilarityMeasure
COMPONENT, COMPONENT_KEY, LOG_ORDER_NAME_NOT_FOUND
-
Fields inherited from interface de.uni_trier.wi2.procake.similarity.base.aggregate.SMAggregate
COMPONENT, COMPONENT_KEY, 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.SMAggregateEuclidian
NAME
-
Fields inherited from interface de.uni_trier.wi2.procake.similarity.base.aggregate.SMAggregateMinkowski
DEFAULT_MINKOWSKY_P, NAME
-
Fields inherited from interface de.uni_trier.wi2.procake.similarity.base.aggregate.SMAggregateWeighted
DEFAULT_WEIGHT
-
-
Constructor Summary
Constructors Constructor Description SMAggregateEuclidianImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getSystemName()
The system name can be used to distinguish the similarity measures.void
setMinkowskiP(double p)
-
Methods inherited from class de.uni_trier.wi2.procake.similarity.base.aggregate.impl.SMAggregateMinkowskiImpl
compute, getMinkowskiP, initializeBasedOn
-
Methods inherited from class de.uni_trier.wi2.procake.similarity.base.aggregate.impl.SMAggregateWeightedImpl
getDefaultWeight, getUserSimWeightsNormalized, getWeight, isEveryUserSimWeightZero, setDefaultWeight, setWeight, validateQueryNotEmpty
-
Methods inherited from class de.uni_trier.wi2.procake.similarity.base.aggregate.impl.SMAggregateImpl
computeAttributeSimilarity, isIgnoreNullAttributesInQuery, isSimilarityFor, setIgnoreNullAttributesInQuery
-
Methods inherited from class de.uni_trier.wi2.procake.similarity.impl.SimilarityMeasureImpl
getDataClass, getName, initialize, isAggregate, isForceOverride, isInterval, isNumeric, isObject, isReusable, isSet, isTable, isTaxonomy, isText, setDataClass, setForceOverride, setName, toString
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface de.uni_trier.wi2.procake.similarity.SimilarityMeasure
compute, getDataClass, getName, isForceOverride, isReusable, setForceOverride
-
Methods inherited from interface de.uni_trier.wi2.procake.similarity.base.aggregate.SMAggregate
isIgnoreNullAttributesInQuery, setIgnoreNullAttributesInQuery
-
Methods inherited from interface de.uni_trier.wi2.procake.similarity.base.aggregate.SMAggregateMinkowski
getMinkowskiP
-
Methods inherited from interface de.uni_trier.wi2.procake.similarity.base.aggregate.SMAggregateWeighted
getDefaultWeight, getWeight, setDefaultWeight, setWeight
-
-
-
-
Method Detail
-
setMinkowskiP
public void setMinkowskiP(double p)
- Specified by:
setMinkowskiP
in interfaceSMAggregateMinkowski
- Overrides:
setMinkowskiP
in classSMAggregateMinkowskiImpl
- Parameters:
p
- must be ≥ 1
-
getSystemName
public String getSystemName()
Description copied from interface:SimilarityMeasure
The system name can be used to distinguish the similarity measures. Each similarity measure that can be instantiated contains a static final field called NAME representing the system name, e.g.,SMAggregateEuclidian.NAME
The system name must also be given during initialization, see
SimilarityModel.createSimilarityMeasure(String, DataClass)
.- Specified by:
getSystemName
in interfaceSimilarityMeasure
- Overrides:
getSystemName
in classSMAggregateMinkowskiImpl
- Returns:
- The system name of the similarity measure. This is equal to SimilarityMeasure.NAME.
-
-