Class LinearWeightedExtendedNeighborhood.Factory.Par<O>
- java.lang.Object
-
- elki.outlier.spatial.neighborhood.weighted.LinearWeightedExtendedNeighborhood.Factory.Par<O>
-
- All Implemented Interfaces:
Parameterizer
- Enclosing class:
- LinearWeightedExtendedNeighborhood.Factory<O>
public static class LinearWeightedExtendedNeighborhood.Factory.Par<O> extends java.lang.Object implements Parameterizer
Parameterization class.- Author:
- Erich Schubert
-
-
Field Summary
Fields Modifier and Type Field Description private NeighborSetPredicate.Factory<O>innerInner neighbor set predicatestatic OptionIDNEIGHBORHOOD_IDParameter to specify the neighborhood predicate to use.private intstepsThe number of steps to do.static OptionIDSTEPS_IDParameter to specify the number of steps allowed
-
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.LinearWeightedExtendedNeighborhood.Factory<O>make()Make an instance after successful configuration.
-
-
-
Field Detail
-
NEIGHBORHOOD_ID
public static final OptionID NEIGHBORHOOD_ID
Parameter to specify the neighborhood predicate to use.
-
STEPS_ID
public static final OptionID STEPS_ID
Parameter to specify the number of steps allowed
-
steps
private int steps
The number of steps to do.
-
inner
private NeighborSetPredicate.Factory<O> inner
Inner neighbor set predicate
-
-
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 LinearWeightedExtendedNeighborhood.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
-
-