metrics
Interface MetricModel
- All Known Implementing Classes:
- CityBlockMetric, EuclidesMetric, MinkowskiMetric
public interface MetricModel
Computes distance between pairs of objects.
Method Summary |
double |
getDistance(double[] firstVector,
double[] secondVector)
Return value containing the distance information |
getDistance
double getDistance(double[] firstVector,
double[] secondVector)
- Return value containing the distance information
- Parameters:
firstVector
- first input vectorsecondVector
- second input vector
- Returns:
- distance inrormation