Simpact Cyan
Population based event driven simulation using mNRM
vspmodellogbinormal.h
1 #ifndef VSPMODELLOGBINORMAL_H
2 
3 #define VSPMODELLOGBINORMAL_H
4 
5 #include "vspmodel.h"
6 #include <utility>
7 
10 
11 class VspModelLogBiNormal : public VspModel
12 {
13 public:
14  // Takes control over pAltSeedDist
15  VspModelLogBiNormal(double mu, double sigma, double rho, double minVal, double maxVal, ProbabilityDistribution *pAltSeedDist, GslRandomNumberGenerator *pRndGen);
16  ~VspModelLogBiNormal();
17 
18  double pickSetPointViralLoad();
19  double inheritSetPointViralLoad(double VspInfector);
20 
21  std::pair<double,double> pickBiNormal();
22 
23  double getMean() const { return m_mu; }
24  double getSigma() const { return m_sigma; }
25  double getRho() const { return m_rho; }
26  double getMin() const { return m_min; }
27  double getMax() const { return m_max; }
28  ProbabilityDistribution *getAltSeedDist() const { return m_pAltSeedDist; }
29 private:
30  double m_mu, m_sigma, m_rho;
31  double m_min, m_max;
32  ProbabilityDistribution *m_pAltSeedDist;
33 };
34 
35 #endif // VSPMODELLOGBINORMAL_H
36 
This class allows you to generate random numbers, and uses the GNU Scientific Library for this...
Definition: gslrandomnumbergenerator.h:16
Abstract base class for probability distribution implementations so that they can be used interchange...
Definition: probabilitydistribution.h:15