Package com.prineside.tdi2.utils
Class MovingAverageFloat
java.lang.Object
com.prineside.tdi2.utils.MovingAverageFloat
- All Implemented Interfaces:
KryoSerializable
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
MovingAverageFloat
public MovingAverageFloat(int maxEntries)
-
-
Method Details
-
write
- Specified by:
write
in interfaceKryoSerializable
-
read
- Specified by:
read
in interfaceKryoSerializable
-
push
public void push(float v) -
getAverage
public float getAverage() -
getCount
public int getCount() -
reset
public void reset()
-