adevs
|
#include <adevs_rand.h>
Public Member Functions | |
virtual void | set_seed (unsigned long seed)=0 |
Set the seed for the random number generator. | |
virtual double | next_dbl ()=0 |
Get the next double uniformly distributed in [0, 1]. | |
virtual random_seq * | copy () const =0 |
Copy the random number generator. | |
virtual unsigned long | next_long ()=0 |
Get the next unsigned long. | |
virtual | ~random_seq () |
Destructor. | |
The random_seq class is an abstract interface to a random sequence generator.