#include <SExpDist.h>
Inherits SProbabilityDist.
Inheritance diagram for SExpDist:
Public Types | |
enum | Type { CONST, UNIFORM, GEOMETRIC, BINOMIAL, POISSON, EXPONENTIAL, BURSTY, SELFSIMILAR, NORMAL, PARETO } |
Public Methods | |
SExpDist () | |
SExpDist (double mean) | |
SExpDist (const SExpDist &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 exponential distributed random values which are created with the inverse 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. |
|
The parameter |
|
|