Class Clustering<T>
- java.lang.Object
- 
- eu.europa.ec.eurostat.jgiscotools.graph.algo.clustering.Clustering<T>
 
- 
 public class Clustering<T> extends Object Detect spatial clusters- Author:
- julien Gaffuri
 
- 
- 
Constructor SummaryConstructors Constructor Description Clustering()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description voidperform(ArrayList<T> objs, Distance<T> d, double dMax, Aggregation<T> agg, boolean closest, ClusteringIndex<T> index)Build clusters.Collection<Collection<T>>performMST(Collection<Object> objs, Distance<Object> d, double dMax)
 
- 
- 
- 
Method Detail- 
performpublic 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
 
 - 
performMSTpublic Collection<Collection<T>> performMST(Collection<Object> objs, Distance<Object> d, double dMax) 
 
- 
 
-