Package elki.index.preprocessed.knn
Class NaiveProjectedKNNPreprocessor.Factory<V extends elki.data.NumberVector>
- java.lang.Object
-
- elki.index.preprocessed.knn.NaiveProjectedKNNPreprocessor.Factory<V>
-
- 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
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classNaiveProjectedKNNPreprocessor.Factory.ParParameterization class.
-
Field Summary
Fields Modifier and Type Field Description (package private) elki.data.projection.random.RandomProjectionFamilyprojRandom projection family to use.(package private) intprojectionsNumber of projections to use.(package private) elki.utilities.random.RandomFactoryrandomRandom number generator.(package private) doublewindowCurve window size
-
Constructor Summary
Constructors Constructor Description Factory(double window, int projections, elki.data.projection.random.RandomProjectionFamily proj, elki.utilities.random.RandomFactory random)Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description elki.data.type.TypeInformationgetInputTypeRestriction()NaiveProjectedKNNPreprocessor<V>instantiate(elki.database.relation.Relation<V> relation)
-
-
-
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:
instantiatein interfaceelki.index.IndexFactory<V extends elki.data.NumberVector>
-
getInputTypeRestriction
public elki.data.type.TypeInformation getInputTypeRestriction()
- Specified by:
getInputTypeRestrictionin interfaceelki.index.IndexFactory<V extends elki.data.NumberVector>
-
-