Class Linkage

    • Constructor Summary

      Constructors 
      Constructor Description
      Linkage()  
    • Method Summary

      All Methods Instance Methods Abstract Methods Concrete Methods 
      Modifier and Type Method Description
      float d​(int i, int j)
      Returns the distance/dissimilarity between two clusters/objects, which are indexed by integers.
      abstract void merge​(int i, int j)
      Merge two clusters into one and update the proximity matrix.
      int size()
      Returns the proximity matrix size.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • Linkage

        public Linkage()
    • Method Detail

      • size

        public int size()
        Returns the proximity matrix size.
      • d

        public float d​(int i,
                       int j)
        Returns the distance/dissimilarity between two clusters/objects, which are indexed by integers.
      • merge

        public abstract void merge​(int i,
                                   int j)
        Merge two clusters into one and update the proximity matrix.
        Parameters:
        i - cluster id.
        j - cluster id.