|
|
|||||||||||||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface SpatialDistanceFunction<O extends FeatureVector<O,?>,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 NumberVector object with the given id according to this distance function. |
D |
minDist(HyperBoundingBox mbr,
O o)
Computes the minimum distance between the given MBR and the NumberVector 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, description, getAttributeSettings, getParameters, getPossibleOptions, inlineDescription, setParameters |
Method Detail |
---|
D minDist(HyperBoundingBox mbr, O o)
mbr
- the MBR objecto
- the NumberVector object
D minDist(HyperBoundingBox mbr, Integer id)
mbr
- the MBR objectid
- the id of the NumberVector 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 |