libspatialSEIR  0.1
Bayesian Spatial SEIR Modeling
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros
LSS_FC_Gamma_IR.hpp
Go to the documentation of this file.
2 #ifndef FULL_CONDITIONAL_P_IR_INC
3 #define FULL_CONDITIONAL_P_IR_INC
4 
5 namespace SpatialSEIR
6 {
7 
8  class ModelContext;
9  class CompartmentalModelMatrix;
10  class CovariateMatrix;
11  class OCLProvider;
12 
19  {
20 
21  public:
22  FC_Gamma_IR(ModelContext *_context,
23  CompartmentalModelMatrix *_R_star,
25  InitData *_A0,
26  double *_p_ir,
27  double *_gamma_ir,
28  double _priorAlpha,
29  double _priorBeta,
30  double sliceWidth);
31  ~FC_Gamma_IR();
32  virtual double evalPrior();
33  virtual int evalCPU();
34  virtual int evalOCL();
35  virtual void sample(int verbose);
36  virtual long double getValue();
37  virtual void setValue(long double val);
38  virtual int calculateRelevantCompartments();
40 
45  double **p_ir;
46  double **gamma_ir;
47  long double* value;
48  double* priorAlpha;
49  double* priorBeta;
50  };
51 
52 
53 }
54 
55 #endif
virtual int calculateRelevantCompartments()
Definition: FC_Gamma_IR.cpp:134
virtual void setValue(long double val)
Definition: FC_Gamma_IR.cpp:154
InitData ** A0
Definition: LSS_FC_Gamma_IR.hpp:44
Definition: LSS_FullConditional.hpp:147
long double * value
Definition: LSS_FC_Gamma_IR.hpp:47
Definition: CompartmentalModelMatrix.hpp:25
ModelContext ** context
Definition: LSS_FC_Gamma_IR.hpp:41
virtual double evalPrior()
Definition: FC_Gamma_IR.cpp:96
~FC_Gamma_IR()
Definition: FC_Gamma_IR.cpp:76
double * priorAlpha
Definition: LSS_FC_Gamma_IR.hpp:48
double ** gamma_ir
Definition: LSS_FC_Gamma_IR.hpp:46
virtual long double getValue()
Definition: FC_Gamma_IR.cpp:150
virtual void sample(int verbose)
Definition: FC_Gamma_IR.cpp:144
virtual int evalCPU()
Definition: FC_Gamma_IR.cpp:101
double ** p_ir
Definition: LSS_FC_Gamma_IR.hpp:45
Definition: LSS_FC_Gamma_IR.hpp:18
CompartmentalModelMatrix ** R_star
Definition: LSS_FC_Gamma_IR.hpp:42
double * sliceWidth
Definition: LSS_FullConditional.hpp:99
Simple class containing the starting compartment sizes.
Definition: LSS_FullConditional.hpp:55
virtual int calculateRelevantCompartments_OCL()
Definition: FC_Gamma_IR.cpp:139
FC_Gamma_IR(ModelContext *_context, CompartmentalModelMatrix *_R_star, CompartmentalModelMatrix *_I, InitData *_A0, double *_p_ir, double *_gamma_ir, double _priorAlpha, double _priorBeta, double sliceWidth)
Definition: FC_Gamma_IR.cpp:29
Definition: ModelContext.hpp:82
double * priorBeta
Definition: LSS_FC_Gamma_IR.hpp:49
CompartmentalModelMatrix ** I
Definition: LSS_FC_Gamma_IR.hpp:43
virtual int evalOCL()
Definition: FC_Gamma_IR.cpp:128