V
- Vector typepublic static class SpacefillingMaterializeKNNPreprocessor.Factory<V extends NumberVector> extends AbstractMaterializeKNNPreprocessor.Factory<V>
Modifier and Type | Class and Description |
---|---|
static class |
SpacefillingMaterializeKNNPreprocessor.Factory.Parameterizer<V extends NumberVector>
Parameterization class.
|
Modifier and Type | Field and Description |
---|---|
(package private) List<SpatialSorter> |
curvegen
Spatial curve generators
|
(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
|
DISTANCE_FUNCTION_ID, distanceFunction, k, K_ID
Constructor and Description |
---|
SpacefillingMaterializeKNNPreprocessor.Factory(int k,
DistanceFunction<? super V> distanceFunction,
List<SpatialSorter> curvegen,
double window,
int variants,
RandomFactory random)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
TypeInformation |
getInputTypeRestriction()
Get the input type restriction used for negotiating the data query.
|
SpacefillingMaterializeKNNPreprocessor<V> |
instantiate(Relation<V> relation)
Sets the database in the distance function of this index (if existing).
|
getDistanceFunction
List<SpatialSorter> curvegen
double window
int variants
RandomFactory random
public SpacefillingMaterializeKNNPreprocessor.Factory(int k, DistanceFunction<? super V> distanceFunction, List<SpatialSorter> curvegen, double window, int variants, RandomFactory random)
curvegen
- Curve generatorswindow
- Window multiplicatorvariants
- Number of curve variants to generaterandom
- Random number generatorpublic SpacefillingMaterializeKNNPreprocessor<V> instantiate(Relation<V> relation)
IndexFactory
instantiate
in interface IndexFactory<V extends NumberVector,KNNIndex<V extends NumberVector>>
instantiate
in class AbstractMaterializeKNNPreprocessor.Factory<V extends NumberVector>
relation
- the relation to indexpublic TypeInformation getInputTypeRestriction()
IndexFactory
getInputTypeRestriction
in interface IndexFactory<V extends NumberVector,KNNIndex<V extends NumberVector>>
getInputTypeRestriction
in class AbstractMaterializeKNNPreprocessor.Factory<V extends NumberVector>
Copyright © 2015 ELKI Development Team, Lehr- und Forschungseinheit für Datenbanksysteme, Ludwig-Maximilians-Universität München. License information.