Class AgglomerativeNeighbor

  • All Implemented Interfaces:
    java.io.Serializable

    public class AgglomerativeNeighbor
    extends Neighbor
    A Neighbor created by merging two clusters of the original Clustering.
    Since:
    1.0
    Version:
    1.0
    Author:
    "Aron Culotta"
    See Also:
    Serialized Form
    • Constructor Detail

      • AgglomerativeNeighbor

        public AgglomerativeNeighbor​(Clustering original,
                                     Clustering modified,
                                     int[][] oldClusters)
        Parameters:
        original -
        modified -
        cluster1 - Instance indices for one cluster that was merged.
        cluster2 - Instance indices for other cluster that was merged.
      • AgglomerativeNeighbor

        public AgglomerativeNeighbor​(Clustering original,
                                     Clustering modified,
                                     int[] oldCluster1,
                                     int[] oldCluster2)
      • AgglomerativeNeighbor

        public AgglomerativeNeighbor​(Clustering original,
                                     Clustering modified,
                                     int oldCluster1,
                                     int oldCluster2)
    • Method Detail

      • getNewCluster

        public int[] getNewCluster()
      • getOldClusters

        public int[][] getOldClusters()
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class Neighbor