@PublicationReference(title="Chebyshev Distance", author="Wikipedia", year=2011, type=WebPage, url="http://en.wikipedia.org/wiki/Chebyshev_distance") public class ChebyshevDistanceMetric extends AbstractCloneableSerializable implements Metric<Vectorizable>
Constructor and Description |
---|
ChebyshevDistanceMetric()
Creates a new
ChebyshevDistanceMetric . |
Modifier and Type | Method and Description |
---|---|
double |
evaluate(Vectorizable first,
Vectorizable second)
Evaluates the divergence between the two given objects.
|
clone
public ChebyshevDistanceMetric()
ChebyshevDistanceMetric
.public double evaluate(Vectorizable first, Vectorizable second)
DivergenceFunction
evaluate
in interface DivergenceFunction<Vectorizable,Vectorizable>
first
- The first object.second
- The second object.