public class ChebyshevDistance extends java.lang.Object implements Metric<double[]>, java.io.Serializable
| Constructor and Description |
|---|
ChebyshevDistance()
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
double |
d(double[] x,
double[] y)
Chebyshev distance between the two arrays of type double.
|
static double |
d(float[] x,
float[] y)
Chebyshev distance between the two arrays of type float.
|
static double |
d(int[] x,
int[] y)
Chebyshev distance between the two arrays of type integer.
|
java.lang.String |
toString() |
public java.lang.String toString()
toString in class java.lang.Objectpublic static double d(int[] x,
int[] y)
public static double d(float[] x,
float[] y)