RAII class to use rng_deterministic in the current scope. More...
#include <random_deterministic.hpp>
Public Member Functions | |
set_random_determinstic (mt_rng &rng) | |
~set_random_determinstic () | |
Private Attributes | |
rng * | old_rng_ |
rng_deterministic | new_rng_ |
RAII class to use rng_deterministic in the current scope.
Definition at line 66 of file random_deterministic.hpp.
randomness::set_random_determinstic::set_random_determinstic | ( | mt_rng & | rng | ) |
Definition at line 39 of file random_deterministic.cpp.
References randomness::generator, and new_rng_.
randomness::set_random_determinstic::~set_random_determinstic | ( | ) |
Definition at line 45 of file random_deterministic.cpp.
References randomness::generator, and old_rng_.
|
private |
Definition at line 73 of file random_deterministic.hpp.
Referenced by set_random_determinstic().
|
private |
Definition at line 72 of file random_deterministic.hpp.
Referenced by ~set_random_determinstic().