Package org.hipparchus.clustering
Class Cluster<T extends Clusterable>
- java.lang.Object
-
- org.hipparchus.clustering.Cluster<T>
-
- Type Parameters:
T
- the type of points that can be clustered
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
CentroidCluster
public class Cluster<T extends Clusterable> extends Object implements Serializable
Cluster holding a set ofClusterable
points.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description Cluster()
Build a cluster centered at a specified point.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addPoint(T point)
Add a point to this cluster.List<T>
getPoints()
Get the points contained in the cluster.
-