
V - Vector typepublic interface SpatialPrimitiveDistanceFunction<V extends SpatialComparable> extends PrimitiveDistanceFunction<V>
| Modifier and Type | Method and Description | 
|---|---|
<T extends V>  | 
instantiate(Relation<T> relation)
Instantiate with a database to get the actual distance query. 
 | 
double | 
minDist(SpatialComparable mbr1,
       SpatialComparable mbr2)
Computes the distance between the two given MBRs according to this distance
 function. 
 | 
distance, getInputTypeRestrictionisMetric, isSymmetricdouble minDist(SpatialComparable mbr1, SpatialComparable mbr2)
mbr1 - the first MBR objectmbr2 - the second MBR object<T extends V> SpatialDistanceQuery<T> instantiate(Relation<T> relation)
DistanceFunctioninstantiate in interface DistanceFunction<V extends SpatialComparable>relation - The representation to useCopyright © 2015 ELKI Development Team, Lehr- und Forschungseinheit für Datenbanksysteme, Ludwig-Maximilians-Universität München. License information.