|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.aitools.dm.clustering.dendrogram.DendrogramBase<S>
public abstract class DendrogramBase<S extends ClusterStep>
A basic implementation for a Dendrogram
. An implementation only
needs to fill the list of ClusterStep
s using
add(ClusterStep)
and implement Dendrogram.iterator()
.
Method Summary | |
---|---|
void |
add(S step)
Add a ClusterStep to the back of the list. |
int |
numPoints()
|
int |
numSteps()
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface de.aitools.dm.clustering.dendrogram.Dendrogram |
---|
iterator |
Method Detail |
---|
public final int numSteps()
numSteps
in interface Dendrogram<S extends ClusterStep>
ClusterStep
s this
dendrogram knows of.public final int numPoints()
numPoints
in interface Dendrogram<S extends ClusterStep>
public final void add(S step)
ClusterStep
to the back of the list.
step
- The step to be added.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |