public class WardsLinkageTreeBuilderAll extends AbstractWardsLinkageTreeBuilder
Modifier and Type | Field and Description |
---|---|
private boolean |
lazyUpdate |
level, monitor, progress, progressWriter
Constructor and Description |
---|
WardsLinkageTreeBuilderAll()
Only use this constructor if you suspect WardsLinkageTreeBuilderAll(true) does not return a correct clustering
|
WardsLinkageTreeBuilderAll(boolean lazyUpdate)
Only use false if you suspect WardsLinkageTreeBuilderAll(true) does not return a correct clustering.
|
Modifier and Type | Method and Description |
---|---|
private TreeSet<NodeDistance> |
calculateInitialDistances(GeneralUnitPNode[][] units)
Calculates the initial distances from each To each other unit where there is not yet a distance calculated.
|
ClusteringTree |
createTree(GeneralUnitPNode[][] units)
Calculation of the Clustering.
|
String |
getClusteringAlgName() |
calcESSincrease
allowAborting, finishMonitor, incrementMonitor, resetMonitor, setMonitor
public WardsLinkageTreeBuilderAll()
public WardsLinkageTreeBuilderAll(boolean lazyUpdate)
lazyUpdate
- true to use faster update functionpublic 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