summaryrefslogtreecommitdiff
path: root/src/de/lmu/ifi/dbs/elki/distance/distancefunction/SpatialPrimitiveDistanceFunction.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/de/lmu/ifi/dbs/elki/distance/distancefunction/SpatialPrimitiveDistanceFunction.java')
-rw-r--r--src/de/lmu/ifi/dbs/elki/distance/distancefunction/SpatialPrimitiveDistanceFunction.java23
1 files changed, 6 insertions, 17 deletions
diff --git a/src/de/lmu/ifi/dbs/elki/distance/distancefunction/SpatialPrimitiveDistanceFunction.java b/src/de/lmu/ifi/dbs/elki/distance/distancefunction/SpatialPrimitiveDistanceFunction.java
index 2dd6bd06..27dd1219 100644
--- a/src/de/lmu/ifi/dbs/elki/distance/distancefunction/SpatialPrimitiveDistanceFunction.java
+++ b/src/de/lmu/ifi/dbs/elki/distance/distancefunction/SpatialPrimitiveDistanceFunction.java
@@ -4,7 +4,7 @@ package de.lmu.ifi.dbs.elki.distance.distancefunction;
This file is part of ELKI:
Environment for Developing KDD-Applications Supported by Index-Structures
- Copyright (C) 2011
+ Copyright (C) 2012
Ludwig-Maximilians-Universität München
Lehr- und Forschungseinheit für Datenbanksysteme
ELKI Development Team
@@ -32,33 +32,22 @@ import de.lmu.ifi.dbs.elki.distance.distancevalue.Distance;
* API for a spatial primitive distance function.
*
* @author Erich Schubert
- *
+ *
* @param <V> Vector type
* @param <D> Distance type
*/
public interface SpatialPrimitiveDistanceFunction<V extends SpatialComparable, D extends Distance<D>> extends PrimitiveDistanceFunction<V, D> {
/**
- * Computes the distance between the two given MBRs according to this
- * distance function.
+ * Computes the distance between the two given MBRs according to this distance
+ * function.
*
* @param mbr1 the first MBR object
* @param mbr2 the second MBR object
- * @return the distance between the two given MBRs according to this
- * distance function
+ * @return the distance between the two given MBRs according to this distance
+ * function
*/
D minDist(SpatialComparable mbr1, SpatialComparable mbr2);
- /**
- * Computes the distance between the centroids of the two given MBRs
- * according to this distance function.
- *
- * @param mbr1 the first MBR object
- * @param mbr2 the second MBR object
- * @return the distance between the centroids of the two given MBRs
- * according to this distance function
- */
- D centerDistance(SpatialComparable mbr1, SpatialComparable mbr2);
-
@Override
public <T extends V> SpatialDistanceQuery<T, D> instantiate(Relation<T> relation);
} \ No newline at end of file