Package 

Class ExponentialSmoothing

  • All Implemented Interfaces:

    
    public final class ExponentialSmoothing<V extends Vector<V>>
    
                        

    Exponential smoothing is a trivial way of smoothing signals. Let s(t) be the smoothed signal at time t, given a discrete signal g: s(t) = alpha * g(t) + (1 - alpha) * s(t-1) s(0) = g(0)

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      final V apply(V current) Applies the smoothing to the given force.
      • Methods inherited from class java.lang.Object

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

      • ExponentialSmoothing

        ExponentialSmoothing(Double alpha)
    • Method Detail

      • apply

         final V apply(V current)

        Applies the smoothing to the given force.