net.sourceforge.cilib.functions.clustering.clustercenterstrategies
Class ClusterMeanStrategy

java.lang.Object
  extended by net.sourceforge.cilib.functions.clustering.clustercenterstrategies.ClusterMeanStrategy
All Implemented Interfaces:
Serializable, ClusterCenterStrategy

public class ClusterMeanStrategy
extends Object
implements ClusterCenterStrategy

The center of a cluster is interpreted as the mean of a cluster.

Author:
Theuns Cloete
See Also:
Serialized Form

Constructor Summary
ClusterMeanStrategy()
           
 
Method Summary
 Vector getCenter(int i)
          In this case, we are interested in the mean of the cluster.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ClusterMeanStrategy

public ClusterMeanStrategy()
Method Detail

getCenter

public Vector getCenter(int i)
In this case, we are interested in the mean of the cluster.

Specified by:
getCenter in interface ClusterCenterStrategy
Parameters:
i - The integer representing the cluster for which the mean should be returned
Returns:
the mean of cluster i


Copyright © 2009 CIRG. All Rights Reserved.