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

Public Methods | |
| DRandVar (RNG *generator) | |
| Constructor. | |
| virtual int | 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. | |