protected class SimplifiedHierarchyExtraction.Instance
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
protected DoubleDataStore |
coredist
Core distances (if available, may be
null). |
protected ArrayDBIDs |
ids
Unordered IDs
|
protected DoubleDataStore |
lambda
Merge distance
|
protected DBIDDataStore |
pi
Parent pointer
|
protected PointerHierarchyRepresentationResult |
pointerresult
The hierarchical result to process.
|
| Constructor and Description |
|---|
Instance(PointerHierarchyRepresentationResult pointerresult)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
private void |
addSingleton(SimplifiedHierarchyExtraction.TempCluster clus,
DBIDRef id,
double dist,
boolean asCluster)
Add a singleton object, as point or cluster.
|
protected Cluster<DendrogramModel> |
makeCluster(DBIDRef lead,
double depth,
DBIDs members)
Make the cluster for the given object
|
Clustering<DendrogramModel> |
run()
Extract all clusters from the pi-lambda-representation.
|
protected Cluster<DendrogramModel> |
toCluster(SimplifiedHierarchyExtraction.TempCluster temp,
Clustering<DendrogramModel> clustering,
DBIDRef lead)
Make the cluster for the given object
|
protected ArrayDBIDs ids
protected DBIDDataStore pi
protected DoubleDataStore lambda
protected DoubleDataStore coredist
null).protected PointerHierarchyRepresentationResult pointerresult
public Instance(PointerHierarchyRepresentationResult pointerresult)
pointerresult - Hierarchical resultpublic Clustering<DendrogramModel> run()
private void addSingleton(SimplifiedHierarchyExtraction.TempCluster clus, DBIDRef id, double dist, boolean asCluster)
clus - Current cluster.id - Object to adddist - DistanceasCluster - Add as cluster (or only as id)protected Cluster<DendrogramModel> toCluster(SimplifiedHierarchyExtraction.TempCluster temp, Clustering<DendrogramModel> clustering, DBIDRef lead)
temp - Current temporary clusterclustering - Parent clusteringlead - Leading objectprotected Cluster<DendrogramModel> makeCluster(DBIDRef lead, double depth, DBIDs members)
lead - Leading objectdepth - Linkage depthmembers - Member objectsCopyright © 2019 ELKI Development Team. License information.