Functions | Variables
random_numbers.cpp File Reference
#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>
Include dependency graph for random_numbers.cpp:

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

Function Documentation

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 62 of file random_numbers.cpp.


Variable Documentation

boost::uint32_t first_seed_ = 0 [static]

Definition at line 46 of file random_numbers.cpp.



random_numbers
Author(s): Ioan Sucan
autogenerated on Wed Apr 3 2019 02:54:25