protected static class SimplifiedHierarchyExtraction.TempCluster extends Object
Modifier and Type | Field and Description |
---|---|
protected 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.
|
private Cluster<DendrogramModel> |
toCluster(Clustering<DendrogramModel> clustering,
DBIDRef lead)
Make the cluster for the given object
|
protected ModifiableDBIDs newids
protected double depth
protected 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 spuriousprivate Cluster<DendrogramModel> toCluster(Clustering<DendrogramModel> clustering, DBIDRef lead)
clustering
- Parent clusteringlead
- Leading objectCopyright © 2015 ELKI Development Team, Lehr- und Forschungseinheit für Datenbanksysteme, Ludwig-Maximilians-Universität München. License information.