DataType
- The type of data to cluster.ClusterType
- The type of cluster created by the clustering algorithm.public interface BatchHierarchicalClusterer<DataType,ClusterType extends Cluster<DataType>>
BatchHierarchicalClusterer
interface defines the functionality
of a batch hierarchical clustering algorithm. It takes a collection of
elements and returns the root node of the hierarchical cluster for those
elements.Modifier and Type | Method and Description |
---|---|
ClusterHierarchyNode<DataType,ClusterType> |
clusterHierarchically(java.util.Collection<? extends DataType> elements)
Performs hierarchical clustering on the given elements.
|
ClusterHierarchyNode<DataType,ClusterType> clusterHierarchically(java.util.Collection<? extends DataType> elements)
elements
- The elements to cluster.