Robot Simulator of the Robotics Group for Self-Organization of Control
0.8.0
|
generates white (no averaging) uniformly distributed random number between "min" and "max" More...
#include <noisegenerator.h>
Public Member Functions | |
WhiteUniformNoise () | |
virtual | ~WhiteUniformNoise () |
virtual double | generate () |
generate somehow distributed random number parameterized with min and max. More... | |
Public Member Functions inherited from NoiseGenerator | |
NoiseGenerator () | |
virtual | ~NoiseGenerator () |
virtual void | init (unsigned int dimension, RandGen *randGen=0) |
initialization with the the given dimension for multidimensional noise More... | |
virtual void | add (double *value, double noiseStrength) |
adds multidimensional noise to the value field. More... | |
virtual unsigned int | getDimension () const |
virtual void | setDimension (unsigned int dim) |
Additional Inherited Members | |
Protected Member Functions inherited from NoiseGenerator | |
double | uniform (double min=-0.1, double max=0.1) |
double | uniform01 () |
Protected Attributes inherited from NoiseGenerator | |
unsigned int | dimension |
RandGen * | randGen |
bool | ownRandGen |
generates white (no averaging) uniformly distributed random number between "min" and "max"
|
inline |
|
inlinevirtual |
|
inlinevirtual |
generate somehow distributed random number parameterized with min and max.
valid only for ONE random number, use add() for adding this kind of noise to several channels
Implements NoiseGenerator.