public class PostOfficeMetric extends java.lang.Object implements Metric
This is sometimes also called the British Rail metric and/or the shuttle metric.
Constructor and Description |
---|
PostOfficeMetric() |
Modifier and Type | Method and Description |
---|---|
double |
distance(double[] x,
double[] y)
Calculate the distance between two n-dimensional points
(required by Metric).
|