net.sourceforge.cilib.functions.clustering.validityindices
Class DunnIndex

java.lang.Object
  extended by net.sourceforge.cilib.functions.Function
      extended by net.sourceforge.cilib.functions.ContinuousFunction
          extended by net.sourceforge.cilib.functions.clustering.ClusteringFitnessFunction
              extended by net.sourceforge.cilib.functions.clustering.validityindices.ScatterSeperationRatio
                  extended by net.sourceforge.cilib.functions.clustering.validityindices.GeneralisedDunnIndex
                      extended by net.sourceforge.cilib.functions.clustering.validityindices.DunnIndex
All Implemented Interfaces:
Serializable, Cloneable

public class DunnIndex
extends GeneralisedDunnIndex

This is the Dunn Validity Index. This implementation is as given in:

Author:
Theuns Cloete
See Also:
Serialized Form

Field Summary
 
Fields inherited from class net.sourceforge.cilib.functions.clustering.validityindices.ScatterSeperationRatio
betweenClusterSeperationCache, withinClusterScatterCache
 
Fields inherited from class net.sourceforge.cilib.functions.clustering.ClusteringFitnessFunction
arrangedCentroids, arrangedClusters, clusterCenterStrategy, clustersFormed, helper
 
Constructor Summary
DunnIndex()
          Create an instance of this index.
 
Method Summary
protected  double calculateBetweenClusterSeperation(int i, int j)
          
protected  double calculateWithinClusterScatter(int k)
          
 DunnIndex getClone()
          Create a cloned copy of the current object and return it.
 
Methods inherited from class net.sourceforge.cilib.functions.clustering.validityindices.GeneralisedDunnIndex
calculateFitness, worstFitness
 
Methods inherited from class net.sourceforge.cilib.functions.clustering.validityindices.ScatterSeperationRatio
cacheBetweenClusterSeperation, cacheWithinClusterScatter, getBetweenClusterSeperation, getWithinClusterScatter
 
Methods inherited from class net.sourceforge.cilib.functions.clustering.ClusteringFitnessFunction
calculateAverageIntraClusterDistance, calculateAverageSetDistance, calculateClusterDiameter, calculateIntraClusterDistance, calculateMaximumAverageDistance, calculateMaximumInterClusterDistance, calculateMaximumSetDistance, calculateMinimumInterClusterDistance, calculateMinimumSetDistance, calculateQuantisationError, evaluate, getMaximum, getMinimum, setClusterCenterStrategy, validateFitness
 
Methods inherited from class net.sourceforge.cilib.functions.ContinuousFunction
evaluate
 
Methods inherited from class net.sourceforge.cilib.functions.Function
getBehavioralDomainRegistry, getDimension, getDomain, getDomainRegistry, setBehavioralDomain, setBehaviouralDomainRegistry, setDomain
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DunnIndex

public DunnIndex()
Create an instance of this index.

Method Detail

calculateWithinClusterScatter

protected double calculateWithinClusterScatter(int k)

Specified by:
calculateWithinClusterScatter in class ScatterSeperationRatio

calculateBetweenClusterSeperation

protected double calculateBetweenClusterSeperation(int i,
                                                   int j)

Specified by:
calculateBetweenClusterSeperation in class ScatterSeperationRatio

getClone

public DunnIndex getClone()
Create a cloned copy of the current object and return it. In general the created copy will be a deep copy of the provided instance. As a result this operation an be quite expensive if used incorrectly.

Specified by:
getClone in interface Cloneable
Specified by:
getClone in class ClusteringFitnessFunction
Returns:
An exact clone of the current object instance.
See Also:
Object.clone()


Copyright © 2009 CIRG. All Rights Reserved.