Package elki.index

Interface SimilarityIndex<O>

  • Type Parameters:
    O - Object type
    All Superinterfaces:
    Index
    All Known Implementing Classes:
    PrecomputedSimilarityMatrix

    public interface SimilarityIndex<O>
    extends Index
    Index with support for similarity queries (e.g., precomputed similarity matrixes, caches)
    Since:
    0.4.0
    Author:
    Erich Schubert
    • Method Detail

      • getSimilarityQuery

        SimilarityQuery<O> getSimilarityQuery​(Similarity<? super O> simFunction)
        Get a similarity query object for the given similarity function.
        Parameters:
        simFunction - Similarity function to use.
        Returns:
        similarity query object or null