29 #include <boost/random.hpp> 33 typedef boost::mt19937 randEngine;
35 typedef boost::uniform_real<> realUniformDist;
36 typedef boost::uniform_int<> intUniformDist;
37 typedef boost::normal_distribution<> normalDist;
38 typedef boost::gamma_distribution<> gammaDist;
40 typedef boost::variate_generator<randEngine&, intUniformDist> randInt;
41 typedef boost::variate_generator<randEngine&, normalDist> randNFloat;
42 typedef boost::variate_generator<randEngine&, gammaDist> randGFloat;
43 typedef boost::variate_generator<randEngine&, realUniformDist> randFloat;