Class ArrayMinkowskiDistance

    • Field Detail

      • m_Exponent

        protected double m_Exponent
        the exponent p.
    • Constructor Detail

      • ArrayMinkowskiDistance

        public ArrayMinkowskiDistance()
    • Method Detail

      • setExponent

        public void setExponent​(double value)
        Sets the exponent p.
        Parameters:
        value - the exponent
      • getExponent

        public double getExponent()
        Returns the exponent p.
        Returns:
        the exponent
      • exponentTipText

        public String exponentTipText()
        Returns the tip text for this property.
        Returns:
        tip text for this property suitable for displaying in the GUI or for listing the options.
      • calcDistance

        protected double calcDistance​(double[] first,
                                      double[] second)
        Calculates the distance between the two arrays.
        Specified by:
        calcDistance in class AbstractArrayDistance
        Parameters:
        first - the first array
        second - the second array
        Returns:
        the distance