#include <random.h>
Inheritance diagram for MODEL::Random:
Public Methods | |
Random (counter initial_seed=0) | |
number | operator() (void) |
virtual number& | generate (number &storage)=0 |
void | seed (integer seed) |
counter | get_seed (void) |
Protected Attributes | |
counter | _seed |
Definition at line 30 of file random.h.
|
overload this one to define random number Reimplemented in MODEL::Uniform. Referenced by operator()().
|
|
grab the current seed status - to be able to continue if needed |
|
called to generate number |
|
re-seed the generator |
More Info? Michael Peeters. Also, check our research website: www.alna.vub.ac.be
Last update: June 2002.