Class MovingAverage
- java.lang.Object
-
- com.inductiveautomation.ignition.common.MovingAverage
-
public class MovingAverage extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description MovingAverage()Creates a moving average over the last 5 values.MovingAverage(int n)Creates a moving average over the last N values.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description doublegetAverage()<T extends java.lang.Number>
voidupdate(T amount)
-