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>
distance
Distance functionstatic OptionID
DISTANCE_FUNCTION_ID
Distance function to use in the index(package private) int
k
condition parameterstatic OptionID
K_ID
Condition parameter.(package private) int
m
Number of reference pointsstatic OptionID
M_ID
Number of reference points to choose.(package private) RandomFactory
rng
Random generatorstatic OptionID
SEED_ID
Random generator to use
-
Constructor Summary
Constructors Constructor Description Par()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
configure(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:Parameterizer
Configure 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:
configure
in interfaceParameterizer
- Parameters:
config
- Parameterization
-
make
public LAESA.Factory<O> make()
Description copied from interface:Parameterizer
Make an instance after successful configuration.Note: your class should return the exact type, only this very broad interface should use
Object
as return type.- Specified by:
make
in interfaceParameterizer
- Returns:
- a new instance
-
-