libspatialSEIR  0.1
Bayesian Spatial SEIR Modeling
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros
LSS_FC_Beta.hpp
Go to the documentation of this file.
2 
3 #ifndef FULL_CONDITIONAL_BETA_INC
4 #define FULL_CONDITIONAL_BETA_INC
5 
6 namespace SpatialSEIR
7 {
8 
9  class ModelContext;
10  class CompartmentalModelMatrix;
11  class CovariateMatrix;
12  class OCLProvider;
13 
20  {
21  public:
22  FC_Beta(ModelContext *_context,
23  CompartmentalModelMatrix *_E_star,
25  InitData *_A0,
26  CovariateMatrix *_X,
27  double *_p_se,
28  double *_beta,
29  double *_rho,
30  double sliceWidth,
31  double _priorPrecision);
32  ~FC_Beta();
33 
34  virtual double evalPrior();
35  virtual int evalCPU();
36  virtual int evalOCL();
37  virtual void sample(int verbose);
38  virtual long double getValue();
39  virtual void setValue(long double val);
40  virtual int calculateRelevantCompartments();
42 
48  double **p_se;
49  double **beta;
50  double **rho;
51  long double* value;
52  double* priorPrecision;
53  };
54 
55 }
56 
57 #endif
virtual int evalOCL()
Definition: FC_Beta.cpp:142
CompartmentalModelMatrix ** S
Definition: LSS_FC_Beta.hpp:45
virtual double evalPrior()
Definition: FC_Beta.cpp:99
virtual int calculateRelevantCompartments()
Definition: FC_Beta.cpp:147
Definition: LSS_FullConditional.hpp:147
Definition: CovariateMatrix.hpp:29
virtual void setValue(long double val)
Definition: FC_Beta.cpp:169
~FC_Beta()
Definition: FC_Beta.cpp:79
Definition: CompartmentalModelMatrix.hpp:25
double ** beta
Definition: LSS_FC_Beta.hpp:49
virtual int evalCPU()
Definition: FC_Beta.cpp:110
virtual int calculateRelevantCompartments_OCL()
Definition: FC_Beta.cpp:152
virtual void sample(int verbose)
Definition: FC_Beta.cpp:159
InitData ** A0
Definition: LSS_FC_Beta.hpp:46
long double * value
Definition: LSS_FC_Beta.hpp:51
CompartmentalModelMatrix ** E_star
Definition: LSS_FC_Beta.hpp:44
double ** rho
Definition: LSS_FC_Beta.hpp:50
virtual long double getValue()
Definition: FC_Beta.cpp:165
double ** p_se
Definition: LSS_FC_Beta.hpp:48
CovariateMatrix ** X
Definition: LSS_FC_Beta.hpp:47
double * sliceWidth
Definition: LSS_FullConditional.hpp:99
FC_Beta(ModelContext *_context, CompartmentalModelMatrix *_E_star, CompartmentalModelMatrix *_S, InitData *_A0, CovariateMatrix *_X, double *_p_se, double *_beta, double *_rho, double sliceWidth, double _priorPrecision)
Definition: FC_Beta.cpp:24
Simple class containing the starting compartment sizes.
Definition: LSS_FullConditional.hpp:55
Definition: ModelContext.hpp:82
ModelContext ** context
Definition: LSS_FC_Beta.hpp:43
double * priorPrecision
Definition: LSS_FC_Beta.hpp:52
Definition: LSS_FC_Beta.hpp:19