|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objecttpp.HierarchicalCluster
public class HierarchicalCluster
A cluster of instances and or other clusters
Method Summary | |
---|---|
void |
add(java.lang.Object member)
cluster can only contain Instances or other Clusters |
java.lang.Object |
get(int i)
|
Matrix |
getCentroid()
|
java.util.Vector<Instance> |
getInstances()
All the instances in all the sub-clusters of this one |
java.util.Vector |
getMembers()
|
boolean |
isLeaf()
is this a leaf? ie does it contain just one instance and no sub-clusters |
void |
remove(java.lang.Object member)
|
int |
size()
|
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Method Detail |
---|
public void add(java.lang.Object member)
public void remove(java.lang.Object member)
public Matrix getCentroid()
public int size()
public boolean isLeaf()
public java.lang.String toString()
toString
in class java.lang.Object
public java.lang.Object get(int i)
public java.util.Vector getMembers()
public java.util.Vector<Instance> getInstances()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |