private static class SimplifiedHierarchyExtraction.TempCluster
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected java.util.Collection<Cluster<DendrogramModel>> |
children
(Finished) child clusters
|
protected double |
depth
Current height.
|
protected ModifiableDBIDs |
newids
New ids, not yet in child clusters.
|
Constructor and Description |
---|
TempCluster(double depth)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
add(DBIDRef id)
Add new objects to the cluster.
|
void |
addChild(Cluster<DendrogramModel> clu)
Add a child cluster.
|
void |
addDBIDs(DBIDs ids)
Add new objects to the cluster.
|
boolean |
isNotSpurious(int minClSize)
Test if a cluster is spurious.
|
protected ModifiableDBIDs newids
protected double depth
protected java.util.Collection<Cluster<DendrogramModel>> children
public TempCluster(double depth)
depth
- Depthpublic void add(DBIDRef id)
id
- ID to add.public void addDBIDs(DBIDs ids)
ids
- IDs to add.public void addChild(Cluster<DendrogramModel> clu)
clu
- Child cluster.public boolean isNotSpurious(int minClSize)
minClSize
- Minimum cluster sizetrue
if spuriousCopyright © 2019 ELKI Development Team. License information.