|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.aliasi.cluster.Dendrogram<E>
com.aliasi.cluster.LinkDendrogram<E>
E - the type of objects being clusteredpublic class LinkDendrogram<E>
A LinkDendrogram consists of a pair of sub-dendrograms
which are joined at a specified cost. Although typically used in
the case where the sub-dendrograms have lower costs than their
parent dendrograms, this condition is not enforced by this
implementation.
| Constructor Summary | |
|---|---|
LinkDendrogram(Dendrogram<E> dendrogram1,
Dendrogram<E> dendrogram2,
double cost)
Construct a link dendrogram containing the specified object. |
|
| Method Summary | |
|---|---|
Dendrogram<E> |
dendrogram1()
Returns the first dendrogram in the linked dendrogram. |
Dendrogram<E> |
dendrogram2()
Returns the second dendrogram in the linked dendrogram. |
Set<E> |
memberSet()
Returns the members of this dendrogram. |
double |
score()
Returns the cost of this dendogram. |
| Methods inherited from class com.aliasi.cluster.Dendrogram |
|---|
contains, copheneticCorrelation, dereference, parent, partitionDistance, partitionK, prettyPrint, size, structurallyEquivalent, toString, withinClusterScatter |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public LinkDendrogram(Dendrogram<E> dendrogram1,
Dendrogram<E> dendrogram2,
double cost)
dendrogram1 - First dendrogram in cluster.dendrogram2 - Second dendrogram in cluster.cost - Cost of creating this dendrogram from the specified
dendrograms.
IllegalArgumentException - If the cost is less than
0.0.| Method Detail |
|---|
public double score()
score in interface Scoredscore in class Dendrogram<E>public Set<E> memberSet()
Dendrogram
memberSet in class Dendrogram<E>public Dendrogram<E> dendrogram1()
public Dendrogram<E> dendrogram2()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||