public class FixedClusterCountStrategy extends BaseClusteringStrategy
Modifier and Type | Field and Description |
---|---|
static int |
defaultIterationCount |
allowEmptyClusters, distanceFunction, initialClusterCount, optimizationPhaseCondition, terminationCondition, type
Modifier | Constructor and Description |
---|---|
protected |
FixedClusterCountStrategy() |
protected |
FixedClusterCountStrategy(java.lang.Integer initialClusterCount,
java.lang.String distanceFunction,
boolean allowEmptyClusters) |
Modifier and Type | Method and Description |
---|---|
boolean |
isOptimizationApplicableNow(IterationHistory iterationHistory) |
boolean |
isOptimizationDefined() |
static FixedClusterCountStrategy |
setup(int clusterCount,
java.lang.String distanceFunction) |
endWhenDistributionVariationRateLessThan, endWhenIterationCountEquals, getDistanceFunction, getInitialClusterCount, getOptimizationPhaseCondition, getTerminationCondition, getType, isAllowEmptyClusters, isStrategyOfType, setAllowEmptyClusters, setDistanceFunction, setInitialClusterCount, setOptimizationPhaseCondition, setTerminationCondition, setType
protected FixedClusterCountStrategy()
protected FixedClusterCountStrategy(java.lang.Integer initialClusterCount, java.lang.String distanceFunction, boolean allowEmptyClusters)
public static FixedClusterCountStrategy setup(int clusterCount, java.lang.String distanceFunction)
public boolean isOptimizationDefined()
public boolean isOptimizationApplicableNow(IterationHistory iterationHistory)