![]() |
LINE Solver (C++)
Templated C++ port of the LINE queueing solver
|
#include <line/opt/de/mt19937.h>
Public Member Functions | |
| MT19937 (std::uint64_t seed_value) | |
| void | seed (std::uint64_t value) |
| NumPy legacy scalar seeding (init_genrand, or little-endian words). | |
| void | init_genrand (std::uint32_t value) |
| void | init_by_array (const std::vector< std::uint32_t > &key) |
| std::uint32_t | next_uint32 () |
| Next tempered word, exactly MT19937.nextUint32 in the MATLAB port. | |
| const std::array< std::uint32_t, state_size > & | state_key () const |
| std::size_t | position () const |
Static Public Attributes | |
| static constexpr std::size_t | state_size = 624 |
|
inlineexplicit |
|
inline |
Definition at line 61 of file mt19937.h.
References init_genrand(), line::InputError::InputError(), and state_size.
Referenced by seed().
|
inline |
Definition at line 51 of file mt19937.h.
References state_size.
Referenced by init_by_array(), and seed().
|
inline |
Next tempered word, exactly MT19937.nextUint32 in the MATLAB port.
Definition at line 93 of file mt19937.h.
References state_size.
|
inline |
|
inline |
NumPy legacy scalar seeding (init_genrand, or little-endian words).
Definition at line 38 of file mt19937.h.
References init_by_array(), and init_genrand().
Referenced by MT19937().
|
inline |
|
staticconstexpr |
Definition at line 33 of file mt19937.h.
Referenced by init_by_array(), init_genrand(), and next_uint32().