Package elki.distance
Interface DBIDDistance
-
- All Known Subinterfaces:
DBIDRangeDistance
- All Known Implementing Classes:
AbstractDBIDRangeDistance
,DiskCacheBasedDoubleDistance
,DiskCacheBasedFloatDistance
,FileBasedSparseDoubleDistance
,FileBasedSparseFloatDistance
,RandomStableDistance
public interface DBIDDistance extends Distance<DBID>
Distance functions valid in a database context only (i.e. for DBIDs)For any "distance" that cannot be computed for arbitrary objects, only those that exist in the database and referenced by their ID.
Example: external precomputed distances
- Since:
- 0.4.0
- Author:
- Erich Schubert
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description double
distance(DBIDRef id1, DBIDRef id2)
Returns the distance between the two objects specified by their object ids.-
Methods inherited from interface elki.distance.Distance
getInputTypeRestriction, instantiate, isMetric, isSquared, isSymmetric
-
-