libspatialSEIR
0.1
Bayesian Spatial SEIR Modeling
|
#include <LSS_FC_S_star.hpp>
Public Member Functions | |
FC_S_Star (ModelContext *_context, CompartmentalModelMatrix *_S_star, CompartmentalModelMatrix *_S, CompartmentalModelMatrix *_R, CompartmentalModelMatrix *_E_star, CompartmentalModelMatrix *_R_star, InitData *_A0, CovariateMatrix *_X, double *_p_se, double *_p_rs, double *_beta, double *_rho, double _steadyStateConstraintPrecision, double sliceWidth) | |
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 () |
virtual | ~FC_S_Star () |
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 ** | S_star |
CompartmentalModelMatrix ** | S |
CompartmentalModelMatrix ** | R |
CompartmentalModelMatrix ** | E_star |
CompartmentalModelMatrix ** | R_star |
InitData ** | A0 |
CovariateMatrix ** | X |
double ** | p_se |
double ** | p_rs |
double ** | beta |
double ** | rho |
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_S_Star gives the full conditional distribution of S_star, the transition matrix capturing individuals moving from the removed/recovered category to the susceptible category.
SpatialSEIR::FC_S_Star::FC_S_Star | ( | ModelContext * | _context, |
CompartmentalModelMatrix * | _S_star, | ||
CompartmentalModelMatrix * | _S, | ||
CompartmentalModelMatrix * | _R, | ||
CompartmentalModelMatrix * | _E_star, | ||
CompartmentalModelMatrix * | _R_star, | ||
InitData * | _A0, | ||
CovariateMatrix * | _X, | ||
double * | _p_se, | ||
double * | _p_rs, | ||
double * | _beta, | ||
double * | _rho, | ||
double | _steadyStateConstraintPrecision, | ||
double | sliceWidth | ||
) |
|
virtual |
|
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_S_Star::A0 |
double** SpatialSEIR::FC_S_Star::beta |
ModelContext** SpatialSEIR::FC_S_Star::context |
CompartmentalModelMatrix** SpatialSEIR::FC_S_Star::E_star |
double** SpatialSEIR::FC_S_Star::p_rs |
double** SpatialSEIR::FC_S_Star::p_se |
CompartmentalModelMatrix** SpatialSEIR::FC_S_Star::R |
CompartmentalModelMatrix** SpatialSEIR::FC_S_Star::R_star |
double** SpatialSEIR::FC_S_Star::rho |
CompartmentalModelMatrix** SpatialSEIR::FC_S_Star::S |
CompartmentalModelMatrix** SpatialSEIR::FC_S_Star::S_star |
double* SpatialSEIR::FC_S_Star::steadyStateConstraintPrecision |
long double* SpatialSEIR::FC_S_Star::value |
CovariateMatrix** SpatialSEIR::FC_S_Star::X |