Class UncertainifyFilter.Par<UO extends UncertainObject>
- java.lang.Object
-
- elki.datasource.filter.typeconversions.UncertainifyFilter.Par<UO>
-
- All Implemented Interfaces:
Parameterizer
- Enclosing class:
- UncertainifyFilter<UO extends UncertainObject>
public static class UncertainifyFilter.Par<UO extends UncertainObject> extends java.lang.Object implements Parameterizer
Parameterization class.- Author:
- Alexander Koos
-
-
Field Summary
Fields Modifier and Type Field Description protected Uncertainifier<UO>generatorField to hold the generator to produce uncertain objects.protected booleankeepFlag to keep the original data.static OptionIDKEEP_IDFlag to keep the original data.protected RandomFactoryrandRandom generator.static OptionIDSEED_IDSeed for random generation.static OptionIDUNCERTAINITY_MODEL_IDParameter to specify the uncertainityModel used for the uncertainification.
-
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.UncertainifyFilter<UO>make()Make an instance after successful configuration.
-
-
-
Field Detail
-
UNCERTAINITY_MODEL_ID
public static final OptionID UNCERTAINITY_MODEL_ID
Parameter to specify the uncertainityModel used for the uncertainification.
-
KEEP_ID
public static final OptionID KEEP_ID
Flag to keep the original data.
-
SEED_ID
public static final OptionID SEED_ID
Seed for random generation.
-
generator
protected Uncertainifier<UO extends UncertainObject> generator
Field to hold the generator to produce uncertain objects.
-
keep
protected boolean keep
Flag to keep the original data.
-
rand
protected RandomFactory rand
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 UncertainifyFilter<UO> 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
-
-