Class SimplifiedCoverTree.Factory<O>

    • Constructor Detail

      • Factory

        public Factory​(Distance<? super O> distance,
                       double expansion,
                       int truncate)
        Constructor.
        Parameters:
        distance - Distance function
        expansion - Expansion rate
        truncate - Truncate branches with less than this number of instances
    • Method Detail

      • instantiate

        public SimplifiedCoverTree<O> instantiate​(Relation<O> relation)
        Description copied from interface: IndexFactory
        Sets the database in the distance function of this index (if existing).
        Parameters:
        relation - the relation to index