Class Extrapolation


  • public class Extrapolation
    extends java.lang.Object
    Linear extrapolation based on a series of numerical data points. Extrapolation is based on a rolling window, meaning all values are kept in a buffer, and when the buffer is full the oldest values are removed.
    • Constructor Summary

      Constructors 
      Constructor Description
      Extrapolation​(int bufferSize)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void add​(float value)  
      float extrapolate()  
      void reset()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • Extrapolation

        public Extrapolation​(int bufferSize)
    • Method Detail

      • add

        public void add​(float value)
      • reset

        public void reset()
      • extrapolate

        public float extrapolate()