net.sourceforge.cilib.functions.clustering.validityindices
Class ScatterSeperationRatio
java.lang.Object
net.sourceforge.cilib.functions.Function
net.sourceforge.cilib.functions.ContinuousFunction
net.sourceforge.cilib.functions.clustering.ClusteringFitnessFunction
net.sourceforge.cilib.functions.clustering.validityindices.ScatterSeperationRatio
- All Implemented Interfaces:
- Serializable, Cloneable
- Direct Known Subclasses:
- DaviesBouldinIndex, GeneralisedDunnIndex
public abstract class ScatterSeperationRatio
- extends ClusteringFitnessFunction
The ScatterSeperationRatio class was created due to the fact that some validity indices make use
of the cluster scatter and cluster seperation concepts. This class caches these values and
defines abstract methods (calculateWithinClusterScatter and calculateBetweenClusterSeperation)
which sub-classes have to implement to specify how their specific values are calculated.
- Author:
- Theuns Cloete
- See Also:
- Serialized Form
Methods inherited from class net.sourceforge.cilib.functions.clustering.ClusteringFitnessFunction |
calculateAverageIntraClusterDistance, calculateAverageSetDistance, calculateClusterDiameter, calculateFitness, calculateIntraClusterDistance, calculateMaximumAverageDistance, calculateMaximumInterClusterDistance, calculateMaximumSetDistance, calculateMinimumInterClusterDistance, calculateMinimumSetDistance, calculateQuantisationError, evaluate, getClone, getMaximum, getMinimum, setClusterCenterStrategy, validateFitness, worstFitness |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
withinClusterScatterCache
protected ArrayList<Double> withinClusterScatterCache
betweenClusterSeperationCache
protected ArrayList<Double> betweenClusterSeperationCache
ScatterSeperationRatio
public ScatterSeperationRatio()
cacheWithinClusterScatter
protected void cacheWithinClusterScatter()
calculateWithinClusterScatter
protected abstract double calculateWithinClusterScatter(int k)
getWithinClusterScatter
protected double getWithinClusterScatter(int i)
cacheBetweenClusterSeperation
protected void cacheBetweenClusterSeperation()
calculateBetweenClusterSeperation
protected abstract double calculateBetweenClusterSeperation(int i,
int j)
getBetweenClusterSeperation
protected double getBetweenClusterSeperation(int i,
int j)
Copyright © 2009 CIRG. All Rights Reserved.