1 #ifndef SM_NoiseRateFunctionInterface_H
2 #define SM_NoiseRateFunctionInterface_H
150 std::stringstream cstr;
151 cstr<<
getName()<<
" rate:"<<mNoiseRate<<
" power="<<mNoisePower<<
"\n";
virtual tMemSize getContentsMemorySize() const
return nthe memory size of the included associations
Definition: CORE_Object.h:278
This class describes a noise rate function.
Definition: SM_NoiseRateFunctionInterface.h:13
const tReal & getNoiseRate() const
get the noise rate
Definition: SM_NoiseRateFunctionInterface.h:102
void setNoisePower(const tReal &eps)
set the noise power
Definition: SM_NoiseRateFunctionInterface.h:108
SM_NoiseRateFunctionInterface(void)
create
Definition: SM_NoiseRateFunctionInterface.h:34
virtual tReal computeFunction(const tReal &t) const =0
compute the noise rate function
void computeFunction(const tReal &t, tReal &epsilon) const
compute the noise rate function
Definition: SM_NoiseRateFunctionInterface.h:140
const tReal & getNoisePower() const
get the noise power
Definition: SM_NoiseRateFunctionInterface.h:114
void setNoiseRate(const tReal &eps)
set the noise rate
Definition: SM_NoiseRateFunctionInterface.h:96
virtual tMemSize getMemorySize() const
return the memory size of the class and the memory size of all its attributes/associations
Definition: SM_NoiseRateFunctionInterface.h:75
virtual tString toString() const final
return the string reprsentation or the class
Definition: SM_NoiseRateFunctionInterface.h:149
virtual tString getName() const =0
the the name of the system
virtual ~SM_NoiseRateFunctionInterface(void)
destroy
Definition: SM_NoiseRateFunctionInterface.h:54
void adimensionize(const tReal &cField)
adimensionize
Definition: SM_NoiseRateFunctionInterface.h:89
This class is a base class for Stoch Microm package.
Definition: SM_Object.h:36