T - the type of points that can be clusteredSerializablepublic 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 | Description |
|---|---|
CentroidCluster(Clusterable center) |
Build a cluster centered at a specified point.
|
| Modifier and Type | Method | 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–2018 Hipparchus.org. All rights reserved.