Interface RdKNNEntry

  • All Superinterfaces:
    java.io.Externalizable, java.io.Serializable, elki.data.spatial.SpatialComparable, SpatialEntry
    All Known Implementing Classes:
    RdKNNDirectoryEntry, RdKNNLeafEntry

    public interface RdKNNEntry
    extends SpatialEntry
    Defines the requirements for an entry in an RdKNN-Tree node. Additionally to an entry in an R*-Tree an RDkNNEntry holds the knn distance of the underlying data object or RdKNN-Tree node.
    Since:
    0.1
    Author:
    Elke Achtert
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      double getKnnDistance()
      Returns the knn distance of this entry.
      void setKnnDistance​(double knnDistance)
      Sets the knn distance of this entry.
      • Methods inherited from interface java.io.Externalizable

        readExternal, writeExternal
      • Methods inherited from interface elki.data.spatial.SpatialComparable

        getDimensionality, getMax, getMin
    • Method Detail

      • getKnnDistance

        double getKnnDistance()
        Returns the knn distance of this entry.
        Returns:
        the knn distance of this entry
      • setKnnDistance

        void setKnnDistance​(double knnDistance)
        Sets the knn distance of this entry.
        Parameters:
        knnDistance - the knn distance to be set