Package org.ujmp.core.util
Interface DistanceMeasure
-
- All Known Implementing Classes:
EuclidianDistance
,ManhattanDistance
public interface DistanceMeasure
A distance measure that can be used to determine a specific distance between two samples ofdouble
values.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description double
getDistance(double[] sample1, double[] sample2)
Get the distance between two data samples.
-