libspatialSEIR
0.1
Bayesian Spatial SEIR Modeling
|
#include <LSS_FC_Gamma_IR.hpp>
Public Member Functions | |
FC_Gamma_IR (ModelContext *_context, CompartmentalModelMatrix *_R_star, CompartmentalModelMatrix *_I, InitData *_A0, double *_p_ir, double *_gamma_ir, double _priorAlpha, double _priorBeta, double sliceWidth) | |
~FC_Gamma_IR () | |
virtual double | evalPrior () |
virtual int | evalCPU () |
virtual int | evalOCL () |
virtual void | sample (int verbose) |
virtual long double | getValue () |
virtual void | setValue (long double val) |
virtual int | calculateRelevantCompartments () |
virtual int | calculateRelevantCompartments_OCL () |
Public Member Functions inherited from SpatialSEIR::ParameterFullConditional | |
virtual | ~ParameterFullConditional () |
virtual double | acceptanceRatio (int i) |
void | updateSamplingParameters (double desiredRatio, double targetWidth, double proportionChange) |
int | getFullConditionalType () |
Public Member Functions inherited from SpatialSEIR::FullConditional | |
virtual | ~FullConditional () |
double | acceptanceRatio () |
void | setSamplerType (int type) |
Public Attributes | |
ModelContext ** | context |
CompartmentalModelMatrix ** | R_star |
CompartmentalModelMatrix ** | I |
InitData ** | A0 |
double ** | p_ir |
double ** | gamma_ir |
long double * | value |
double * | priorAlpha |
double * | priorBeta |
Public Attributes inherited from SpatialSEIR::ParameterFullConditional | |
int * | varLen |
Public Attributes inherited from SpatialSEIR::FullConditional | |
double * | sliceWidth |
std::vector< Sampler * > * | samplers |
Sampler ** | currentSampler |
int * | samples |
int * | accepted |
FC_Gamma_IR gives the full conditional distribution of gamma_ir, the parameter driving the, probability that an infectious individual recovers/is removed at a given time point (p_ir).
SpatialSEIR::FC_Gamma_IR::FC_Gamma_IR | ( | ModelContext * | _context, |
CompartmentalModelMatrix * | _R_star, | ||
CompartmentalModelMatrix * | _I, | ||
InitData * | _A0, | ||
double * | _p_ir, | ||
double * | _gamma_ir, | ||
double | _priorAlpha, | ||
double | _priorBeta, | ||
double | sliceWidth | ||
) |
SpatialSEIR::FC_Gamma_IR::~FC_Gamma_IR | ( | ) |
|
virtual |
Implements SpatialSEIR::ParameterFullConditional.
|
virtual |
Implements SpatialSEIR::ParameterFullConditional.
|
virtual |
Implements SpatialSEIR::ParameterFullConditional.
|
virtual |
Implements SpatialSEIR::ParameterFullConditional.
|
virtual |
|
virtual |
Implements SpatialSEIR::ParameterFullConditional.
|
virtual |
Implements SpatialSEIR::ParameterFullConditional.
|
virtual |
Implements SpatialSEIR::ParameterFullConditional.
InitData** SpatialSEIR::FC_Gamma_IR::A0 |
ModelContext** SpatialSEIR::FC_Gamma_IR::context |
double** SpatialSEIR::FC_Gamma_IR::gamma_ir |
CompartmentalModelMatrix** SpatialSEIR::FC_Gamma_IR::I |
double** SpatialSEIR::FC_Gamma_IR::p_ir |
double* SpatialSEIR::FC_Gamma_IR::priorAlpha |
double* SpatialSEIR::FC_Gamma_IR::priorBeta |
CompartmentalModelMatrix** SpatialSEIR::FC_Gamma_IR::R_star |
long double* SpatialSEIR::FC_Gamma_IR::value |