- Type Parameters:
T
- the type of points that can be clustered
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
CentroidCluster
- See Also:
-
-
Constructor Summary 
Constructors
Build a cluster centered at a specified point.
-
Method Summary 
void
Add a point to this cluster.
Get the points contained in the cluster.
Methods inherited from class java.lang.Object 
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details 
-
Cluster 
public Cluster()
Build a cluster centered at a specified point.
-
Method Details 
-
addPoint 
public void addPoint(T point)
Add a point to this cluster.
- Parameters:
point
- point to add
-
getPoints 
public List<T> getPoints()
Get the points contained in the cluster.
- Returns:
- points contained in the cluster