V
- Vector typepublic interface SpatialDistanceQuery<V extends SpatialComparable> extends DistanceQuery<V>
HINT_BULK, HINT_EXACT, HINT_HEAVY_USE, HINT_NO_CACHE, HINT_OPTIMIZED_ONLY, HINT_SINGLE
Modifier and Type | Method and Description |
---|---|
SpatialPrimitiveDistanceFunction<? super V> |
getDistanceFunction()
Get the inner distance function.
|
double |
minDist(SpatialComparable mbr,
DBIDRef id)
Computes the minimum distance between the given MBR and the FeatureVector
object according to this distance function.
|
double |
minDist(SpatialComparable mbr,
V v)
Computes the minimum distance between the given MBR and the FeatureVector
object according to this distance function.
|
distance, distance, distance, distance, getRelation
double minDist(SpatialComparable mbr, V v)
mbr
- the MBR objectv
- the FeatureVector objectdouble minDist(SpatialComparable mbr, DBIDRef id)
mbr
- the MBR objectid
- the query object idSpatialPrimitiveDistanceFunction<? super V> getDistanceFunction()
getDistanceFunction
in interface DistanceQuery<V extends SpatialComparable>
Copyright © 2019 ELKI Development Team. License information.