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

Public Types | |
| enum | Type { CONST, UNIFORM, GEOMETRIC, BINOMIAL, POISSON, EXPONENTIAL, BURSTY, SELFSIMILAR, NORMAL, PARETO } |
Public Methods | |
| SNormalDist (double exp, double var) | |
| SNormalDist (const SNormalDist &rU) | |
| virtual double | getValue () |
| virtual Type | getType () const |
| virtual double | getExpectation () const |
| virtual double | getVariance () const |
Protected Attributes | |
| double | _e |
| double | _v |
| double | buf |
| bool | filled |
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 normal distributed random values which are created with the polar method |
|
|
Copy constructor |
|
|
Implements SProbabilityDist. |
|
|
Get type of probability distribution
Implements SProbabilityDist. |
|
|
Get a Normal distributed random value
Implements SProbabilityDist. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1.2.18