libspatialSEIR
0.1
Bayesian Spatial SEIR Modeling
|
#include <LSS_FC_E_star.hpp>
Public Member Functions | |
FC_E_Star (ModelContext *_context, CompartmentalModelMatrix *_E_star, CompartmentalModelMatrix *_E, CompartmentalModelMatrix *_S, CompartmentalModelMatrix *_I_star, CovariateMatrix *_X, InitData *_A0, double *_p_se, double *_p_ei, double *_rho, double *_beta, double _steadyStateConstraintPrecision, double sliceWidth) | |
~FC_E_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 ** | E_star |
CompartmentalModelMatrix ** | E |
CompartmentalModelMatrix ** | S |
CompartmentalModelMatrix ** | I_star |
CovariateMatrix ** | X |
InitData ** | A0 |
double ** | p_se |
double ** | p_ei |
double ** | rho |
double ** | beta |
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_E_Star gives the full conditional distribution of E_star, the transition matrix capturing individuals moving from the susceptible category to the exposed category.
SpatialSEIR::FC_E_Star::FC_E_Star | ( | ModelContext * | _context, |
CompartmentalModelMatrix * | _E_star, | ||
CompartmentalModelMatrix * | _E, | ||
CompartmentalModelMatrix * | _S, | ||
CompartmentalModelMatrix * | _I_star, | ||
CovariateMatrix * | _X, | ||
InitData * | _A0, | ||
double * | _p_se, | ||
double * | _p_ei, | ||
double * | _rho, | ||
double * | _beta, | ||
double | _steadyStateConstraintPrecision, | ||
double | sliceWidth | ||
) |
SpatialSEIR::FC_E_Star::~FC_E_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_E_Star::A0 |
double** SpatialSEIR::FC_E_Star::beta |
ModelContext** SpatialSEIR::FC_E_Star::context |
CompartmentalModelMatrix** SpatialSEIR::FC_E_Star::E |
CompartmentalModelMatrix** SpatialSEIR::FC_E_Star::E_star |
CompartmentalModelMatrix** SpatialSEIR::FC_E_Star::I_star |
double** SpatialSEIR::FC_E_Star::p_ei |
double** SpatialSEIR::FC_E_Star::p_se |
double** SpatialSEIR::FC_E_Star::rho |
CompartmentalModelMatrix** SpatialSEIR::FC_E_Star::S |
double* SpatialSEIR::FC_E_Star::steadyStateConstraintPrecision |
long double* SpatialSEIR::FC_E_Star::value |
CovariateMatrix** SpatialSEIR::FC_E_Star::X |