edu.indiana.util.clustering
Class AbstractClusterMethod

java.lang.Object
  extended by edu.indiana.util.clustering.AbstractClusterMethod
All Implemented Interfaces:
ClusterMethod
Direct Known Subclasses:
KMedoidClustering

public abstract class AbstractClusterMethod
extends java.lang.Object
implements ClusterMethod

A basic abstract implementation of clustering algorithms.


Constructor Summary
AbstractClusterMethod()
           
 
Method Summary
 Partition cluster(java.util.Collection objects, int numEqClasses, Differentiator differentiator)
           
 Partition cluster(java.util.Iterator objectIter, int numEqClasses, Differentiator differentiator)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface edu.indiana.util.clustering.ClusterMethod
cluster
 

Constructor Detail

AbstractClusterMethod

public AbstractClusterMethod()
Method Detail

cluster

public Partition cluster(java.util.Collection objects,
                         int numEqClasses,
                         Differentiator differentiator)
Specified by:
cluster in interface ClusterMethod

cluster

public Partition cluster(java.util.Iterator objectIter,
                         int numEqClasses,
                         Differentiator differentiator)
Specified by:
cluster in interface ClusterMethod