Package elki.index.preprocessed.knn
Class SpacefillingKNNPreprocessor.Factory<V extends elki.data.NumberVector>
- java.lang.Object
-
- elki.index.preprocessed.knn.SpacefillingKNNPreprocessor.Factory<V>
-
- Type Parameters:
V- Vector type
- All Implemented Interfaces:
elki.index.IndexFactory<V>
- Enclosing class:
- SpacefillingKNNPreprocessor<O extends elki.data.NumberVector>
public static class SpacefillingKNNPreprocessor.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 classSpacefillingKNNPreprocessor.Factory.ParParameterization class.
-
Field Summary
Fields Modifier and Type Field Description (package private) java.util.List<? extends elki.math.spacefillingcurves.SpatialSorter>curvegenSpatial curve generators(package private) intodimNumber of dimensions to use.(package private) elki.data.projection.random.RandomProjectionFamilyprojRandom projection family to use.(package private) elki.utilities.random.RandomFactoryrandomRandom number generator.(package private) intvariantsNumber of variants to generate for each curve(package private) doublewindowCurve window size
-
Constructor Summary
Constructors Constructor Description Factory(java.util.List<? extends elki.math.spacefillingcurves.SpatialSorter> curvegen, double window, int variants, int odim, 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()SpacefillingKNNPreprocessor<V>instantiate(elki.database.relation.Relation<V> relation)
-
-
-
Field Detail
-
curvegen
java.util.List<? extends elki.math.spacefillingcurves.SpatialSorter> curvegen
Spatial curve generators
-
window
double window
Curve window size
-
variants
int variants
Number of variants to generate for each curve
-
odim
int odim
Number of dimensions 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(java.util.List<? extends elki.math.spacefillingcurves.SpatialSorter> curvegen, double window, int variants, int odim, elki.data.projection.random.RandomProjectionFamily proj, elki.utilities.random.RandomFactory random)Constructor.- Parameters:
curvegen- Curve generatorswindow- Window multiplicatorvariants- Number of curve variants to generateodim- Number of dimensions to use -1 == all.proj- Random projection familyrandom- Random number generator
-
-
Method Detail
-
instantiate
public SpacefillingKNNPreprocessor<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>
-
-