gr.demokritos.iit.jinsect.algorithms.clustering
Interface IClusterer

All Known Implementing Classes:
AverageLinkClusterer, CompleteLinkClusterer, SingleLinkClusterer

public interface IClusterer

An interface describing a cluster facility. The clusterer gets a set of Objects and a distance calculator and returns a (possibly nested) set of clusters, each containing a number of the original Objects.


Method Summary
 void calculateClusters(java.util.Set Objects, SimilarityComparatorListener DistanceCalculator)
          A method clustering a set of objects, given a distance calculator upon pairs of these objects.
 Graph getHierarchy()
          Returns the (calculated) hierarchy of the clusters.
 

Method Detail

calculateClusters

void calculateClusters(java.util.Set Objects,
                       SimilarityComparatorListener DistanceCalculator)
A method clustering a set of objects, given a distance calculator upon pairs of these objects.

Parameters:
Objects - The set of objects to cluster.
DistanceCalculator - The similarity comparison event listener object, that actually performs the similarity calculation.

getHierarchy

Graph getHierarchy()
Returns the (calculated) hierarchy of the clusters. For non-hierarchical algorithms, there will be no edges in the graph.

Returns:
The hierarchy as a Graph.