|
|||||||||
| 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.LeafDendrogram<E>
public class LeafDendrogram<E>
A LeafDendrogram represents a dendrogram consisting
of a single object with link cost of 0.0.
| Field Summary |
|---|
| Fields inherited from interface com.aliasi.util.Scored |
|---|
REVERSE_SCORE_COMPARATOR, SCORE_COMPARATOR |
| Constructor Summary | |
|---|---|
LeafDendrogram(E object)
Construct a leaf dendrogram containing the specified object. |
|
| Method Summary | |
|---|---|
Set<E> |
memberSet()
Returns the singleton member of this dendrogram. |
E |
object()
Return the single object underlying this leaf dendrogram. |
double |
score()
Returns 0.0, the cost of a leaf dendrogram. |
int |
size()
Returns 1, the size of a leaf dendrogram. |
| Methods inherited from class com.aliasi.cluster.Dendrogram |
|---|
contains, copheneticCorrelation, dereference, parent, partitionDistance, partitionK, prettyPrint, toString, withinClusterScatter |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public LeafDendrogram(E object)
object - Object contained in the constructed dendrogram.| Method Detail |
|---|
public double score()
0.0, the cost of a leaf dendrogram.
score in interface Scoredscore in class Dendrogram<E>public E object()
public int size()
1, the size of a leaf dendrogram.
size in class Dendrogram<E>1.public Set<E> memberSet()
memberSet in class Dendrogram<E>
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||