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.
|
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–2016 The Apache Software Foundation. All rights reserved.