protected class ClustersWithNoiseExtraction.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 |
mergeClusters(WritableDataStore<ArrayModifiableDBIDs> clusters,
DBIDRef it,
DBIDRef succ)
Merge two clusters
|
private int |
mergeClusterSizes(WritableIntegerDataStore clustersizes,
DBIDRef it,
DBIDRef succ)
Merge two clusters, size only.
|
Clustering<Model> |
run()
Extract all clusters from the pi-lambda-representation.
|
protected ArrayDBIDs ids
protected DBIDDataStore pi
protected DoubleDataStore lambda
protected DoubleDataStore coredist
null
).protected PointerHierarchyRepresentationResult pointerresult
public Instance(PointerHierarchyRepresentationResult pointerresult)
pointerresult
- Hierarchical resultpublic Clustering<Model> run()
private int mergeClusterSizes(WritableIntegerDataStore clustersizes, DBIDRef it, DBIDRef succ)
clustersizes
- Cluster sizesit
- Source object (disappears)succ
- Target objectprivate void mergeClusters(WritableDataStore<ArrayModifiableDBIDs> clusters, DBIDRef it, DBIDRef succ)
clusters
- Temporary clustersit
- Source object (disappears)succ
- Target objectCopyright © 2019 ELKI Development Team. License information.