
public class SubspaceEuclideanDistanceFunction extends SubspaceLPNormDistanceFunction
NumberVectors only in specified
dimensions.| Modifier and Type | Class and Description |
|---|---|
static class |
SubspaceEuclideanDistanceFunction.Parameterizer
Parameterization class.
|
dimensions| Constructor and Description |
|---|
SubspaceEuclideanDistanceFunction(long[] dimensions)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
double |
distance(NumberVector v1,
NumberVector v2)
Constructor.
|
double |
minDist(SpatialComparable mbr1,
SpatialComparable mbr2)
Computes the distance between the two given MBRs according to this distance
function.
|
protected double |
minDistObject(SpatialComparable mbr,
NumberVector v) |
double |
norm(NumberVector obj)
Compute the norm of object obj.
|
getInputTypeRestriction, getP, instantiate, isMetricequals, getSelectedDimensions, setSelectedDimensionsisSymmetricclone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitisSymmetricpublic SubspaceEuclideanDistanceFunction(long[] dimensions)
dimensions - Selected dimensionspublic double distance(NumberVector v1, NumberVector v2)
distance in interface NumberVectorDistanceFunction<NumberVector>distance in interface PrimitiveDistanceFunction<NumberVector>distance in class SubspaceLPNormDistanceFunctionv1 - first feature vectorv2 - second feature vectorprotected double minDistObject(SpatialComparable mbr, NumberVector v)
minDistObject in class SubspaceLPNormDistanceFunctionpublic double minDist(SpatialComparable mbr1, SpatialComparable mbr2)
SpatialPrimitiveDistanceFunctionminDist in interface SpatialPrimitiveDistanceFunction<NumberVector>minDist in class SubspaceLPNormDistanceFunctionmbr1 - the first MBR objectmbr2 - the second MBR objectpublic double norm(NumberVector obj)
Normnorm in interface Norm<NumberVector>norm in class SubspaceLPNormDistanceFunctionobj - ObjectCopyright © 2015 ELKI Development Team, Lehr- und Forschungseinheit für Datenbanksysteme, Ludwig-Maximilians-Universität München. License information.