Simpact Cyan
Population based event driven simulation using mNRM
vspmodellogweibullwithnoise.h
1 #ifndef VSPMODELLOGWEIBULLWITHRANDOMNOISE_H
2 
3 #define VSPMODELLOGWEIBULLWITHRANDOMNOISE_H
4 
5 #include "vspmodel.h"
6 
8 
9 class VspModelLogWeibullWithRandomNoise : public VspModel
10 {
11 public:
12  enum BadInheritType { UseWeibull, NoiseAgain };
13 
14  VspModelLogWeibullWithRandomNoise(double weibullScale, double weibullShape, double inheritSigmaFraction,
15  BadInheritType t, GslRandomNumberGenerator *pRndGen);
16  ~VspModelLogWeibullWithRandomNoise();
17 
18  double pickSetPointViralLoad();
19  double inheritSetPointViralLoad(double VspInfector);
20 
21  double getWeibullShape() const { return m_weibullShape; }
22  double getWeibullScale() const { return m_weibullScale; }
23  double getSigmaFraction() const { return m_sigmaFraction; }
24  BadInheritType getOnBadInheritType() const { return m_badInherType; }
25 private:
26  double m_weibullScale, m_weibullShape;
27  double m_sigmaFraction;
28  BadInheritType m_badInherType;
29 };
30 
31 #endif // VSPMODELLOGWEIBULLWITHRANDOMNOISE_H
32 
This class allows you to generate random numbers, and uses the GNU Scientific Library for this...
Definition: gslrandomnumbergenerator.h:16