Robot Simulator of the Robotics Group for Self-Organization of Control  0.8.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
WhiteUniformNoise Class Reference

generates white (no averaging) uniformly distributed random number between "min" and "max" More...

#include <noisegenerator.h>

Inheritance diagram for WhiteUniformNoise:
Collaboration diagram for WhiteUniformNoise:

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
 
RandGenrandGen
 
bool ownRandGen
 

Detailed Description

generates white (no averaging) uniformly distributed random number between "min" and "max"

Constructor & Destructor Documentation

WhiteUniformNoise ( )
inline
virtual ~WhiteUniformNoise ( )
inlinevirtual

Member Function Documentation

virtual double generate ( )
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.


The documentation for this class was generated from the following file: