Interface MkTabEntry

  • All Superinterfaces:
    java.io.Externalizable, MTreeEntry, java.io.Serializable
    All Known Implementing Classes:
    MkTabDirectoryEntry, MkTabLeafEntry

    public interface MkTabEntry
    extends MTreeEntry
    Defines the requirements for an entry in an MkCop-Tree node. Additionally to an entry in an M-Tree an MkTabEntry holds a list of knn distances for for parameters k <= k_max of the underlying data object or MkTab-Tree node.
    Since:
    0.1
    Author:
    Elke Achtert
    • Method Detail

      • getKnnDistances

        double[] getKnnDistances()
        Returns the list of knn distances of the entry.
        Returns:
        the list of knn distances of the entry
      • setKnnDistances

        void setKnnDistances​(double[] knnDistances)
        Sets the knn distances of the entry.
        Parameters:
        knnDistances - the knn distances to be set
      • getKnnDistance

        double getKnnDistance​(int k)
        Returns the knn distance of the entry for the specified parameter k.
        Parameters:
        k - the parameter k of the knn distance
        Returns:
        the knn distance of the entry