private static class KernelMatrix.RangeMap extends Object implements KernelMatrix.DBIDMap
Constructor and Description |
---|
KernelMatrix.RangeMap(DBIDRange range) |
Modifier and Type | Method and Description |
---|---|
int |
getOffset(DBIDRef id)
Get the offset of the DBID in the range.
|
DBIDArrayIter |
iter()
Get an array iterator, for scanning.
|
DBIDRange range
public KernelMatrix.RangeMap(DBIDRange range)
public int getOffset(DBIDRef id)
KernelMatrix.DBIDMap
getOffset
in interface KernelMatrix.DBIDMap
id
- IDpublic DBIDArrayIter iter()
KernelMatrix.DBIDMap
iter
in interface KernelMatrix.DBIDMap