#include <RndmGenerators.h>
Inheritance diagram for Rndm::Exponential:
Public Member Functions | |
Exponential (double m) | |
Standard Constructor. | |
virtual | ~Exponential () |
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 exponential distribution. | |
const InterfaceID | m_type |
Type of the generator. |
Definition at line 49 of file RndmGenerators.h.
Rndm::Exponential::Exponential | ( | double | m | ) | [inline] |
Standard Constructor.
Definition at line 55 of file RndmGenerators.h.
00056 : IRndmGen::Param(IID_IRndmExponential), m_mean(m) { }
virtual Rndm::Exponential::~Exponential | ( | ) | [inline, virtual] |
double Rndm::Exponential::mean | ( | ) | const [inline] |
Access mean value of the distribution.
Definition at line 60 of file RndmGenerators.h.
00060 { return m_mean; }
static const InterfaceID& Rndm::Exponential::typeID | ( | ) | [inline, static] |
Identifier for factory.
Definition at line 62 of file RndmGenerators.h.
00062 { return IID_IRndmExponential; }
virtual IRndmGen::Param* Rndm::Exponential::clone | ( | ) | const [inline, virtual] |
Clone parameters.
Implements IRndmGen::Param.
Definition at line 64 of file RndmGenerators.h.
00064 { return new Exponential(m_mean); }
virtual const InterfaceID& IRndmGen::Param::type | ( | ) | const [inline, virtual, inherited] |
double Rndm::Exponential::m_mean [protected] |
const InterfaceID IRndmGen::Param::m_type [protected, inherited] |