Class NaiveProjectedKNNPreprocessor.Factory<V extends elki.data.NumberVector>

  • Type Parameters:
    V - Vector type
    All Implemented Interfaces:
    elki.index.IndexFactory<V>
    Enclosing class:
    NaiveProjectedKNNPreprocessor<O extends elki.data.NumberVector>

    public static class NaiveProjectedKNNPreprocessor.Factory<V extends elki.data.NumberVector>
    extends java.lang.Object
    implements elki.index.IndexFactory<V>
    Index factory class
    Author:
    Erich Schubert
    • Field Summary

      Fields 
      Modifier and Type Field Description
      (package private) elki.data.projection.random.RandomProjectionFamily proj
      Random projection family to use.
      (package private) int projections
      Number of projections to use.
      (package private) elki.utilities.random.RandomFactory random
      Random number generator.
      (package private) double window
      Curve window size
    • Constructor Summary

      Constructors 
      Constructor Description
      Factory​(double window, int projections, elki.data.projection.random.RandomProjectionFamily proj, elki.utilities.random.RandomFactory random)
      Constructor.
    • Field Detail

      • window

        double window
        Curve window size
      • projections

        int projections
        Number of projections to use.
      • proj

        elki.data.projection.random.RandomProjectionFamily proj
        Random projection family to use.
      • random

        elki.utilities.random.RandomFactory random
        Random number generator.
    • Constructor Detail

      • Factory

        public Factory​(double window,
                       int projections,
                       elki.data.projection.random.RandomProjectionFamily proj,
                       elki.utilities.random.RandomFactory random)
        Constructor.
        Parameters:
        window - Window multiplicator.
        projections - Number of projections to use.
        proj - Projection family to use.
        random - Random number generator.
    • Method Detail

      • instantiate

        public NaiveProjectedKNNPreprocessor<V> instantiate​(elki.database.relation.Relation<V> relation)
        Specified by:
        instantiate in interface elki.index.IndexFactory<V extends elki.data.NumberVector>
      • getInputTypeRestriction

        public elki.data.type.TypeInformation getInputTypeRestriction()
        Specified by:
        getInputTypeRestriction in interface elki.index.IndexFactory<V extends elki.data.NumberVector>