#include "random_numbers/random_numbers.h"
#include <boost/random/lagged_fibonacci.hpp>
#include <boost/random/uniform_int.hpp>
#include <boost/thread/mutex.hpp>
#include <boost/date_time/posix_time/posix_time.hpp>
#include <boost/math/constants/constants.hpp>
#include <boost/scoped_ptr.hpp>
Go to the source code of this file.
|
static boost::uint32_t | firstSeed (void) |
| Compute the first seed to be used; this function should be called only once. More...
|
|
static boost::uint32_t | nextSeed (void) |
|
◆ firstSeed()
static boost::uint32_t firstSeed |
( |
void |
| ) |
|
|
static |
Compute the first seed to be used; this function should be called only once.
Definition at line 49 of file random_numbers.cpp.
◆ nextSeed()
static boost::uint32_t nextSeed |
( |
void |
| ) |
|
|
static |
We use a different random number generator for the seeds of the Other random generators. The root seed is from the number of nano-seconds in the current time.
Definition at line 62 of file random_numbers.cpp.
◆ first_seed_
boost::uint32_t first_seed_ = 0 |
|
static |