|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.encog.util.kmeans.Cluster<T>
T
- The type of data to cluster.public class Cluster<T extends CentroidFactory<? super T>>
A cluster.
Constructor Summary | |
---|---|
Cluster()
Create an empty cluster. |
|
Cluster(T d)
Create a cluster with one initial data point. |
Method Summary | |
---|---|
void |
add(T e)
Add a element to the cluster. |
Centroid<? super T> |
centroid()
|
List<T> |
getContents()
|
void |
remove(int i)
Remove the specified index from the cluster. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Cluster()
public Cluster(T d)
d
- The initial data point.Method Detail |
---|
public List<T> getContents()
public void add(T e)
e
- The element to add.public void remove(int i)
i
- The index to remove.public Centroid<? super T> centroid()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |