org.encog.util.kmeans
T
- The type of data to cluster.public class Cluster<T extends CentroidFactory<? super T>> extends Object
Constructor and Description |
---|
Cluster()
Create an empty cluster.
|
Cluster(T d)
Create a cluster with one initial data point.
|
public Cluster()
public Cluster(T d)
d
- The initial data point.public void add(T e)
e
- The element to add.public void remove(int i)
i
- The index to remove.Copyright © 2014. All Rights Reserved.