Class FarthestPoints.Par<O>
- java.lang.Object
-
- elki.clustering.kmeans.initialization.AbstractKMeansInitialization.Par
-
- elki.clustering.kmeans.initialization.FarthestPoints.Par<O>
-
- All Implemented Interfaces:
Parameterizer
- Direct Known Subclasses:
FarthestSumPoints.Par
- Enclosing class:
- FarthestPoints<O>
public static class FarthestPoints.Par<O> extends AbstractKMeansInitialization.Par
Parameterization class.- Author:
- Erich Schubert
-
-
Field Summary
Fields Modifier and Type Field Description protected boolean
keepfirst
Flag for discarding the first object chosen.static OptionID
KEEPFIRST_ID
Option ID to control the handling of the first object chosen.-
Fields inherited from class elki.clustering.kmeans.initialization.AbstractKMeansInitialization.Par
rnd
-
-
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.FarthestPoints<O>
make()
Make an instance after successful configuration.
-
-
-
Field Detail
-
KEEPFIRST_ID
public static final OptionID KEEPFIRST_ID
Option ID to control the handling of the first object chosen.
-
keepfirst
protected boolean keepfirst
Flag for discarding the first object chosen.
-
-
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
- Overrides:
configure
in classAbstractKMeansInitialization.Par
- Parameters:
config
- Parameterization
-
make
public FarthestPoints<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.- Returns:
- a new instance
-
-