public static class NoiseFactory.NoiseImplFunction extends java.lang.Object implements Noise
Noise.Noisy
DIMENSION_PROPERTY
Constructor and Description |
---|
NoiseFactory.NoiseImplFunction()
Default zero noise.
|
NoiseFactory.NoiseImplFunction(Function function) |
public NoiseFactory.NoiseImplFunction(Function function)
function
- A function of time that explicitly defines the noisepublic NoiseFactory.NoiseImplFunction()
public Function getFunction()
public float getValue(float startTime, float endTime, float input)
getValue
in interface Noise
startTime
- Simulation time at which step startsendTime
- Simulation time at which step endsinput
- Value which is to be corrupted by noiseNoise.getValue(float, float, float)
public Noise clone()
public void reset(boolean randomize)
reset
in interface Resettable
randomize
- True indicates that the object should be reset to a
randomly selected initial state (the object must be aware of the
distribution from which to draw from). False indicates that the
object should be reset to a fixed initial state (which it must
also know). Some objects may not support randomization of the initial
state, in which case a fixed state will be used in either case.Resettable.reset(boolean)