public class EuclideanDistanceMetric extends SquaredEuclideanDistanceMetric
If you don't care about the true distance and only need for comparison,
SquaredEuclideanDistanceMetric will be faster because it doesn't calculate the actual
square root of the distances.
http://en.wikipedia.org/wiki/Euclidean_distance, Serialized Form
|Constructor and Description|
|Modifier and Type||Method and Description|
Returns the distance between the arguments.
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
public static EuclideanDistanceMetric apply()
Copyright © 2014–2017 The Apache Software Foundation. All rights reserved.