public class GaussianNoiseFunction extends Object implements NoiseFunction
| Modifier and Type | Field and Description |
|---|---|
protected static Random |
rnd
Random seed for creating noise.
|
| Constructor and Description |
|---|
GaussianNoiseFunction(double standardDeviation)
Class constructor.
|
protected static Random rnd
public GaussianNoiseFunction(double standardDeviation)
standardDeviation - the standard deviation of the desired Gaussianpublic double apply(double trueValue)
apply in interface NoiseFunctiontrueValue - the actual value of the quantity.Copyright © 2013. All rights reserved.