|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
V
- Vector typeD
- Distance typepublic interface SpatialPrimitiveDistanceFunction<V extends SpatialComparable,D extends Distance<D>>
API for a spatial primitive distance function.
Method Summary | ||
---|---|---|
D |
centerDistance(SpatialComparable mbr1,
SpatialComparable mbr2)
Computes the distance between the centroids of the two given MBRs according to this distance function. |
|
|
instantiate(Relation<T> relation)
Instantiate with a database to get the actual distance query. |
|
D |
minDist(SpatialComparable mbr1,
SpatialComparable mbr2)
Computes the distance between the two given MBRs according to this distance function. |
Methods inherited from interface de.lmu.ifi.dbs.elki.distance.distancefunction.PrimitiveDistanceFunction |
---|
distance, getInputTypeRestriction |
Methods inherited from interface de.lmu.ifi.dbs.elki.distance.distancefunction.DistanceFunction |
---|
getDistanceFactory, isMetric, isSymmetric |
Method Detail |
---|
D minDist(SpatialComparable mbr1, SpatialComparable mbr2)
mbr1
- the first MBR objectmbr2
- the second MBR object
D centerDistance(SpatialComparable mbr1, SpatialComparable mbr2)
mbr1
- the first MBR objectmbr2
- the second MBR object
<T extends V> SpatialDistanceQuery<T,D> instantiate(Relation<T> relation)
DistanceFunction
instantiate
in interface DistanceFunction<V extends SpatialComparable,D extends Distance<D>>
relation
- The representation to use
|
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |