#include <SParetoDist.h>
Inherits SProbabilityDist.
Inheritance diagram for SParetoDist:
Public Types | |
enum | Type { CONST, UNIFORM, GEOMETRIC, BINOMIAL, POISSON, EXPONENTIAL, BURSTY, SELFSIMILAR, NORMAL, PARETO } |
Public Methods | |
SParetoDist (double left, double right, double alpha) | |
SParetoDist (const SParetoDist &r) | |
virtual double | getValue () |
virtual Type | getType () const |
virtual double | getExpectation () const |
double | getLower () const |
double | getUpper () const |
void | setBounds (const double &left, const double &right, const double &alpha) |
Protected Attributes | |
double | _l |
double | _r |
double | _a |
Static Protected Attributes | |
leda_random_source | _rndSrc |
|
Type of probability distribution: (CONST states that result is always the same, i.e. constant) |
|
Constructor. Precondition: left <= right
|
|
Copy constructor |
|
Implements SProbabilityDist. |
|
|
|
Get type of probability distribution
Implements SProbabilityDist. |
|
|
|
Get a value from the interval [left, right]
Implements SProbabilityDist. |
|
|
|
|
|
|
|
|
|
|