Classes derived from this abstract class implement specific
distributions. Each distribution is parameterized with the values of
appropriate parameters. The value method is used to return a value
from the distribution.

The currently defined distributions, and their associated parameters are:

UniformRandomVariabletools/ranvar.h

min_, max_

ExponentialRandomVariabletools/ranvar.h

avg_

ParetoRandomVariabletools/ranvar.h

avg_, shape_

ParetoIIRandomVariabletools/ranvar.h

avg_, shape_

ConstantRandomVariabletools/ranvar.h

val_

HyperExponentialRandomVariabletools/ranvar.h

avg_, cov_

NormalRandomVariabletools/ranvar.h

avg_, std_

LogNormalRandomVariabletools/ranvar.h

avg_, std_

The RandomVariable class is available in OTcl. For instance, to
create a random variable that generates number uniformly on [10, 20]: