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

Public Types | |
| enum | Type { CONST, UNIFORM, GEOMETRIC, BINOMIAL, POISSON, EXPONENTIAL, BURSTY, SELFSIMILAR, NORMAL, PARETO } |
Public Methods | |
| SGeometricDist (double mean) | |
| SGeometricDist (const SGeometricDist &rU) | |
| virtual double | getValue () |
| virtual Type | getType () const |
| virtual double | getExpectation () 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 geometric distributed random values which are created with the ??? method
|
|
|
Copy constructor |
|
|
Implements SProbabilityDist. |
|
|
Get type of probability distribution
Implements SProbabilityDist. |
|
|
Get a geometric distributed random value
Implements SProbabilityDist. |
|
|
|
|
|
|
1.2.18