LDA++
|
#include <utils.hpp>
Public Types | |
typedef PRNG::result_type | result_type |
Public Member Functions | |
ThreadSafePRNG (int random_state) | |
result_type | operator() () |
Static Public Member Functions | |
static result_type | min () |
static result_type | max () |
Wrap a PRNG with this class in order to be able to pass it around even to other threads and protect its internal state from being corrupted.
see UniformRandomBitGenerator C++ concept http://en.cppreference.com/w/cpp/concept/UniformRandomBitGenerator