maliput
|
Defines Drake's canonical implementation of the UniformRandomBitGenerator C++ concept (as well as a few conventional extras beyond the concept, e.g., seeds).
This uses the 32-bit Mersenne Twister mt19937 by Matsumoto and Nishimura, 1998. For more information, see https://en.cppreference.com/w/cpp/numeric/random/mersenne_twister_engine
#include <src/maliput/drake/common/random.h>
Public Types | |
using | result_type = std::mt19937::result_type |
Public Member Functions | |
RandomGenerator ()=default | |
RandomGenerator (result_type value) | |
result_type | operator() () |
Static Public Member Functions | |
static constexpr result_type | min () |
static constexpr result_type | max () |
Static Public Attributes | |
static constexpr result_type | default_seed = std::mt19937::default_seed |
using result_type = std::mt19937::result_type |
|
default |
|
explicit |
|
staticconstexpr |
|
staticconstexpr |
result_type operator() | ( | ) |
|
staticconstexpr |