Class PrecomputedDistanceMatrix.Factory<O>

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

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

      • distance

        protected final Distance<? super O> distance
        Nested distance function.
    • Constructor Detail

      • Factory

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