T
- the type of points that can be clusteredSerializable
CentroidCluster
public class Cluster<T extends Clusterable> extends Object implements Serializable
Clusterable
points.Constructor | Description |
---|---|
Cluster() |
Build a cluster centered at a specified point.
|
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.
|
Copyright © 2016–2018 Hipparchus.org. All rights reserved.