public class EuclideanDistance extends java.lang.Object implements DistanceMeasure
| Constructor and Description |
|---|
EuclideanDistance() |
| Modifier and Type | Method and Description |
|---|---|
double |
distance(Vector one,
Vector other)
Calculate the distance between two vectors.
|
public double distance(Vector one, Vector other)
DistanceMeasuredistance in interface DistanceMeasureone - The first vector.other - The other vector