Class MovingAverage

    • Field Detail

      • m_WindowSize

        protected int m_WindowSize
        the size of the window to compute the average on.
      • m_Queue

        protected List<Number> m_Queue
        the values to compute the average on.
    • Constructor Detail

      • MovingAverage

        public MovingAverage()
    • Method Detail

      • setWindowSize

        public void setWindowSize​(int value)
        Sets the window size.
        Parameters:
        value - the window size
      • getWindowSize

        public int getWindowSize()
        Returns the window size.
        Returns:
        the window zie
      • windowSizeTipText

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