#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.
Functions | |
| static boost::uint32_t | firstSeed (void) |
| Compute the first seed to be used; this function should be called only once. | |
| static boost::uint32_t | nextSeed (void) |
Variables | |
| static boost::uint32_t | first_seed_ = 0 |
| 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.
| 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 61 of file random_numbers.cpp.
boost::uint32_t first_seed_ = 0 [static] |
Definition at line 46 of file random_numbers.cpp.