Random numbers. More...
#include <assert.h>
#include <stdint.h>
#include <algorithm>
Go to the source code of this file.
Classes | |
class | Random |
Random numbers.Class Random provides random Real variables, i.e. a value variable that gives another value each time it is accessed. It may be used just like an ordinary Real by means of an overloaded cast operator Real()%. More... | |
Namespaces | |
soplex | |
Everything should be within this namespace. | |
Macros | |
#define | SOPLEX_DEFAULT_LIN UINT32_C(123456789) |
#define | SOPLEX_DEFAULT_XOR UINT32_C(362436000) |
#define | SOPLEX_DEFAULT_MWC UINT32_C(521288629) |
#define | SOPLEX_DEFAULT_CST UINT32_C(7654321) |
#define | SOPLEX_RSTEP UINT64_C(1103515245) |
#define | SOPLEX_RADD UINT64_C(12345) |
Random numbers.
Definition in file random.h.
#define SOPLEX_DEFAULT_CST UINT32_C(7654321) |
Definition at line 42 of file random.h.
Referenced by Random::setSeed().
#define SOPLEX_DEFAULT_LIN UINT32_C(123456789) |
Definition at line 39 of file random.h.
Referenced by Random::setSeed().
#define SOPLEX_DEFAULT_MWC UINT32_C(521288629) |
Definition at line 41 of file random.h.
Referenced by Random::setSeed().
#define SOPLEX_DEFAULT_XOR UINT32_C(362436000) |
Definition at line 40 of file random.h.
Referenced by Random::setSeed().
#define SOPLEX_RADD UINT64_C(12345) |
Definition at line 46 of file random.h.
Referenced by Random::next_random().
#define SOPLEX_RSTEP UINT64_C(1103515245) |
Definition at line 45 of file random.h.
Referenced by Random::next_random().