
V - Vector typepublic static class SpacefillingKNNPreprocessor.Factory<V extends NumberVector> extends Object implements IndexFactory<V,SpacefillingKNNPreprocessor<V>>
| Modifier and Type | Class and Description |
|---|---|
static class |
SpacefillingKNNPreprocessor.Factory.Parameterizer
Parameterization class.
|
| Modifier and Type | Field and Description |
|---|---|
(package private) List<SpatialSorter> |
curvegen
Spatial curve generators
|
(package private) int |
odim
Number of dimensions to use.
|
(package private) RandomProjectionFamily |
proj
Random projection family to use.
|
(package private) RandomFactory |
random
Random number generator.
|
(package private) int |
variants
Number of variants to generate for each curve
|
(package private) double |
window
Curve window size
|
| Constructor and Description |
|---|
SpacefillingKNNPreprocessor.Factory(List<SpatialSorter> curvegen,
double window,
int variants,
int odim,
RandomProjectionFamily proj,
RandomFactory random)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
TypeInformation |
getInputTypeRestriction()
Get the input type restriction used for negotiating the data query.
|
SpacefillingKNNPreprocessor<V> |
instantiate(Relation<V> relation)
Sets the database in the distance function of this index (if existing).
|
List<SpatialSorter> curvegen
double window
int variants
int odim
RandomProjectionFamily proj
RandomFactory random
public SpacefillingKNNPreprocessor.Factory(List<SpatialSorter> curvegen, double window, int variants, int odim, RandomProjectionFamily proj, RandomFactory random)
curvegen - Curve generatorswindow - Window multiplicatorvariants - Number of curve variants to generateodim - Number of dimensions to use -1 == all.proj - Random projection familyrandom - Random number generatorpublic SpacefillingKNNPreprocessor<V> instantiate(Relation<V> relation)
IndexFactoryinstantiate in interface IndexFactory<V extends NumberVector,SpacefillingKNNPreprocessor<V extends NumberVector>>relation - the relation to indexpublic TypeInformation getInputTypeRestriction()
IndexFactorygetInputTypeRestriction in interface IndexFactory<V extends NumberVector,SpacefillingKNNPreprocessor<V extends NumberVector>>Copyright © 2015 ELKI Development Team, Lehr- und Forschungseinheit für Datenbanksysteme, Ludwig-Maximilians-Universität München. License information.