Class MetricalIndexTree<O,​N extends Node<E>,​E>

  • Type Parameters:
    O - the type of objects stored in the index
    N - the type of nodes used in the metrical index
    E - the type of entries used in the metrical index
    All Implemented Interfaces:
    Index
    Direct Known Subclasses:
    AbstractMTree

    public abstract class MetricalIndexTree<O,​N extends Node<E>,​E>
    extends IndexTree<N,​E>
    Abstract super class for all metrical index classes.
    Since:
    0.1
    Author:
    Elke Achtert
    • Constructor Detail

      • MetricalIndexTree

        public MetricalIndexTree​(PageFile<N> pagefile)
        Constructor.
        Parameters:
        pagefile - Page file
    • Method Detail

      • getDistance

        public abstract Distance<? super O> getDistance()
        Returns the distance function of this metrical index.
        Returns:
        the distance function of this metrical index
      • getLeaves

        public abstract java.util.List<E> getLeaves()
        Returns a list of entries pointing to the leaf nodes of this spatial index.
        Returns:
        a list of entries pointing to the leaf nodes of this spatial index