libspatialSEIR
0.1
Bayesian Spatial SEIR Modeling
|
#include <LSS_FullConditional.hpp>
Public Member Functions | |
virtual | ~FullConditional () |
virtual void | sample (int verbose)=0 |
virtual long double | getValue ()=0 |
virtual void | setValue (long double value)=0 |
virtual int | calculateRelevantCompartments ()=0 |
virtual int | calculateRelevantCompartments_OCL ()=0 |
virtual void | updateSamplingParameters (double desiredRatio, double targetWidth, double proportionChange)=0 |
virtual int | getFullConditionalType ()=0 |
double | acceptanceRatio () |
void | setSamplerType (int type) |
Public Attributes | |
double * | sliceWidth |
std::vector< Sampler * > * | samplers |
Sampler ** | currentSampler |
int * | samples |
int * | accepted |
The FullConditional class serves as the grandparent class for the various full conditional distributions. This structure is helpful, because we can then implement general methods which apply to all child classes of FullConditional.
|
inlinevirtual |
double SpatialSEIR::FullConditional::acceptanceRatio | ( | ) |
|
pure virtual |
Implemented in SpatialSEIR::InitCompartmentFullConditional, SpatialSEIR::ParameterFullConditional, SpatialSEIR::CompartmentFullConditional, SpatialSEIR::FC_R_Star, SpatialSEIR::FC_E_Star, SpatialSEIR::FC_S_Star, SpatialSEIR::FC_Beta, SpatialSEIR::FC_Beta_P_RS, SpatialSEIR::FC_I0, SpatialSEIR::FC_E0, SpatialSEIR::FC_Gamma_IR, SpatialSEIR::FC_Rho, SpatialSEIR::FC_Gamma_EI, SpatialSEIR::FC_R0, SpatialSEIR::FC_S0, SpatialSEIR::FC_I_Star_overdispersed, and SpatialSEIR::FC_Phi.
|
pure virtual |
Implemented in SpatialSEIR::InitCompartmentFullConditional, SpatialSEIR::ParameterFullConditional, SpatialSEIR::CompartmentFullConditional, SpatialSEIR::FC_R_Star, SpatialSEIR::FC_E_Star, SpatialSEIR::FC_S_Star, SpatialSEIR::FC_Beta, SpatialSEIR::FC_Beta_P_RS, SpatialSEIR::FC_I0, SpatialSEIR::FC_E0, SpatialSEIR::FC_Gamma_IR, SpatialSEIR::FC_Rho, SpatialSEIR::FC_I_Star_overdispersed, SpatialSEIR::FC_Gamma_EI, SpatialSEIR::FC_R0, SpatialSEIR::FC_S0, and SpatialSEIR::FC_Phi.
|
pure virtual |
|
pure virtual |
Implemented in SpatialSEIR::InitCompartmentFullConditional, SpatialSEIR::ParameterFullConditional, SpatialSEIR::CompartmentFullConditional, SpatialSEIR::FC_R_Star, SpatialSEIR::FC_E_Star, SpatialSEIR::FC_S_Star, SpatialSEIR::FC_Beta, SpatialSEIR::FC_Beta_P_RS, SpatialSEIR::FC_I0, SpatialSEIR::FC_E0, SpatialSEIR::FC_Gamma_IR, SpatialSEIR::FC_Rho, SpatialSEIR::FC_Gamma_EI, SpatialSEIR::FC_R0, SpatialSEIR::FC_S0, SpatialSEIR::FC_I_Star_overdispersed, and SpatialSEIR::FC_Phi.
|
pure virtual |
Implemented in SpatialSEIR::InitCompartmentFullConditional, SpatialSEIR::ParameterFullConditional, SpatialSEIR::CompartmentFullConditional, SpatialSEIR::FC_R_Star, SpatialSEIR::FC_E_Star, SpatialSEIR::FC_S_Star, SpatialSEIR::FC_Beta, SpatialSEIR::FC_Beta_P_RS, SpatialSEIR::FC_I0, SpatialSEIR::FC_E0, SpatialSEIR::FC_Gamma_IR, SpatialSEIR::FC_Rho, SpatialSEIR::FC_Gamma_EI, SpatialSEIR::FC_R0, SpatialSEIR::FC_S0, SpatialSEIR::FC_I_Star_overdispersed, and SpatialSEIR::FC_Phi.
void SpatialSEIR::FullConditional::setSamplerType | ( | int | type | ) |
|
pure virtual |
Implemented in SpatialSEIR::InitCompartmentFullConditional, SpatialSEIR::ParameterFullConditional, SpatialSEIR::CompartmentFullConditional, SpatialSEIR::FC_R_Star, SpatialSEIR::FC_E_Star, SpatialSEIR::FC_S_Star, SpatialSEIR::FC_Beta, SpatialSEIR::FC_Beta_P_RS, SpatialSEIR::FC_I0, SpatialSEIR::FC_E0, SpatialSEIR::FC_Gamma_IR, SpatialSEIR::FC_Rho, SpatialSEIR::FC_Gamma_EI, SpatialSEIR::FC_R0, SpatialSEIR::FC_S0, SpatialSEIR::FC_I_Star_overdispersed, and SpatialSEIR::FC_Phi.
|
pure virtual |
int* SpatialSEIR::FullConditional::accepted |
Sampler** SpatialSEIR::FullConditional::currentSampler |
std::vector<Sampler*>* SpatialSEIR::FullConditional::samplers |
int* SpatialSEIR::FullConditional::samples |
double* SpatialSEIR::FullConditional::sliceWidth |