Modifier and Type | Field and Description |
---|---|
static String |
COLUMN_NAME_CONTENT |
static String |
COLUMN_NAME_CONTENT_LONG |
static String |
COLUMN_NAME_LEVEL |
private HierarchicalCluster<E> |
leftNode |
private double |
mergeCost |
private HierarchicalCluster<E> |
rightNode |
(package private) int |
size |
CONTENT_SEPARATOR_CHAR, data, label
Constructor and Description |
---|
HierarchicalCluster(E datum,
String label) |
HierarchicalCluster(HierarchicalCluster<E> cluster1,
HierarchicalCluster<E> cluster2) |
Modifier and Type | Method and Description |
---|---|
prefuse.data.Node |
buildPrefuseTree(prefuse.data.Tree tree,
prefuse.data.Node root) |
boolean |
contains(E element) |
boolean |
containsAll(Collection<E> data) |
int |
depth() |
boolean |
equalData(Collection<E> data) |
HierarchicalCluster<E> |
getLeftNode() |
double |
getMergeCost() |
double |
getMergeCostIncrease() |
HierarchicalCluster<E> |
getRightNode() |
boolean |
isLeaf() |
void |
setMergeCost(double mergeCost) |
(package private) String |
shortContentToString()
Cuts off the string when the content information is too long, but adds the number of surpressed cluster names.
|
String |
toString() |
public static final String COLUMN_NAME_LEVEL
public static final String COLUMN_NAME_CONTENT
public static final String COLUMN_NAME_CONTENT_LONG
private double mergeCost
private HierarchicalCluster<E> leftNode
private HierarchicalCluster<E> rightNode
int size
public HierarchicalCluster(HierarchicalCluster<E> cluster1, HierarchicalCluster<E> cluster2)
public prefuse.data.Node buildPrefuseTree(prefuse.data.Tree tree, prefuse.data.Node root)
String shortContentToString()
public HierarchicalCluster<E> getLeftNode()
public double getMergeCost()
public double getMergeCostIncrease()
public HierarchicalCluster<E> getRightNode()
public boolean isLeaf()
public void setMergeCost(double mergeCost)
public int depth()
public boolean contains(E element)
public boolean containsAll(Collection<E> data)
public boolean equalData(Collection<E> data)