public class CityBlockMetric extends Object implements MetricModel
| Constructor and Description |
|---|
CityBlockMetric()
Creates a new instance of CityBlockMetric
|
| Modifier and Type | Method and Description |
|---|---|
double |
getDistance(double[] firstVector,
double[] secondVector)
Return value containing the distance information.
|
public CityBlockMetric()
public double getDistance(double[] firstVector,
double[] secondVector)
getDistance in interface MetricModelfirstVector - first input vectorsecondVector - second input vectorDataMelt-1.1. http://jwork.org/dmelt/ ©