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, slicemapDBIDToOffsetint getOffset(DBIDRef dbid)
Should satisfy range.get(getOffset(id)) == id and
range.getOffset(range.get(idx)) == idx.
dbid - ID to compute index forCopyright © 2019 ELKI Development Team. License information.