public class EuclideanDistance extends java.lang.Object implements DistanceMetric
| Constructor and Description |
|---|
EuclideanDistance() |
| Modifier and Type | Method and Description |
|---|---|
double |
distance(double[] s0,
double[] s1)
Returns the distance between state s0 and state s1.
|
public double distance(double[] s0,
double[] s1)
DistanceMetricdistance in interface DistanceMetrics0 - a state represented with a double arrays1 - a state represented with a double array