#include <RndmGenerators.h>
Inheritance diagram for Rndm::Gauss:
Public Member Functions | |
Gauss (double m, double s) | |
Standard Constructor. | |
virtual | ~Gauss () |
Standard Destructor. | |
double | mean () const |
Access mean value of the distribution. | |
double | sigma () const |
Access width of the distribution. | |
virtual IRndmGen::Param * | clone () const |
Clone parameters. | |
virtual const InterfaceID & | type () const |
Parameter's type. | |
Static Public Member Functions | |
static const InterfaceID & | typeID () |
Identifier for factory. | |
Protected Attributes | |
double | m_mean |
Mean of the Gauss distribution. | |
double | m_sigma |
Sigma of the Gauss ditribution. | |
const InterfaceID | m_type |
Type of the generator. | |
Friends | |
class | Generator< Gauss > |
Generator is the friend. |
Definition at line 21 of file RndmGenerators.h.
Rndm::Gauss::Gauss | ( | double | m, | |
double | s | |||
) | [inline] |
Standard Constructor.
Definition at line 31 of file RndmGenerators.h.
00032 : IRndmGen::Param(IID_IRndmGauss), m_mean(m), m_sigma(s) { }
virtual Rndm::Gauss::~Gauss | ( | ) | [inline, virtual] |
double Rndm::Gauss::mean | ( | ) | const [inline] |
Access mean value of the distribution.
Definition at line 36 of file RndmGenerators.h.
00036 { return m_mean; }
double Rndm::Gauss::sigma | ( | ) | const [inline] |
Access width of the distribution.
Definition at line 38 of file RndmGenerators.h.
00038 { return m_sigma; }
static const InterfaceID& Rndm::Gauss::typeID | ( | ) | [inline, static] |
Identifier for factory.
Definition at line 40 of file RndmGenerators.h.
00040 { return IID_IRndmGauss; }
virtual IRndmGen::Param* Rndm::Gauss::clone | ( | ) | const [inline, virtual] |
virtual const InterfaceID& IRndmGen::Param::type | ( | ) | const [inline, virtual, inherited] |
friend class Generator< Gauss > [friend] |
double Rndm::Gauss::m_mean [protected] |
double Rndm::Gauss::m_sigma [protected] |
const InterfaceID IRndmGen::Param::m_type [protected, inherited] |