Class Clustering<T>


  • public class Clustering<T>
    extends Object
    Detect spatial clusters
    Author:
    julien Gaffuri
    • Constructor Detail

      • Clustering

        public Clustering()
    • Method Detail

      • perform

        public void perform​(ArrayList<T> objs,
                            Distance<T> d,
                            double dMax,
                            Aggregation<T> agg,
                            boolean closest,
                            ClusteringIndex<T> index)
        Build clusters. Clusters are composed of objects that are at dMax distance of all others objects in the cluster.
        Parameters:
        objs - The objects list - the clusters have to be added there
        d - The distance measure
        dMax - The distance maximum value
        agg - The aggregation method to use to define the cluster representations