E - the type of objects being clusteredpublic class LeafDendrogram<E> extends Dendrogram<E>
LeafDendrogram represents a dendrogram consisting
of a single object with link cost of 0.0.| Constructor and Description |
|---|
LeafDendrogram(E object)
Construct a leaf dendrogram containing the specified object.
|
| Modifier and Type | Method and Description |
|---|---|
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. |
contains, copheneticCorrelation, dereference, parent, partitionDistance, partitionK, prettyPrint, structurallyEquivalent, toString, withinClusterScatterpublic LeafDendrogram(E object)
object - Object contained in the constructed dendrogram.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>Copyright © 2016 Alias-i, Inc.. All rights reserved.