@Reference(authors="M.-M. Deza and E. Deza", title="Dictionary of distances", booktitle="Dictionary of distances") public class LorentzianDistanceFunction extends AbstractSpatialNorm
M.-M. Deza and E. Deza
Dictionary of distances
Modifier and Type | Class and Description |
---|---|
static class |
LorentzianDistanceFunction.Parameterizer
Parameterization class.
|
Modifier and Type | Field and Description |
---|---|
static LorentzianDistanceFunction |
STATIC
Static instance.
|
Constructor and Description |
---|
LorentzianDistanceFunction()
Deprecated.
Use
STATIC instance instead. |
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.
|
double |
norm(NumberVector v1)
Compute the norm of object obj.
|
instantiate
dimensionality, dimensionality, dimensionality, dimensionality, getInputTypeRestriction
isMetric, isSymmetric
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getInputTypeRestriction
isMetric, isSymmetric
public static final LorentzianDistanceFunction STATIC
@Deprecated public LorentzianDistanceFunction()
STATIC
instance instead.public double distance(NumberVector v1, NumberVector v2)
PrimitiveDistanceFunction
distance
in interface NumberVectorDistanceFunction<NumberVector>
distance
in interface PrimitiveDistanceFunction<NumberVector>
distance
in class AbstractPrimitiveDistanceFunction<NumberVector>
v1
- first DatabaseObjectv2
- second DatabaseObjectpublic double norm(NumberVector v1)
Norm
v1
- Objectpublic double minDist(SpatialComparable mbr1, SpatialComparable mbr2)
SpatialPrimitiveDistanceFunction
mbr1
- the first MBR objectmbr2
- the second MBR objectCopyright © 2015 ELKI Development Team, Lehr- und Forschungseinheit für Datenbanksysteme, Ludwig-Maximilians-Universität München. License information.