public interface IntegerDBIDKNNList extends KNNList, DoubleDBIDList, IntegerDBIDs
Modifier and Type | Method and Description |
---|---|
DoubleIntegerDBIDPair |
get(int index)
Direct object access.
|
DoubleIntegerDBIDListIter |
iter()
Get a DBID iterator (a more efficient API).
|
getK, getKNNDistance, size
DoubleIntegerDBIDListIter iter()
DBIDs
for(DBIDIter iter = ids.iter(); iter.valid(); iter.advance()) {
DBID id = iter.getDBID();
}
iter
in interface DBIDs
iter
in interface DoubleDBIDList
iter
in interface IntegerDBIDs
DoubleIntegerDBIDPair get(int index)
KNNList
get
in interface DoubleDBIDList
get
in interface KNNList
index
- OffsetCopyright © 2015 ELKI Development Team, Lehr- und Forschungseinheit für Datenbanksysteme, Ludwig-Maximilians-Universität München. License information.