Defines additionally a cluster center which may not necessarily be a member of the original data set.
| Modifier and Type | Field and Description |
|---|---|
| private final Clusterable | center
Center of the cluster. |
| private static final long | serialVersionUID
Hides org. |
| Access | Constructor and Description |
|---|---|
| public | CentroidCluster(final Clusterable
the point which is to be the center of this cluster center)Build a cluster centered at a specified point. |
| Modifier and Type | Method and Description |
|---|---|
| public Clusterable |
| center | back to summary |
|---|---|
| private final Clusterable center Center of the cluster. | |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID Hides org. Serializable version identifier. | |
| CentroidCluster | back to summary |
|---|---|
| public CentroidCluster(final Clusterable center) Build a cluster centered at a specified point.
| |
| getCenter | back to summary |
|---|---|
| public Clusterable getCenter() Get the point chosen to be the center of this cluster.
| |