public class HistogramMatchDistanceFunction extends AbstractVectorDoubleDistanceFunction
Modifier and Type | Class and Description |
---|---|
static class |
HistogramMatchDistanceFunction.Parameterizer
Parameterization class, using the static instance.
|
Modifier and Type | Field and Description |
---|---|
static HistogramMatchDistanceFunction |
STATIC
Static instance.
|
Constructor and Description |
---|
HistogramMatchDistanceFunction()
Deprecated.
Use static instance!
|
Modifier and Type | Method and Description |
---|---|
double |
doubleDistance(NumberVector<?> v1,
NumberVector<?> v2)
Computes the distance between two given Objects according to this distance
function.
|
boolean |
equals(Object obj) |
String |
toString() |
dimensionality, dimensionality, dimensionality, dimensionality, distance, getDistanceFactory, getInputTypeRestriction
instantiate, isMetric, isSymmetric
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
instantiate, isMetric, isSymmetric
public static final HistogramMatchDistanceFunction STATIC
@Deprecated public HistogramMatchDistanceFunction()
public double doubleDistance(NumberVector<?> v1, NumberVector<?> v2)
PrimitiveDoubleDistanceFunction
v1
- first Objectv2
- second Object