Package elki.clustering.kmedoids
Class FastPAM.Par<V>
- java.lang.Object
-
- elki.clustering.kmedoids.PAM.Par<V>
-
- elki.clustering.kmedoids.FastPAM1.Par<V>
-
- elki.clustering.kmedoids.FastPAM.Par<V>
-
- All Implemented Interfaces:
Parameterizer
- Direct Known Subclasses:
FastCLARA.Par
,FasterPAM.Par
public static class FastPAM.Par<V> extends FastPAM1.Par<V>
Parameterization class.- Author:
- Erich Schubert
-
-
Field Summary
Fields Modifier and Type Field Description protected double
fasttol
Tolerance for fast swapping behavior (may perform worse swaps).static OptionID
FASTTOL_ID
Tolerance for performing additional swaps.-
Fields inherited from class elki.clustering.kmedoids.PAM.Par
distance, initializer, k, maxiter
-
-
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.protected java.lang.Class<? extends KMedoidsInitialization>
defaultInitializer()
Default initialization method.FastPAM<V>
make()
Make an instance after successful configuration.
-
-
-
Field Detail
-
FASTTOL_ID
public static final OptionID FASTTOL_ID
Tolerance for performing additional swaps.
-
fasttol
protected double fasttol
Tolerance for fast swapping behavior (may perform worse swaps).
-
-
Method Detail
-
defaultInitializer
protected java.lang.Class<? extends KMedoidsInitialization> defaultInitializer()
Description copied from class:PAM.Par
Default initialization method.- Overrides:
defaultInitializer
in classPAM.Par<V>
- Returns:
- Initialization method
-
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 classPAM.Par<V>
- Parameters:
config
- Parameterization
-
make
public FastPAM<V> 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
- Overrides:
make
in classFastPAM1.Par<V>
- Returns:
- a new instance
-
-