Interface DendrogramVisualization.Positions

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      double combine​(int o1, int o2, double y3, int o3)
      Combine two objects, and return the new X coordinate.
      double getX​(int o)
      Get the X coordinate of an object.
      double getY​(int o)
      Get the Y coordinate of an object.
      void set​(int off, double x, double height)
      Set the initial position
    • Method Detail

      • set

        void set​(int off,
                 double x,
                 double height)
        Set the initial position
        Parameters:
        off - Object offset
        x - X coordinate
        height - Y coordinate
      • getX

        double getX​(int o)
        Get the X coordinate of an object.
        Parameters:
        o - Object
        Returns:
        X coordinate
      • getY

        double getY​(int o)
        Get the Y coordinate of an object.
        Parameters:
        o - Object
        Returns:
        Y coordinate
      • combine

        double combine​(int o1,
                       int o2,
                       double y3,
                       int o3)
        Combine two objects, and return the new X coordinate.
        Parameters:
        o1 - First object
        o2 - Second object
        y3 - Merge Y coordinate
        o3 - Resulting cluster number
        Returns:
        New X coordinate