public interface DBIDRange extends ArrayStaticDBIDs, DataStoreIDMap
Modifier and Type | Method and Description |
---|---|
int |
getOffset(DBIDRef dbid)
Get offset in the array for a particular DBID.
|
assignVar, binarySearch, get, iter, size, slice
mapDBIDToOffset
int getOffset(DBIDRef dbid)
range.get(getOffset(id)) == id
and
range.getOffset(range.get(idx)) == idx
.dbid
- ID to compute index forCopyright © 2015 ELKI Development Team, Lehr- und Forschungseinheit für Datenbanksysteme, Ludwig-Maximilians-Universität München. License information.