All Known Implementing Classes:
ConstantWeight, ErfcStddevWeight, ErfcWeight, ExponentialStddevWeight, ExponentialWeight, GaussStddevWeight, GaussWeight, InverseLinearWeight, InverseProportionalStddevWeight, InverseProportionalWeight, LinearWeight, QuadraticStddevWeight, QuadraticWeight
WeightFunction interface that allows the use of various distance-based weight
functions. In addition to the distance parameter, the maximum distance and
standard deviation are also given, to allow distance functions to be
normalized according to the maximum or standard deviation.
Author: Erich Schubert
double getWeight(double distance,
Evaluate weight function with given parameters.
Note that usually implementations will ignore either max or stddev.
distance - distance of the query point
max - maximum distance of all included points
stddev - standard deviation (i.e. quadratic mean / RMS) of the
Returns: weight for the query point
Copyright © 2019 ELKI Development Team. License information.