#include <SPoissonDist.h>
Inherits SProbabilityDist.
Inheritance diagram for SPoissonDist:

Public Types | |
| enum | Type { CONST, UNIFORM, GEOMETRIC, BINOMIAL, POISSON, EXPONENTIAL, BURSTY, SELFSIMILAR, NORMAL, PARETO } |
Public Methods | |
| SPoissonDist () | |
| SPoissonDist (double mean) | |
| SPoissonDist (const SPoissonDist &rU) | |
| virtual double | getValue () |
| virtual double | getExpectation () const |
| virtual Type | getType () const |
| double | getLambda () const |
Protected Attributes | |
| double | _p |
Static Protected Attributes | |
| leda_random_source | _rndSrc |
|
|
Type of probability distribution: (CONST states that result is always the same, i.e. constant) |
|
|
This class generates poisson distributed random values which are created with the rejection method
|
|
|
|
|
|
Copy constructor |
|
|
Implements SProbabilityDist. |
|
|
|
|
|
Get type of probability distribution
Implements SProbabilityDist. |
|
|
Get a value, the probability of getting this value depends on the specified probability distribution
Implements SProbabilityDist. |
|
|
|
|
|
|
1.2.18