T - the type of points that can be clusteredpublic class Cluster<T extends Clusterable> extends Object implements Serializable
Clusterable points.| Constructor and Description |
|---|
Cluster()
Build a cluster centered at a specified point.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addPoint(T point)
Add a point to this cluster.
|
List<T> |
getPoints()
Get the points contained in the cluster.
|
Copyright © 2016-2021 CS GROUP. All rights reserved.