| Modifier and Type | Field and Description |
|---|---|
| private static final long | serialVersionUID
Serializable version identifier. |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public double | compute(double[]
the first vector a, double[] the second vector b)Implements org. Compute the distance between two n-dimensional vectors. |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID Serializable version identifier. | |
| CanberraDistance | back to summary |
|---|---|
| public CanberraDistance() | |
| compute | back to summary |
|---|---|
| public double compute(double[] a, double[] b) throws DimensionMismatchException Implements org. Doc from org. Compute the distance between two n-dimensional vectors. The two vectors are required to have the same dimension.
| |