@Beta @PublicAPI public interface IDBasedHierarchicCluster extends HierarchicCluster<Integer>
Please note that this class is marked with @Beta annotation, so it can be subject of incompatible changes or removal in later releases.
Modifier and Type | Method and Description |
---|---|
List<IDBasedHierarchicCluster> |
clusters()
Access further grouping of the represented elements.
|
int |
getClusterID()
Associated cluster ID, unique among a clustering.
|
Optional<IDBasedHierarchicCluster> |
parent()
Get parent for non roots.
|
depth, height, immediateDescendantsCount, leaves
memberCount, members, representant
int getClusterID()
Please note that cluster ID is exposed in order to ease the implementation of efficient composition of higher level clustering representations. Cluster IDs associated for clusters retrieved from different clusterings can not be meaningfully compared.
List<IDBasedHierarchicCluster> clusters()
HierarchicCluster
Note that a hierarchic cluster might represent structures without further divisions: it is valid to contain
Cluster.members()
but not contain HierarchicCluster.clusters()
.
clusters
in interface HierarchicCluster<Integer>
Optional<IDBasedHierarchicCluster> parent()
HierarchicCluster
parent
in interface HierarchicCluster<Integer>