Package elki.index.preprocessed.knn
Class SpacefillingMaterializeKNNPreprocessor.Factory<V extends elki.data.NumberVector>
- java.lang.Object
-
- elki.index.preprocessed.knn.AbstractMaterializeKNNPreprocessor.Factory<V>
-
- elki.index.preprocessed.knn.SpacefillingMaterializeKNNPreprocessor.Factory<V>
-
- Type Parameters:
V- Vector type
- All Implemented Interfaces:
elki.index.IndexFactory<V>
- Enclosing class:
- SpacefillingMaterializeKNNPreprocessor<O extends elki.data.NumberVector>
public static class SpacefillingMaterializeKNNPreprocessor.Factory<V extends elki.data.NumberVector> extends AbstractMaterializeKNNPreprocessor.Factory<V>
Index factory class- Author:
- Erich Schubert
-
-
Field Summary
Fields Modifier and Type Field Description (package private) java.util.List<? extends elki.math.spacefillingcurves.SpatialSorter>curvegenSpatial curve generators(package private) elki.utilities.random.RandomFactoryrandomRandom number generator.(package private) intvariantsNumber of variants to generate for each curve(package private) doublewindowCurve window size-
Fields inherited from class elki.index.preprocessed.knn.AbstractMaterializeKNNPreprocessor.Factory
distance, DISTANCE_FUNCTION_ID, k, K_ID
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description elki.data.type.TypeInformationgetInputTypeRestriction()SpacefillingMaterializeKNNPreprocessor<V>instantiate(elki.database.relation.Relation<V> relation)-
Methods inherited from class elki.index.preprocessed.knn.AbstractMaterializeKNNPreprocessor.Factory
getDistance
-
-
-
-
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
-
random
elki.utilities.random.RandomFactory random
Random number generator.
-
-
Constructor Detail
-
Factory
public Factory(int k, elki.distance.Distance<? super V> distance, java.util.List<? extends elki.math.spacefillingcurves.SpatialSorter> curvegen, double window, int variants, elki.utilities.random.RandomFactory random)Constructor.- Parameters:
curvegen- Curve generatorswindow- Window multiplicatorvariants- Number of curve variants to generaterandom- Random number generator
-
-
Method Detail
-
instantiate
public SpacefillingMaterializeKNNPreprocessor<V> instantiate(elki.database.relation.Relation<V> relation)
- Specified by:
instantiatein interfaceelki.index.IndexFactory<V extends elki.data.NumberVector>- Specified by:
instantiatein classAbstractMaterializeKNNPreprocessor.Factory<V extends elki.data.NumberVector>
-
getInputTypeRestriction
public elki.data.type.TypeInformation getInputTypeRestriction()
- Specified by:
getInputTypeRestrictionin interfaceelki.index.IndexFactory<V extends elki.data.NumberVector>- Overrides:
getInputTypeRestrictionin classAbstractMaterializeKNNPreprocessor.Factory<V extends elki.data.NumberVector>
-
-