Produce random integer (int) values.
More...
#include <RandInt.h>
|
std::mt19937 | m_mt |
|
std::uniform_int_distribution
< int > | m_dist |
|
Produce random integer (int) values.
Definition at line 27 of file RandInt.h.
RandInt::RandInt |
( |
unsigned int |
a, |
|
|
unsigned int |
b |
|
) |
| |
|
inline |
Initialize seed and ranfe of generator.
Definition at line 31 of file RandInt.h.
int RandInt::operator() |
( |
| ) |
|
|
inline |
std::mt19937 RandInt::m_mt |
|
private |
std::uniform_int_distribution<int> RandInt::m_dist |
|
private |
The documentation for this class was generated from the following file: