- All Known Implementing Classes:
public interface DBIDRangeDistance extends DBIDDistanceDistance functions valid in a static database context only (i.e. for DBIDRanges) For any "distance" that cannot be computed for arbitrary objects, only those that exist in the database and referenced by their ID. Furthermore, the IDs must be contiguous. Example: external precomputed distances
- Erich Schubert
All Methods Instance Methods Abstract Methods Modifier and Type Method Description
checkRange(DBIDRange range)Validate the range of DBIDs to use.
distance(int i1, int i2)Compute the distance for two integer offsets.
double distance(int i1, int i2)Compute the distance for two integer offsets.
i1- First offset
i2- Second offset
void checkRange(DBIDRange range)Validate the range of DBIDs to use. This will log a warning if an obvious mismatch was found.
range- DBID range