|
|
|||||||||||||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
V
- the type of FeatureVector to compute the distances in betweenD
- distance typepublic interface SpatialDistanceFunction<V extends FeatureVector<V,?>,D extends Distance<D>>
Defines the requirements for a distance function that can used in spatial index to measure the dissimilarity between spatial data objects.
Method Summary | |
---|---|
D |
centerDistance(HyperBoundingBox mbr1,
HyperBoundingBox mbr2)
Computes the distance between the centroids of the two given MBRs according to this distance function. |
D |
distance(HyperBoundingBox mbr1,
HyperBoundingBox mbr2)
Computes the distance between the two given MBRs according to this distance function. |
D |
minDist(HyperBoundingBox mbr,
Integer id)
Computes the minimum distance between the given MBR and the FeatureVector object with the given id according to this distance function. |
D |
minDist(HyperBoundingBox mbr,
V v)
Computes the minimum distance between the given MBR and the FeatureVector object according to this distance function. |
Methods inherited from interface de.lmu.ifi.dbs.elki.distance.distancefunction.DistanceFunction |
---|
distance, distance, distance |
Methods inherited from interface de.lmu.ifi.dbs.elki.distance.MeasurementFunction |
---|
infiniteDistance, isInfiniteDistance, isNullDistance, isUndefinedDistance, nullDistance, requiredInputPattern, setDatabase, undefinedDistance, valueOf |
Methods inherited from interface de.lmu.ifi.dbs.elki.utilities.optionhandling.Parameterizable |
---|
checkGlobalParameterConstraints, collectOptions, getParameters, setParameters, shortDescription |
Method Detail |
---|
D minDist(HyperBoundingBox mbr, V v)
mbr
- the MBR objectv
- the FeatureVector object
D minDist(HyperBoundingBox mbr, Integer id)
mbr
- the MBR objectid
- the id of the FeatureVector object
D distance(HyperBoundingBox mbr1, HyperBoundingBox mbr2)
mbr1
- the first MBR objectmbr2
- the second MBR object
D centerDistance(HyperBoundingBox mbr1, HyperBoundingBox mbr2)
mbr1
- the first MBR objectmbr2
- the second MBR object
|
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |