libspatialSEIR
0.1
Bayesian Spatial SEIR Modeling
|
#include <LSS_FC_R_star.hpp>
Public Member Functions | |
FC_R_Star (ModelContext *_context, CompartmentalModelMatrix *_R_star, CompartmentalModelMatrix *_R, CompartmentalModelMatrix *_I, CompartmentalModelMatrix *_S_star, CompartmentalModelMatrix *_E_star, CompartmentalModelMatrix *_I_star, CompartmentalModelMatrix *_S, InitData *_A0, double *_p_rs, double *_p_ir, double *_p_se, double _steadyStateConstraintPrecision, double sliceWidth) | |
~FC_R_Star () | |
virtual int | evalCPU () |
virtual int | evalCPU (int i, int j) |
virtual int | evalOCL () |
virtual void | sample (int verbose) |
virtual long double | getValue () |
virtual void | setValue (long double val) |
virtual int | calculateRelevantCompartments () |
virtual int | calculateRelevantCompartments (int i, int j) |
virtual int | calculateRelevantCompartments_OCL () |
Public Member Functions inherited from SpatialSEIR::CompartmentFullConditional | |
virtual | ~CompartmentFullConditional () |
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 ** | R |
CompartmentalModelMatrix ** | I |
CompartmentalModelMatrix ** | S_star |
CompartmentalModelMatrix ** | E_star |
CompartmentalModelMatrix ** | I_star |
CompartmentalModelMatrix ** | S |
InitData ** | A0 |
double ** | p_rs |
double ** | p_ir |
double ** | p_se |
long double * | value |
double * | steadyStateConstraintPrecision |
Public Attributes inherited from SpatialSEIR::CompartmentFullConditional | |
double * | steadyStateConstraintPrecision |
Public Attributes inherited from SpatialSEIR::FullConditional | |
double * | sliceWidth |
std::vector< Sampler * > * | samplers |
Sampler ** | currentSampler |
int * | samples |
int * | accepted |
FC_R_Star gives the full conditional distribution of R_star, the transition matrix capturing individuals moving from the infectious category to the recovered/removed category.
SpatialSEIR::FC_R_Star::FC_R_Star | ( | ModelContext * | _context, |
CompartmentalModelMatrix * | _R_star, | ||
CompartmentalModelMatrix * | _R, | ||
CompartmentalModelMatrix * | _I, | ||
CompartmentalModelMatrix * | _S_star, | ||
CompartmentalModelMatrix * | _E_star, | ||
CompartmentalModelMatrix * | _I_star, | ||
CompartmentalModelMatrix * | _S, | ||
InitData * | _A0, | ||
double * | _p_rs, | ||
double * | _p_ir, | ||
double * | _p_se, | ||
double | _steadyStateConstraintPrecision, | ||
double | sliceWidth | ||
) |
SpatialSEIR::FC_R_Star::~FC_R_Star | ( | ) |
|
virtual |
Implements SpatialSEIR::CompartmentFullConditional.
|
virtual |
Implements SpatialSEIR::CompartmentFullConditional.
|
virtual |
Implements SpatialSEIR::CompartmentFullConditional.
|
virtual |
Implements SpatialSEIR::CompartmentFullConditional.
|
virtual |
Implements SpatialSEIR::CompartmentFullConditional.
|
virtual |
Implements SpatialSEIR::CompartmentFullConditional.
|
virtual |
Implements SpatialSEIR::CompartmentFullConditional.
|
virtual |
Implements SpatialSEIR::CompartmentFullConditional.
|
virtual |
Implements SpatialSEIR::CompartmentFullConditional.
InitData** SpatialSEIR::FC_R_Star::A0 |
ModelContext** SpatialSEIR::FC_R_Star::context |
CompartmentalModelMatrix** SpatialSEIR::FC_R_Star::E_star |
CompartmentalModelMatrix** SpatialSEIR::FC_R_Star::I |
CompartmentalModelMatrix** SpatialSEIR::FC_R_Star::I_star |
double** SpatialSEIR::FC_R_Star::p_ir |
double** SpatialSEIR::FC_R_Star::p_rs |
double** SpatialSEIR::FC_R_Star::p_se |
CompartmentalModelMatrix** SpatialSEIR::FC_R_Star::R |
CompartmentalModelMatrix** SpatialSEIR::FC_R_Star::R_star |
CompartmentalModelMatrix** SpatialSEIR::FC_R_Star::S |
CompartmentalModelMatrix** SpatialSEIR::FC_R_Star::S_star |
double* SpatialSEIR::FC_R_Star::steadyStateConstraintPrecision |
long double* SpatialSEIR::FC_R_Star::value |