Deprecated
As of 3.2 (to be removed in 4.0),
use org. instead
Clusterable points.
| Modifier and Type | Field and Description |
|---|---|
| private final T | center
Center of the cluster. |
| private final List | points
The points contained in this cluster. |
| private static final long | serialVersionUID
Serializable version identifier. |
| Access | Constructor and Description |
|---|---|
| public | Cluster(final T
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 void | |
| public T | |
| public List |
| center | back to summary |
|---|---|
| private final T center Center of the cluster. | |
| points | back to summary |
|---|---|
| private final List<T> points The points contained in this cluster. | |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID Serializable version identifier. | |
| Cluster | back to summary |
|---|---|
| public Cluster(final T center) Build a cluster centered at a specified point.
| |
| addPoint | back to summary |
|---|---|
| public void addPoint(final T point) Add a point to this cluster.
| |
| getCenter | back to summary |
|---|---|
| public T getCenter() Get the point chosen to be the center of this cluster.
| |
| getPoints | back to summary |
|---|---|
| public List Get the points contained in the cluster.
| |