RAII class to use rng_deterministic in the current scope. More...
#include <random_new_deterministic.hpp>
Public Member Functions | |
set_random_determinstic (rand_rng::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 42 of file random_new_deterministic.hpp.
random_new::set_random_determinstic::set_random_determinstic | ( | rand_rng::mt_rng & | rng | ) |
Definition at line 37 of file random_new_deterministic.cpp.
References random_new::generator, and new_rng_.
random_new::set_random_determinstic::~set_random_determinstic | ( | ) |
Definition at line 43 of file random_new_deterministic.cpp.
References random_new::generator, and old_rng_.
|
private |
Definition at line 49 of file random_new_deterministic.hpp.
Referenced by set_random_determinstic().
|
private |
Definition at line 48 of file random_new_deterministic.hpp.
Referenced by ~set_random_determinstic().