T - the type of points that can be clusteredpublic class CentroidCluster<T extends Clusterable> extends Cluster<T>
Defines additionally a cluster center which may not necessarily be a member of the original data set.
| Constructor and Description | 
|---|
| CentroidCluster(Clusterable center)Build a cluster centered at a specified point. | 
| Modifier and Type | Method and Description | 
|---|---|
| Clusterable | getCenter()Get the point chosen to be the center of this cluster. | 
public CentroidCluster(Clusterable center)
center - the point which is to be the center of this clusterpublic Clusterable getCenter()
Copyright © 2016–2020 Hipparchus.org. All rights reserved.