org.carrot2.filter.trc.carrot.filter.cluster.rough.clustering
Class AbstractClusterer

java.lang.Object
  extended by org.carrot2.filter.trc.carrot.filter.cluster.rough.clustering.AbstractClusterer
Direct Known Subclasses:
AbstractKMeansClusterer

public abstract class AbstractClusterer
extends Object


Field Summary
protected  Cluster[] clusters
           
protected  Object[] objects
           
 
Constructor Summary
AbstractClusterer()
           
 
Method Summary
protected abstract  Cluster[] clustering(Cluster[] clusters, Object[] objects)
           
 void doClustering(Object[] objs)
           
 Cluster[] getClusters()
           
protected abstract  Cluster[] initialization(Object[] objects)
           
protected abstract  Cluster[] postProcessing(Cluster[] clusters, Object[] objects)
           
protected abstract  boolean stopCondition()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

objects

protected Object[] objects

clusters

protected Cluster[] clusters
Constructor Detail

AbstractClusterer

public AbstractClusterer()
Method Detail

doClustering

public final void doClustering(Object[] objs)

initialization

protected abstract Cluster[] initialization(Object[] objects)

postProcessing

protected abstract Cluster[] postProcessing(Cluster[] clusters,
                                            Object[] objects)

clustering

protected abstract Cluster[] clustering(Cluster[] clusters,
                                        Object[] objects)

stopCondition

protected abstract boolean stopCondition()

getClusters

public Cluster[] getClusters()


Copyright (c) Dawid Weiss, Stanislaw Osinski