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.
        value - the window size
      • getWindowSize

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

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