Class Cluster<T extends Clusterable<T>>
java.lang.Object
org.apache.commons.math3.stat.clustering.Cluster<T>
- Type Parameters:
T
- the type of points that can be clustered
- All Implemented Interfaces:
Serializable
Deprecated.
Cluster holding a set of
Clusterable
points.- Since:
- 2.0
- See Also:
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
Cluster
Deprecated.Build a cluster centered at a specified point.- Parameters:
center
- the point which is to be the center of this cluster
-
-
Method Details
-
addPoint
Deprecated.Add a point to this cluster.- Parameters:
point
- point to add
-
getPoints
Deprecated.Get the points contained in the cluster.- Returns:
- points contained in the cluster
-
getCenter
Deprecated.Get the point chosen to be the center of this cluster.- Returns:
- chosen cluster center
-
Cluster
instead