stella.util
Class QuadraticBoard
java.lang.Object
stella.util.TriggerBoard
stella.util.QuadraticBoard
- All Implemented Interfaces:
- Toggling
public class QuadraticBoard
- extends TriggerBoard
A subclass of a trigger board. This board takes the impact of offsets from
the mean as the square of the argument this should be optimal for
normal-distributed noise.
|
Constructor Summary |
QuadraticBoard(String parameter)
Constructs a quadratic trigger board from a string. |
|
Method Summary |
protected double |
getNegativeHit(double raw)
The impact of a negativ value. |
protected double |
getPositiveHit(double raw)
The impact of a positive value. |
QuadraticBoard
public QuadraticBoard(String parameter)
- Constructs a quadratic trigger board from a string.
getNegativeHit
protected double getNegativeHit(double raw)
- The impact of a negativ value. Returns the negativ square of the
arguement.
- Overrides:
getNegativeHit in class TriggerBoard
- Parameters:
raw - An always-negative value.
getPositiveHit
protected double getPositiveHit(double raw)
- The impact of a positive value. Returns the square of the argument.
- Overrides:
getPositiveHit in class TriggerBoard
- Parameters:
raw - An always-positive value.