private class DoubleIntegerDBIDKNNHeap.UnorderedIter extends java.lang.Object implements DoubleDBIDListIter
| Modifier and Type | Field and Description |
|---|---|
private DoubleIntegerHeap.UnsortedIter |
it
Iterator of the real heap.
|
private int |
t
Position in ties.
|
| Modifier | Constructor and Description |
|---|---|
private |
UnorderedIter() |
| Modifier and Type | Method and Description |
|---|---|
DoubleDBIDListIter |
advance()
Moves the iterator forward to the next entry.
|
DoubleDBIDListIter |
advance(int count)
Moves the iterator forward or backward by the given offset.
|
double |
doubleValue()
Get the double value
|
int |
getOffset()
Get current iterator offset.
|
int |
internalGetIndex()
Internal only: Get the internal index.
|
DoubleDBIDListIter |
retract()
Moves the iterator backward to the previous entry.
|
DoubleDBIDListIter |
seek(int off)
Moves the iterator to the given position
|
boolean |
valid()
Returns true if the iterator currently points to a valid object.
|
private DoubleIntegerHeap.UnsortedIter it
private int t
public int internalGetIndex()
DBIDRefNOT FOR PUBLIC USE - ELKI Optimization engine only.
internalGetIndex in interface DBIDRefpublic boolean valid()
Iterpublic int getOffset()
ArrayIterpublic double doubleValue()
DoubleDBIDListIterdoubleValue in interface DoubleDBIDListIterpublic DoubleDBIDListIter advance()
Iteradvance in interface DBIDArrayIteradvance in interface DBIDIteradvance in interface DoubleDBIDListIteradvance in interface ArrayIteradvance in interface Iterpublic DoubleDBIDListIter advance(int count)
ArrayIteradvance in interface DBIDArrayIteradvance in interface DoubleDBIDListIteradvance in interface ArrayItercount - offset to move forward or backwardspublic DoubleDBIDListIter retract()
ArrayIterretract in interface DBIDArrayIterretract in interface DoubleDBIDListIterretract in interface ArrayIterpublic DoubleDBIDListIter seek(int off)
ArrayIterseek in interface DBIDArrayIterseek in interface DoubleDBIDListIterseek in interface ArrayIteroff - Seek offsetCopyright © 2019 ELKI Development Team. License information.