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 of double
values.
Method Summary |
double |
getDistance(double[] sample1,
double[] sample2)
Get the distance between two data samples. |
getDistance
double getDistance(double[] sample1,
double[] sample2)
- Get the distance between two data samples.
- Parameters:
sample1
- the first sample of double
valuessample2
- the second sample of double
values
- Returns:
- the distance between
sample1
and
sample2
Copyright © 2010. All Rights Reserved.