A functor, created for use in std::shuffle that maps an RNG to a requested range.
More...
#include <CjNLTopology.hh>
List of all members.
Public Member Functions |
| RandomSource (boost::mt19937 &rng) |
ptrdiff_t | operator() (ptrdiff_t i) |
Protected Attributes |
boost::uniform_01 | w |
boost::variate_generator
< boost::mt19937
&, boost::uniform_01<> > | ball |
Detailed Description
A functor, created for use in std::shuffle that maps an RNG to a requested range.
The documentation for this class was generated from the following file: