Interface SMNumericExponential
- All Superinterfaces:
SimilarityMeasure
,SMNumeric
- All Known Implementing Classes:
SMNumericExponentialImpl
Another possibility to describe the similarity between two numeric values is by an exponential
function. The semantics of such a similarity function is that little differences between the two
values cause a big decrease of similarity. The larger the parameter $\alpha$ the faster is the
decrease.
-
Nested Class Summary
Nested classes/interfaces inherited from interface de.uni_trier.wi2.procake.similarity.base.numeric.SMNumeric
SMNumeric.ZERO_OUT_STRATEGIES
-
Field Summary
Modifier and TypeFieldDescriptionstatic final double
The default alpha value is 1.0.static final String
Name of similarity measure is "NumericExponential".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.numeric.SMNumeric
DEFAULT_STRATEGY
-
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.numeric.SMNumeric
getAsymmetricStrategy, setAsymmetricStrategy
-
Field Details
-
NAME
Name of similarity measure is "NumericExponential".- See Also:
-
DEFAULT_ALPHA
static final double DEFAULT_ALPHAThe default alpha value is 1.0.- See Also:
-
-
Method Details
-
getAlpha
double getAlpha()Alpha should be greater 1, e.g., 5.- Returns:
- the alpha value
-
setAlpha
void setAlpha(double alpha) Alpha is necessary for exponential function- Parameters:
alpha
- must be greater zero
-