aim4.noise
Interface NoiseFunction
- All Known Implementing Classes:
- BasicNoiseFunction, GaussianNoiseFunction, UniformFixedNoiseFunction, UniformProportionalNoiseFunction
public interface NoiseFunction
Interface for noise functions that can affect double values.
This allows gauges, for example, to be noisy.
Method Summary |
double |
apply(double actualValue)
Apply the noise function to the given value. |
apply
double apply(double actualValue)
- Apply the noise function to the given value.
- Parameters:
actualValue
- the actual value of the quantity.
- Returns:
- the value of the quantity with noise added.
Copyright © 2011. All Rights Reserved.