public interface DBIDRangeDistanceFunction extends DBIDDistanceFunction
Modifier and Type | Method and Description |
---|---|
void |
checkRange(DBIDRange range)
Validate the range of DBIDs to use.
|
double |
distance(int i1,
int i2)
Compute the distance for two integer offsets.
|
distance
getInputTypeRestriction, instantiate, isMetric, isSquared, isSymmetric
double distance(int i1, int i2)
i1
- First offseti2
- Second offsetvoid checkRange(DBIDRange range)
range
- DBID rangeCopyright © 2019 ELKI Development Team. License information.