Package elki.index.laesa
Class LAESA.Factory.Par<O>
- java.lang.Object
-
- elki.index.laesa.LAESA.Factory.Par<O>
-
- Type Parameters:
O- object type
- All Implemented Interfaces:
Parameterizer
- Enclosing class:
- LAESA.Factory<O>
public static class LAESA.Factory.Par<O> extends java.lang.Object implements Parameterizer
Parameterization class.- Author:
- Erich Schubert
-
-
Field Summary
Fields Modifier and Type Field Description (package private) Distance<? super O>distanceDistance functionstatic OptionIDDISTANCE_FUNCTION_IDDistance function to use in the index(package private) intkcondition parameterstatic OptionIDK_IDCondition parameter.(package private) intmNumber of reference pointsstatic OptionIDM_IDNumber of reference points to choose.(package private) RandomFactoryrngRandom generatorstatic OptionIDSEED_IDRandom generator to use
-
Constructor Summary
Constructors Constructor Description Par()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidconfigure(Parameterization config)Configure the class.LAESA.Factory<O>make()Make an instance after successful configuration.
-
-
-
Field Detail
-
DISTANCE_FUNCTION_ID
public static final OptionID DISTANCE_FUNCTION_ID
Distance function to use in the index
-
M_ID
public static final OptionID M_ID
Number of reference points to choose.
-
K_ID
public static final OptionID K_ID
Condition parameter. Controls the deletion of reference points during knn search.
-
SEED_ID
public static final OptionID SEED_ID
Random generator to use
-
m
int m
Number of reference points
-
k
int k
condition parameter
-
rng
RandomFactory rng
Random generator
-
-
Method Detail
-
configure
public void configure(Parameterization config)
Description copied from interface:ParameterizerConfigure the class.Note: the status is collected by the parameterization object, so that multiple errors may arise and be reported in one run.
- Specified by:
configurein interfaceParameterizer- Parameters:
config- Parameterization
-
make
public LAESA.Factory<O> make()
Description copied from interface:ParameterizerMake an instance after successful configuration.Note: your class should return the exact type, only this very broad interface should use
Objectas return type.- Specified by:
makein interfaceParameterizer- Returns:
- a new instance
-
-