T - the type of points that can be clusteredCluster instead@Deprecated public class Cluster<T extends Clusterable<T>> extends Object implements Serializable
Clusterable points.| Constructor and Description |
|---|
Cluster(T center)
Deprecated.
Build a cluster centered at a specified point.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addPoint(T point)
Deprecated.
Add a point to this cluster.
|
T |
getCenter()
Deprecated.
Get the point chosen to be the center of this cluster.
|
List<T> |
getPoints()
Deprecated.
Get the points contained in the cluster.
|
public Cluster(T center)
center - the point which is to be the center of this clusterpublic void addPoint(T point)
point - point to addpublic List<T> getPoints()
public T getCenter()
Copyright © 2003–2019 The Apache Software Foundation. All rights reserved.