class adevs::random_seq

The random_seq class is an abstract interface to a random sequence generator

Inheritance:


Public Methods

[more]virtual void set_seed(unsigned long seed) = 0
Set the seed for the random number generator
[more]virtual double next_dbl() = 0
Get the next double uniformly distributed in [0, 1]
[more]virtual random_seq* copy() const = 0
Copy the random number generator
[more]virtual unsigned long next_long() = 0
[more]virtual ~random_seq()
Destructor


Documentation

The random_seq class is an abstract interface to a random sequence generator
ovirtual void set_seed(unsigned long seed) = 0
Set the seed for the random number generator

ovirtual double next_dbl() = 0
Get the next double uniformly distributed in [0, 1]

ovirtual random_seq* copy() const = 0
Copy the random number generator

ovirtual unsigned long next_long() = 0

ovirtual ~random_seq()
Destructor


Direct child classes:
mtrand
crand

Alphabetic index HTML hierarchy of classes or Java



This page was generated with the help of DOC++.