public class JensenShannonDivergenceDistanceFunction extends JeffreyDivergenceDistanceFunction
Modifier and Type | Class and Description |
---|---|
static class |
JensenShannonDivergenceDistanceFunction.Parameterizer
Parameterization class, using the static instance.
|
Modifier and Type | Field and Description |
---|---|
static JensenShannonDivergenceDistanceFunction |
STATIC
Static instance.
|
Constructor and Description |
---|
JensenShannonDivergenceDistanceFunction()
Deprecated.
Use static instance!
|
Modifier and Type | Method and Description |
---|---|
double |
distance(NumberVector v1,
NumberVector v2)
Computes the distance between two given DatabaseObjects according to this
distance function.
|
double |
minDist(SpatialComparable mbr1,
SpatialComparable mbr2)
Computes the distance between the two given MBRs according to this distance
function.
|
String |
toString() |
equals
instantiate
dimensionality, dimensionality, dimensionality, dimensionality, getInputTypeRestriction
isMetric, isSymmetric
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getInputTypeRestriction
isMetric, isSymmetric
public static final JensenShannonDivergenceDistanceFunction STATIC
@Deprecated public JensenShannonDivergenceDistanceFunction()
public double distance(NumberVector v1, NumberVector v2)
PrimitiveDistanceFunction
distance
in interface NumberVectorDistanceFunction<NumberVector>
distance
in interface PrimitiveDistanceFunction<NumberVector>
distance
in class JeffreyDivergenceDistanceFunction
v1
- first DatabaseObjectv2
- second DatabaseObjectpublic double minDist(SpatialComparable mbr1, SpatialComparable mbr2)
SpatialPrimitiveDistanceFunction
minDist
in interface SpatialPrimitiveDistanceFunction<NumberVector>
minDist
in class JeffreyDivergenceDistanceFunction
mbr1
- the first MBR objectmbr2
- the second MBR objectpublic String toString()
toString
in class JeffreyDivergenceDistanceFunction
Copyright © 2015 ELKI Development Team, Lehr- und Forschungseinheit für Datenbanksysteme, Ludwig-Maximilians-Universität München. License information.