public class WardsLinkageTreeBuilder extends AbstractWardsLinkageTreeBuilder
WardsLinkageTreeBuilderAll
for the "real" Ward's clustering.level, monitor, progress, progressWriter
Constructor and Description |
---|
WardsLinkageTreeBuilder() |
Modifier and Type | Method and Description |
---|---|
private TreeSet<NodeDistance> |
calculateInitialDistances(GeneralUnitPNode[][] units)
Calculates the initial distances from each unit to its neighbours to the right, bottom, bottom-right and
bottom-left.
|
ClusteringTree |
createTree(GeneralUnitPNode[][] units)
Calculation of the Clustering.
|
String |
getClusteringAlgName() |
calcESSincrease
allowAborting, finishMonitor, incrementMonitor, resetMonitor, setMonitor
public ClusteringTree createTree(GeneralUnitPNode[][] units) throws ClusteringAbortedException
createTree
in class TreeBuilder
units
- the GeneralUnitPNode Array containing all the units of the SOMClusteringAbortedException
private TreeSet<NodeDistance> calculateInitialDistances(GeneralUnitPNode[][] units) throws ClusteringAbortedException
units
- A GeneralUnitPNode[][] containing the Units of the somClusteringAbortedException
public String getClusteringAlgName()
getClusteringAlgName
in class TreeBuilder