public GlitchFilteredBooleanYoVariable(String name, YoVariableRegistry registry, int windowSize) { super(name, registry); counter = new IntegerYoVariable(name + "Count", registry); this.windowSize = new IntegerYoVariable(name + "WindowSize", registry); initialize(null, windowSize); }
public GlitchFilteredBooleanYoVariable(String name, String description, YoVariableRegistry registry, BooleanYoVariable yoVariableToFilter, int windowSize) { super(name, description, registry); counter = new IntegerYoVariable(name + "Count", description, registry); this.windowSize = new IntegerYoVariable(name + "WindowSize", description, registry); initialize(yoVariableToFilter, windowSize); }
public GlitchFilteredBooleanYoVariable(String name, BooleanYoVariable yoVariableToFilter, int windowSize) { super(name, "GlitchFilteredBooleanYoVariable", null); counter = new IntegerYoVariable(name + "Count", getYoVariableRegistry()); this.windowSize = new IntegerYoVariable(name + "WindowSize", getYoVariableRegistry()); initialize(yoVariableToFilter, windowSize); }
public GlitchFilteredBooleanYoVariable(String name, int windowSize) { super(name, "GlitchFilteredBooleanYoVariable", null); counter = new IntegerYoVariable(name + "Count", getYoVariableRegistry()); this.windowSize = new IntegerYoVariable(name + "WindowSize", getYoVariableRegistry()); initialize(null, windowSize); }