net.sourceforge.cilib.functions.clustering.clustercenterstrategies
Interface ClusterCenterStrategy

All Superinterfaces:
Serializable
All Known Implementing Classes:
ClusterCentroidStrategy, ClusterMeanStrategy

public interface ClusterCenterStrategy
extends Serializable

A strategy to determine what is meant by the center of a cluster. Sometimes, cluster center refers to a cluster's centroid and other times it refers to a cluster's mean.

Author:
Theuns Cloete

Method Summary
 Vector getCenter(int i)
          Sub-classes should implement this method to return the desired center of cluster i.
 

Method Detail

getCenter

Vector getCenter(int i)
Sub-classes should implement this method to return the desired center of cluster i.

Parameters:
i - The integer representing the cluster for which a center should be returned
Returns:
a Vector representing the center of cluster i


Copyright © 2009 CIRG. All Rights Reserved.