public class KMeansSeedingStrategyFactory extends Object implements ISeedingStrategyFactory
Constructor and Description |
---|
KMeansSeedingStrategyFactory() |
Modifier and Type | Method and Description |
---|---|
ISeedingStrategy |
createSeedingStrategy()
Creates a
ISeedingStrategy . |
int |
getMaxIterations()
Returns the maximum number of iterations the k-means algorithm is allowed
to perform.
|
void |
setMaxIterations(int maxIterations)
Sets the maximum number of iterations the k-means algorithm is allowed to
perform.
|
String |
toString() |
public ISeedingStrategy createSeedingStrategy()
ISeedingStrategyFactory
ISeedingStrategy
.createSeedingStrategy
in interface ISeedingStrategyFactory
public int getMaxIterations()
public void setMaxIterations(int maxIterations)