@Reference(authors="M.-M. Deza and E. Deza", title="Dictionary of distances", booktitle="Dictionary of distances") public class LorentzianDistanceFunction extends AbstractSpatialDoubleDistanceNorm
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 |
doubleDistance(NumberVector<?> v1,
NumberVector<?> v2)
Computes the distance between two given Objects according to this distance
function.
|
double |
doubleMinDist(SpatialComparable mbr1,
SpatialComparable mbr2)
Computes the distance between the two given MBRs according to this
distance function.
|
double |
doubleNorm(NumberVector<?> v1)
Compute the norm of object obj as double value.
|
instantiate, minDist
norm
dimensionality, dimensionality, dimensionality, dimensionality, distance, getDistanceFactory, getInputTypeRestriction
isMetric, isSymmetric
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
distance, getInputTypeRestriction
getDistanceFactory, isMetric, isSymmetric
public static final LorentzianDistanceFunction STATIC
@Deprecated public LorentzianDistanceFunction()
STATIC
instance instead.public double doubleDistance(NumberVector<?> v1, NumberVector<?> v2)
PrimitiveDoubleDistanceFunction
v1
- first Objectv2
- second Objectpublic double doubleNorm(NumberVector<?> v1)
DoubleNorm
v1
- Objectpublic double doubleMinDist(SpatialComparable mbr1, SpatialComparable mbr2)
SpatialPrimitiveDoubleDistanceFunction
mbr1
- the first MBR objectmbr2
- the second MBR object