Class PrecomputedSimilarityMatrix.Factory<O>

  • Type Parameters:
    O - Object type
    All Implemented Interfaces:
    IndexFactory<O>
    Enclosing class:
    PrecomputedSimilarityMatrix<O>

    public static class PrecomputedSimilarityMatrix.Factory<O>
    extends java.lang.Object
    implements IndexFactory<O>
    Factory for the index.
    Author:
    Erich Schubert
    • Field Detail

      • similarityFunction

        protected final Similarity<? super O> similarityFunction
        Nested similarity function.
    • Constructor Detail

      • Factory

        public Factory​(Similarity<? super O> similarityFunction)
        Constructor.
        Parameters:
        similarityFunction - Similarity function