Interface RdKNNEntry

  • All Superinterfaces:
    java.io.Externalizable, java.io.Serializable, 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 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