Class ArrayDifference<T extends Number>

    • Field Detail

      • m_AbsoluteValue

        protected boolean m_AbsoluteValue
        whether to return the absolute value.
    • Constructor Detail

      • ArrayDifference

        public ArrayDifference()
    • Method Detail

      • setAbsoluteValue

        public void setAbsoluteValue​(boolean value)
        Sets whether to return the absolute difference.
        Parameters:
        value - if true then the absolute difference
      • getAbsoluteValue

        public boolean getAbsoluteValue()
        Returns whether to return the absolute difference.
        Returns:
        true if the absolute difference is returned
      • absoluteValueTipText

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

        public int getLength()
        Returns the length of the stored arrays.
        Specified by:
        getLength in interface EqualLengthArrayStatistic
        Returns:
        the length of the arrays, -1 if none stored
      • getMin

        public int getMin()
        Returns the minimum number of arrays that need to be present. -1 for unbounded.
        Specified by:
        getMin in class AbstractArrayStatistic<T extends Number>
        Returns:
        the minimum number, -1 for unbounded
      • getMax

        public int getMax()
        Returns the maximum number of arrays that need to be present. -1 for unbounded.
        Specified by:
        getMax in class AbstractArrayStatistic<T extends Number>
        Returns:
        the maximum number, -1 for unbounded