at.tuwien.ifs.somtoolbox.clustering
Class Cluster<E>
java.lang.Object
at.tuwien.ifs.somtoolbox.clustering.Cluster<E>
- All Implemented Interfaces:
- Iterable<E>
- Direct Known Subclasses:
- HierarchicalCluster
public class Cluster<E>
- extends Object
- implements Iterable<E>
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CONTENT_SEPARATOR_CHAR
public static final String CONTENT_SEPARATOR_CHAR
- See Also:
- Constant Field Values
data
protected List<E> data
label
protected String label
Cluster
protected Cluster()
Cluster
public Cluster(E datum)
Cluster
public Cluster(E datum,
String label)
Cluster
public Cluster(List<E> data)
Cluster
public Cluster(List<E> data,
String label)
get
public E get(int index)
getData
public List<E> getData()
getLabel
public String getLabel()
setLabel
public void setLabel(String label)
iterator
public Iterator<E> iterator()
- Specified by:
iterator
in interface Iterable<E>
size
public int size()
contentToString
public String contentToString()