Empirical
|
This is an adaptor to make Random behave like a proper STL random number generator. More...
#include <ce_random.h>
Public Types | |
typedef int | argument_type |
typedef int | result_type |
typedef int | argument_type |
typedef int | result_type |
Public Member Functions | |
RandomStdAdaptor (Random &rng) | |
int | operator() (int n) |
RandomStdAdaptor (Random &rng) | |
int | operator() (int n) |
Public Attributes | |
Random & | _rng |
This is an adaptor to make Random behave like a proper STL random number generator.
This is an adaptor to make Random behave like a proper STL random number generator.
typedef int emp::RandomStdAdaptor::argument_type |
typedef int emp::RandomStdAdaptor::argument_type |
typedef int emp::RandomStdAdaptor::result_type |
typedef int emp::RandomStdAdaptor::result_type |
|
inline |
|
inline |
|
inline |
|
inline |
Random & emp::RandomStdAdaptor::_rng |