#include <RndmGenerators.h>
Inheritance diagram for Rndm::Poisson:
Public Member Functions | |
Poisson (double m) | |
Standard Constructor. | |
virtual | ~Poisson () |
Standard Destructor. | |
double | mean () const |
Access mean value 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 value of the Poisson distribution. | |
const InterfaceID | m_type |
Type of the generator. | |
Friends | |
class | Generator< Poisson > |
Definition at line 218 of file RndmGenerators.h.
Rndm::Poisson::Poisson | ( | double | m | ) | [inline] |
Standard Constructor.
Definition at line 225 of file RndmGenerators.h.
00225 : IRndmGen::Param(IID_IRndmPoisson), m_mean(m) { }
virtual Rndm::Poisson::~Poisson | ( | ) | [inline, virtual] |
double Rndm::Poisson::mean | ( | ) | const [inline] |
Access mean value of the distribution.
Definition at line 229 of file RndmGenerators.h.
00229 { return m_mean; }
static const InterfaceID& Rndm::Poisson::typeID | ( | ) | [inline, static] |
Identifier for factory.
Definition at line 231 of file RndmGenerators.h.
00231 { return IID_IRndmPoisson; }
virtual IRndmGen::Param* Rndm::Poisson::clone | ( | ) | const [inline, virtual] |
virtual const InterfaceID& IRndmGen::Param::type | ( | ) | const [inline, virtual, inherited] |
friend class Generator< Poisson > [friend] |
Definition at line 219 of file RndmGenerators.h.
double Rndm::Poisson::m_mean [protected] |
const InterfaceID IRndmGen::Param::m_type [protected, inherited] |