1 #ifndef SM_StochasticFunctionsInterface_H
2 #define SM_StochasticFunctionsInterface_H
28 static tBoolean IS_THREAD_SAFE;
93 virtual void setSeed(
const tULLInt& seed)=0;
103 virtual void jump(
const tInteger& jumps,
const tULLInt& seed)=0;
124 return IS_THREAD_SAFE;
virtual tMemSize getContentsMemorySize() const
return nthe memory size of the included associations
Definition: CORE_Object.h:278
This class is a base class for Stoch Microm package.
Definition: SM_Object.h:36
This class describes a stochastic functions based on same random number generator which implement ran...
Definition: SM_StochasticFunctionsInterface.h:18
SM_StochasticFunctionsInterface(void)
create
Definition: SM_StochasticFunctionsInterface.h:37
virtual tReal normalRandom()=0
compute a normal random number
virtual void jump(const tInteger &jumps, const tULLInt &seed)=0
jump a number of virtual random number generator
static tBoolean IsThreadSafe()
set if the stochastic function is thread safe
Definition: SM_StochasticFunctionsInterface.h:123
virtual ~SM_StochasticFunctionsInterface(void)
destroy
Definition: SM_StochasticFunctionsInterface.h:56
static void SetIsThreadSafe(const tBoolean &b)
set if the sochastic function is thread safe
Definition: SM_StochasticFunctionsInterface.h:134
virtual tReal uniformRandom()=0
compute a uniform random number in [0,1]
virtual void setSeed()=0
set seed
virtual tMemSize getMemorySize() const
return the memory size of the class and the memory size of all its attributes/associations
Definition: SM_StochasticFunctionsInterface.h:77
virtual void setSeed(const tULLInt &seed)=0
void set seed