smile.math.distance
Interface Distance<T>
-
- All Known Subinterfaces:
- Metric<T>
- All Known Implementing Classes:
- ChebyshevDistance, CorrelationDistance, DynamicTimeWarping, EditDistance, EuclideanDistance, HammingDistance, JaccardDistance, JensenShannonDistance, LeeDistance, MahalanobisDistance, ManhattanDistance, MinkowskiDistance, SparseChebyshevDistance, SparseEuclideanDistance, SparseManhattanDistance, SparseMinkowskiDistance, TaxonomicDistance
public interface Distance<T>An interface to calculate a distance measure between two objects. A distance function maps pairs of points into the nonnegative reals and has to satisfy- non-negativity: d(x, y) ≥ 0
- isolation: d(x, y) = 0 if and only if x = y
- symmetry: d(x, y) = d(x, y)
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method and Description doubled(T x, T y)Returns the distance measure between two objects.
-
DataMelt 3.0 © DataMelt by jWork.ORG