Package elki.index.preprocessed.knn
Class PartitionApproximationMaterializeKNNPreprocessor.Factory.Par<O>
- java.lang.Object
-
- elki.index.preprocessed.knn.PartitionApproximationMaterializeKNNPreprocessor.Factory.Par<O>
-
- All Implemented Interfaces:
elki.utilities.optionhandling.Parameterizer
- Enclosing class:
- PartitionApproximationMaterializeKNNPreprocessor.Factory<O>
public static class PartitionApproximationMaterializeKNNPreprocessor.Factory.Par<O> extends java.lang.ObjectParameterization class.- Author:
- Erich Schubert
-
-
Field Summary
Fields Modifier and Type Field Description protected intpartitionsNumber of partitionsstatic elki.utilities.optionhandling.OptionIDPARTITIONS_IDParameter to specify the number of partitions to use for materializing the kNN.private elki.utilities.random.RandomFactoryrndRandom generatorstatic elki.utilities.optionhandling.OptionIDSEED_IDParameter to specify the random number generator.-
Fields inherited from class elki.index.preprocessed.knn.AbstractMaterializeKNNPreprocessor.Factory.Par
distance, k
-
-
Constructor Summary
Constructors Constructor Description Par()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidconfigure(elki.utilities.optionhandling.parameterization.Parameterization config)PartitionApproximationMaterializeKNNPreprocessor.Factory<O>make()
-
-
-
Field Detail
-
PARTITIONS_ID
public static final elki.utilities.optionhandling.OptionID PARTITIONS_ID
Parameter to specify the number of partitions to use for materializing the kNN. Must be an integer greater than 1.
-
SEED_ID
public static final elki.utilities.optionhandling.OptionID SEED_ID
Parameter to specify the random number generator.
-
partitions
protected int partitions
Number of partitions
-
rnd
private elki.utilities.random.RandomFactory rnd
Random generator
-
-
Method Detail
-
configure
public void configure(elki.utilities.optionhandling.parameterization.Parameterization config)
- Specified by:
configurein interfaceelki.utilities.optionhandling.Parameterizer- Overrides:
configurein classAbstractMaterializeKNNPreprocessor.Factory.Par<O>
-
make
public PartitionApproximationMaterializeKNNPreprocessor.Factory<O> make()
- Specified by:
makein interfaceelki.utilities.optionhandling.Parameterizer- Specified by:
makein classAbstractMaterializeKNNPreprocessor.Factory.Par<O>
-
-