- All Known Subinterfaces:
- All Known Implementing Classes:
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
- Erich Schubert
All Methods Instance Methods Abstract Methods Modifier and Type Method Description
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