de.lmu.ifi.dbs.elki.algorithm.clustering
Class KMeans.Parameterizer<V extends NumberVector<V,?>,D extends Distance<D>>

java.lang.Object
  extended by de.lmu.ifi.dbs.elki.utilities.optionhandling.AbstractParameterizer
      extended by de.lmu.ifi.dbs.elki.algorithm.AbstractPrimitiveDistanceBasedAlgorithm.Parameterizer<V,D>
          extended by de.lmu.ifi.dbs.elki.algorithm.clustering.KMeans.Parameterizer<V,D>
All Implemented Interfaces:
Parameterizer
Enclosing class:
KMeans<V extends NumberVector<V,?>,D extends Distance<D>>

public static class KMeans.Parameterizer<V extends NumberVector<V,?>,D extends Distance<D>>
extends AbstractPrimitiveDistanceBasedAlgorithm.Parameterizer<V,D>

Parameterization class.


Field Summary
protected  int k
           
protected  int maxiter
           
protected  Long seed
           
 
Fields inherited from class de.lmu.ifi.dbs.elki.algorithm.AbstractPrimitiveDistanceBasedAlgorithm.Parameterizer
distanceFunction
 
Constructor Summary
KMeans.Parameterizer()
           
 
Method Summary
protected  KMeans<V,D> makeInstance()
          Make an instance after successful configuration.
protected  void makeOptions(Parameterization config)
          Add all options.
 
Methods inherited from class de.lmu.ifi.dbs.elki.utilities.optionhandling.AbstractParameterizer
configure, make
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

k

protected int k

maxiter

protected int maxiter

seed

protected Long seed
Constructor Detail

KMeans.Parameterizer

public KMeans.Parameterizer()
Method Detail

makeOptions

protected void makeOptions(Parameterization config)
Description copied from class: AbstractParameterizer
Add all options. ALWAYS call super.makeOptions(config), unless you have a strong reason to do otherwise!

Overrides:
makeOptions in class AbstractPrimitiveDistanceBasedAlgorithm.Parameterizer<V extends NumberVector<V,?>,D extends Distance<D>>
Parameters:
config - Parameterization to add options to.

makeInstance

protected KMeans<V,D> makeInstance()
Description copied from class: AbstractParameterizer
Make an instance after successful configuration.

Specified by:
makeInstance in class AbstractParameterizer
Returns:
instance

Release 0.4.0 (2011-09-20_1324)