#include <randomserver.h>
Inheritance diagram for zeitgeist::RandomServer:


Public Member Functions | |
| RandomServer () | |
| constructs a RandomServer | |
| virtual | ~RandomServer () |
| void | Seed (salt::RandomEngine::result_type seed) |
| set a random seed | |
| template<class RealType> | |
| RealType | GetUniformRandom (RealType min, RealType max) const |
| get a uniformly distributed random number | |
| template<class RealType> | |
| RealType | GetNormalRandom (RealType mean, RealType sigma) const |
| template<class RealType> | |
| RealType | GetExponentialRandom (RealType lambda) const |
Additionally, it provides interfaces to set a seed and access some distributions.
Definition at line 37 of file randomserver.h.
|
|
constructs a RandomServer
Definition at line 41 of file randomserver.h. |
|
|
Definition at line 43 of file randomserver.h. |
|
||||||||||
|
Definition at line 71 of file randomserver.h. |
|
||||||||||||||||
|
Definition at line 65 of file randomserver.h. |
|
||||||||||||||||
|
get a uniformly distributed random number
Definition at line 59 of file randomserver.h. |
|
|
set a random seed
Definition at line 46 of file randomserver.h. References salt::RandomEngine::instance(). Here is the call graph for this function: ![]() |
1.4.4