|
libspatialSEIR
0.1
Bayesian Spatial SEIR Modeling
|
#include <LSS_FC_Rho.hpp>
Public Member Functions | |
| FC_Rho (ModelContext *_context, CompartmentalModelMatrix *_E_star, CompartmentalModelMatrix *_S, InitData *_A0, CovariateMatrix *_X, double *_p_se, double *_beta, double *_rho, double sliceWidth) | |
| ~FC_Rho () | |
| 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 ** | E_star |
| CompartmentalModelMatrix ** | S |
| InitData ** | A0 |
| CovariateMatrix ** | X |
| double ** | p_se |
| double ** | beta |
| double ** | rho |
| long double * | value |
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_Rho gives the full conditional distribution of rho, the scalar spatial dependence parameter.
| SpatialSEIR::FC_Rho::FC_Rho | ( | ModelContext * | _context, |
| CompartmentalModelMatrix * | _E_star, | ||
| CompartmentalModelMatrix * | _S, | ||
| InitData * | _A0, | ||
| CovariateMatrix * | _X, | ||
| double * | _p_se, | ||
| double * | _beta, | ||
| double * | _rho, | ||
| double | sliceWidth | ||
| ) |
| SpatialSEIR::FC_Rho::~FC_Rho | ( | ) |
|
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_Rho::A0 |
| double** SpatialSEIR::FC_Rho::beta |
| ModelContext** SpatialSEIR::FC_Rho::context |
| CompartmentalModelMatrix** SpatialSEIR::FC_Rho::E_star |
| double** SpatialSEIR::FC_Rho::p_se |
| double** SpatialSEIR::FC_Rho::rho |
| CompartmentalModelMatrix** SpatialSEIR::FC_Rho::S |
| long double* SpatialSEIR::FC_Rho::value |
| CovariateMatrix** SpatialSEIR::FC_Rho::X |
1.8.6