T - the type of points that can be clusteredpublic abstract class Clusterer<T extends Clusterable> extends Object
| Modifier and Type | Method and Description |
|---|---|
abstract List<? extends Cluster<T>> |
cluster(Collection<T> points)
Perform a cluster analysis on the given set of
Clusterable instances. |
DistanceMeasure |
getDistanceMeasure()
Returns the
DistanceMeasure instance used by this clusterer. |
public abstract List<? extends Cluster<T>> cluster(Collection<T> points) throws MathIllegalArgumentException, ConvergenceException
Clusterable instances.points - the set of Clusterable instancesList of clustersMathIllegalArgumentException - if points are null or the number of
data points is not compatible with this clustererConvergenceException - if the algorithm has not yet converged after
the maximum number of iterations has been exceededpublic DistanceMeasure getDistanceMeasure()
DistanceMeasure instance used by this clusterer.Jas4pp 1.5 © Java Analysis Studio for Particle Physics