ECF 1.5
|
Abstract Randomizer class. More...
#include <Randomizer.h>
Public Member Functions | |
virtual int | getRandomInteger (int p, int q)=0 |
Returns random integer in [p, q]. More... | |
virtual int | getRandomInteger (uint p)=0 |
Returns radnom integer in [0, p - 1]. More... | |
virtual double | getRandomDouble ()=0 |
Returns random double. More... | |
virtual void | registerParameters (StateP s) |
virtual bool | initialize (StateP s) |
Abstract Randomizer class.
Definition at line 11 of file Randomizer.h.
|
inline |
Definition at line 14 of file Randomizer.h.
|
inlinevirtual |
Definition at line 16 of file Randomizer.h.
|
pure virtual |
Returns random double.
Implemented in SimpleRandomizer.
|
pure virtual |
Returns random integer in [p, q].
Implemented in SimpleRandomizer.
|
pure virtual |
Returns radnom integer in [0, p - 1].
Implemented in SimpleRandomizer.
|
inlinevirtual |
Reimplemented in SimpleRandomizer.
Definition at line 29 of file Randomizer.h.
|
inlinevirtual |
Definition at line 27 of file Randomizer.h.