#include <randomwell.h>
Public Methods | |
| void | setRNG (RandomNG *r) |
| void | seed (uint32 rseed) |
| void | timeSeed () |
| double | getRandom () |
| int | getRandom (int from, int to) |
| void | delRNG () |
| int | isSet () |
Static Protected Attributes | |
| RandomNG* | rng |
Definition at line 18 of file randomwell.h.
|
|
Definition at line 32 of file randomwell.h. 00032 {delete(rng);}
|
|
|
Definition at line 30 of file randomwell.h. 00030 {return(rng->getRandom(from, to));}
|
|
|
Definition at line 29 of file randomwell.h. 00029 {return(rng->getRandom());}
|
|
|
Definition at line 33 of file randomwell.h. 00033 {return(rng != 0x0);}
|
|
|
Definition at line 27 of file randomwell.h. 00027 {rng->seed(rseed);}
|
|
|
Definition at line 25 of file randomwell.h. 00025 {rng = r;}
|
|
|
Definition at line 28 of file randomwell.h. 00028 {rng->timeSeed();}
|
|
|
Definition at line 21 of file randomwell.h. |
1.2.6 written by Dimitri van Heesch,
© 1997-2001