Interface IDBasedHierarchicClustering

    • Method Detail

      • getMaxClusterID

        int getMaxClusterID()
        Maximal ClusterID present in this clustering.
        Returns:
        Maximal cluster ID present.
      • getMaxLeafID

        int getMaxLeafID()
        Maximal leaf ID referenced in this clustering.
        Returns:
        Maximal leaf ID referenced.
      • getClusterIndexOf

        int getClusterIndexOf​(int leafId)
        Cluster ID of a leaf. Functionality is similar to HierarchicClustering.clusterOf(java.lang.Object).
        Parameters:
        leafId - A leaf
        Returns:
        Lowest level Cluster ID or -1 when the leaf is not present in the clustering
      • getParentClusterIndexOf

        int getParentClusterIndexOf​(int clusterId)
        Cluster ID of a cluster's parent.
        Parameters:
        clusterId - A cluster ID
        Returns:
        Parent cluster ID or -1 when the specified cluster is a root or when the specified cluster is not contained