DRandVar Class Reference

Abstract class for discrete random distributions. More...

#include <DRandVar.h>

Inheritance diagram for DRandVar::

DUniform List of all members.

Public Methods

 DRandVar (RNG *generator)
 Constructor.

virtual int operator() ()=0
 Operator which generates a random value.

RNGgenerator ()
 Returns the rng used by this instance.

void generator (RNG *p)
 Set the rng used by this instance.


Protected Attributes

RNGpGenerator
 The rng used by this instance.


Detailed Description

Abstract class for discrete random distributions.


The documentation for this class was generated from the following file: