gov.sandia.cognition.learning.algorithm.clustering.cluster
Interface ClusterCreator<ClusterType extends Cluster<DataType>,DataType>

Type Parameters:
ClusterType - The type of Cluster created by this object.
DataType - The data type from which to create a new cluster.
All Superinterfaces:
Cloneable, CloneableSerializable, Serializable
All Known Subinterfaces:
IncrementalClusterCreator<ClusterType,DataType>
All Known Implementing Classes:
DefaultClusterCreator, DefaultIncrementalClusterCreator, GaussianClusterCreator, MedoidClusterCreator, VectorMeanCentroidClusterCreator

@CodeReview(reviewer="Kevin R. Dixon",
            date="2008-07-22",
            changesNeeded=false,
            comments="Interface looks fine.")
public interface ClusterCreator<ClusterType extends Cluster<DataType>,DataType>
extends CloneableSerializable

The ClusterCreator defines the functionality of a class that can create a new cluster from a given collection of members of that cluster.

Since:
1.0
Author:
Justin Basilico, Kevin R. Dixon

Method Summary
 ClusterType createCluster(Collection<DataType> members)
          Create a new cluster from the given members of that cluster.
 
Methods inherited from interface gov.sandia.cognition.util.CloneableSerializable
clone
 

Method Detail

createCluster

ClusterType createCluster(Collection<DataType> members)
Create a new cluster from the given members of that cluster.

Parameters:
members - The members of the cluster.
Returns:
A new cluster created from the given members.
Throws:
NullPointerException - If members is null.