#include <random_deterministic.hpp>
|
| | rng_proxy (t_impl &&impl) |
| |
| virtual | ~rng_proxy ()=default |
| |
Public Member Functions inherited from randomness::rng |
| | rng () |
| |
| uint32_t | next_random () |
| | Provides the next random draw.
|
| |
| virtual | ~rng () |
| |
| unsigned int | get_random_calls () const |
| | Provides the number of random calls to the rng in this context.
|
| |
| int | get_random_int (int min, int max) |
| |
| bool | get_random_bool (double probability) |
| | This helper method returns true with the probability supplied as a parameter.
|
| |
| double | get_random_double () |
| | This helper method returns a floating-point number in the range [0,1[.
|
| |
| template<typename T > |
| T::difference_type | get_random_element (T first, T last) |
| | This helper method selects a random element from a container of floating-point numbers.
|
| |
| uint32_t | operator() () |
| |
| virtual bool | is_networked () const |
| | Is this random source networked? If it is it's very important we do actually use this random source to stay in-sync.
|
| |
Definition at line 43 of file random_deterministic.hpp.
◆ t_impl
◆ rng_proxy()
| randomness::rng_proxy::rng_proxy |
( |
t_impl && |
impl | ) |
|
|
inline |
◆ ~rng_proxy()
| virtual randomness::rng_proxy::~rng_proxy |
( |
| ) |
|
|
virtualdefault |
◆ next_random_impl()
| virtual uint32_t randomness::rng_proxy::next_random_impl |
( |
| ) |
|
|
inlineprotectedvirtual |
◆ impl_
| t_impl randomness::rng_proxy::impl_ |
|
private |
The documentation for this class was generated from the following file: