public interface DistanceMeasure extends Serializable
|Modifier and Type||Method and Description|
Compute the distance between two n-dimensional vectors.
double compute(double a, double b)
The two vectors are required to have the same dimension.
a- the first vector
b- the second vector
Copyright © 2003–2013 The Apache Software Foundation. All rights reserved.