#include <CRandVar.h>
Inheritance diagram for CRandVar::

Public Methods | |
| CRandVar (RNG *generator) | |
| Constructor, which can be initialized with a rng. | |
| virtual double | operator() ()=0 |
| Operator which generates a random value. | |
| RNG * | generator () |
| Returns the rng used by this instance. | |
| void | generator (RNG *p) |
| Set the rng used by this instance. | |
Protected Attributes | |
| RNG * | pGenerator |
| The rng used by this instance. | |
Adapted from GNU code by Dirk Grunwald.