com.yobotics.simulationconstructionset.util.math.filter
Class SimpleMovingAverageFilteredYoVariable

java.lang.Object
  extended by com.yobotics.simulationconstructionset.YoVariable
      extended by com.yobotics.simulationconstructionset.DoubleYoVariable
          extended by com.yobotics.simulationconstructionset.util.math.filter.SimpleMovingAverageFilteredYoVariable
All Implemented Interfaces:
java.io.Serializable

public class SimpleMovingAverageFilteredYoVariable
extends DoubleYoVariable

See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.yobotics.simulationconstructionset.YoVariable
MAX_LENGTH_SHORT_NAME
 
Constructor Summary
SimpleMovingAverageFilteredYoVariable(java.lang.String name, int windowSize, DoubleYoVariable yoVariableToFilter, YoVariableRegistry registry)
          Filter the given yoVariable using a moving average filter.
 
Method Summary
static void main(java.lang.String[] args)
           
 void update()
           
 
Methods inherited from class com.yobotics.simulationconstructionset.DoubleYoVariable
add, add, getDoubleValue, getValueAsDouble, getValueString, getValueStringFromDouble, getYoVariableType, isNaN, mul, mul, set, setValueFromDouble, sub, sub, toString, valueEquals
 
Methods inherited from class com.yobotics.simulationconstructionset.YoVariable
addVariableChangedListener, fullNameEndsWithCaseInsensitive, getDescription, getFullNameWithNameSpace, getManualScalingMax, getManualScalingMin, getName, getName, getNameAndValueString, getNameAndValueStringFromDouble, getNameSpace, getNumericValueAsAString, getShortName, getVariableChangedListeners, getYoVariableRegistry, hasSameFullName, notifyVariableChangedListeners, removeAllVariableChangedListeners, removeVariableChangedListener, setManualScalingMinMax
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SimpleMovingAverageFilteredYoVariable

public SimpleMovingAverageFilteredYoVariable(java.lang.String name,
                                             int windowSize,
                                             DoubleYoVariable yoVariableToFilter,
                                             YoVariableRegistry registry)
Filter the given yoVariable using a moving average filter. This class is NOT REWINDABLE!

Method Detail

update

public void update()

main

public static void main(java.lang.String[] args)