8 #include <boost/version.hpp>
9 #if BOOST_VERSION >= 103500
10 #include <boost/math/distributions/normal.hpp>
11 #endif // BOOST_VERSION >= 103500
28 : _generator (iSeed) {
33 : _generator (iRandomGeneration._generator) {
47 std::ostringstream oStr;
63 iMinValue + lVariateUnif01 * (iMaxValue - iMinValue);
71 #if BOOST_VERSION >= 103500
73 const boost::math::normal lNormal (mu, sigma);
75 boost::math::quantile (lNormal, lVariateUnif);
76 #else // BOOST_VERSION >= 103500
78 const RealNumber_T lRealNumberOfRequestsToBeGenerated = 0.0;
79 #endif // BOOST_VERSION >= 103500
81 return lRealNumberOfRequestsToBeGenerated;
95 lExponentialDistribution);
99 lExponentialDistributionGenerator();
101 return lExponentialVariateInDays;