Class DoubleIntegerDBIDKNNHeap.UnorderedIter

    • Field Summary

      Fields 
      Modifier and Type Field Description
      private DoubleDBIDIter it
      Iterator of the real heap.
      private int t
      Position in ties.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      DoubleDBIDIter advance()
      Moves the iterator forward to the next entry.
      double doubleValue()
      Get the double value
      int internalGetIndex()
      Internal only: Get the internal index.
      boolean valid()
      Returns true if the iterator currently points to a valid object.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • t

        private int t
        Position in ties.
    • Constructor Detail

      • UnorderedIter

        public UnorderedIter​(DoubleDBIDIter it)
        Constructor.
        Parameters:
        it - Parent iterator
    • Method Detail

      • internalGetIndex

        public int internalGetIndex()
        Description copied from interface: DBIDRef
        Internal only: Get the internal index.

        NOT FOR PUBLIC USE - ELKI Optimization engine only.

        Specified by:
        internalGetIndex in interface DBIDRef
        Returns:
        Internal index
      • valid

        public boolean valid()
        Description copied from interface: Iter
        Returns true if the iterator currently points to a valid object.
        Specified by:
        valid in interface Iter
        Returns:
        a boolean value, whether the position is valid.