1 #ifndef SMS_BoostNormalFunction_H
2 #define SMS_BoostNormalFunction_H
8 #include <boost/random/normal_distribution.hpp>
9 #include <boost/random/variate_generator.hpp>
10 #include <boost/random/mersenne_twister.hpp>
28 boost::random::variate_generator<
RNGType&,
117 const tReal& sd)
override;
boost::mt19937 RNGType
Definition: SMS_BoostRandomFunction.h:21
class Free introduced for deleting a smart pointer
Definition: CORE_Object.h:94
virtual tMemSize getContentsMemorySize() const
return nthe memory size of the included associations
Definition: CORE_Object.h:259
This class implements a stochastic function with a normal law implemented from the boost library.
Definition: SMS_BoostNormalFunction.h:20
tReal templatedRandom() const
random return a random numbers in range
Definition: SMS_BoostNormalFunction.h:131
boost::random::variate_generator< RNGType &, boost::random::normal_distribution< tReal > > * mGenerator
Definition: SMS_BoostNormalFunction.h:29
virtual tMemSize getMemorySize() const
return the memory size of the class and the memory size of all its attributes/associations
Definition: SMS_BoostNormalFunction.h:79
virtual void initializeSeed(const tULLInt &seed) override
initialize the seed
Definition: SMS_BoostNormalFunction.h:108
static CORE_UniquePointer< SMS_BoostNormalFunction > New()
build a new instance of the stochasticfunction
Definition: SMS_BoostNormalFunction.h:56
virtual tMemSize getContentsMemorySize() const
return the memory size of the included associations
Definition: SMS_BoostNormalFunction.h:91
virtual ~SMS_BoostNormalFunction(void)
destroy an object.
Definition: SMS_BoostNormalFunction.cpp:16
virtual tReal random() const override
random return a random numbers in range
Definition: SMS_BoostNormalFunction.h:124
virtual void setProperties(const tReal &mean, const tReal &sd) override
set the properties of the stochastic fntion
Definition: SMS_BoostNormalFunction.cpp:24
boost::random::normal_distribution< tReal > * mRandomDistribution
Definition: SMS_BoostNormalFunction.h:27
SMS_BoostNormalFunction()
create an object
Definition: SMS_BoostNormalFunction.cpp:7
This class is the class to describes general distribution.
Definition: SMS_BoostRandomFunction.h:23
static void initSeed()
init the seed
Definition: SMS_BoostRandomFunction.cpp:22
This class describes a templated stochastic function to generate random numbers.
Definition: SM_TemplatedStochasticFunction.h:15
typename std::unique_ptr< T, CORE_Object::Delete > CORE_UniquePointer
Definition: sp.h:8
#define tULLInt
Definition: types.h:58
#define tMemSize
Definition: types.h:166
#define tReal
Definition: types.h:137