Class CutDendrogramByNumberOfClusters.Par
- java.lang.Object
-
- elki.clustering.hierarchical.extraction.AbstractCutDendrogram.Par
-
- elki.clustering.hierarchical.extraction.CutDendrogramByNumberOfClusters.Par
-
- All Implemented Interfaces:
Parameterizer
- Enclosing class:
- CutDendrogramByNumberOfClusters
public static class CutDendrogramByNumberOfClusters.Par extends AbstractCutDendrogram.Par
Parameterization class.- Author:
- Erich Schubert
-
-
Field Summary
Fields Modifier and Type Field Description (package private) int
minclusters
Number of clusters to extract.static OptionID
MINCLUSTERS_ID
The minimum number of clusters to extract.-
Fields inherited from class elki.clustering.hierarchical.extraction.AbstractCutDendrogram.Par
algorithm, hierarchical, HIERARCHICAL_ID, NOSIMPLIFY_ID, simplify
-
-
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.CutDendrogramByNumberOfClusters
make()
Make an instance after successful configuration.
-
-
-
Field Detail
-
MINCLUSTERS_ID
public static final OptionID MINCLUSTERS_ID
The minimum number of clusters to extract.
-
minclusters
int minclusters
Number of clusters to extract.
-
-
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 classAbstractCutDendrogram.Par
- Parameters:
config
- Parameterization
-
make
public CutDendrogramByNumberOfClusters 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
-
-