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>
generator
Field to hold the generator to produce uncertain objects.protected boolean
keep
Flag to keep the original data.static OptionID
KEEP_ID
Flag to keep the original data.protected RandomFactory
rand
Random generator.static OptionID
SEED_ID
Seed for random generation.static OptionID
UNCERTAINITY_MODEL_ID
Parameter 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 void
configure(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: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 UncertainifyFilter<UO> 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
-
-