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
Cluster holding a set of
Clusterable
points.- See Also:
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
Cluster
public Cluster()Build a cluster centered at a specified point.
-
-
Method Details
-
addPoint
Add a point to this cluster.- Parameters:
point
- point to add
-
getPoints
Get the points contained in the cluster.- Returns:
- points contained in the cluster
-