mn_ramdom_xorshift.hpp
Go to the documentation of this file.
An Intarface for all randoms classes in this library.
Definition: mn_random.hpp:32
Pseudro-Random Number Generator based on xor_shift128++ generator.
Definition: mn_ramdom_xorshift.hpp:36
virtual unsigned char rand8() override
Get a random unsigned char number.
Definition: mn_ramdom_xorshift.cpp:39
virtual seed_t get_seed() override
Get the current used Seed.
Definition: mn_ramdom_xorshift.hpp:61
virtual unsigned short rand16() override
Get a random unsigned short number.
Definition: mn_ramdom_xorshift.cpp:46
virtual void set_seed(seed_t seed) override
Set the a new seed.
Definition: mn_ramdom_xorshift.hpp:62
unsigned long m_xorandArray[4]
Definition: mn_ramdom_xorshift.hpp:66
basic_ramdom_xorshift(unsigned int startSeed)
Definition: mn_ramdom_xorshift.hpp:39
virtual unsigned int rand32() override
Get a random unsigned int number.
Definition: mn_ramdom_xorshift.cpp:53
Definition: mn_allocator_typetraits.hpp:25