libspatialSEIR
0.1
Bayesian Spatial SEIR Modeling
|
#include <LSS_FullConditional.hpp>
Public Member Functions | |
virtual | ~ParameterFullConditional () |
virtual int | evalCPU ()=0 |
virtual int | evalOCL ()=0 |
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 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 | |
int * | varLen |
Public Attributes inherited from SpatialSEIR::FullConditional | |
double * | sliceWidth |
std::vector< Sampler * > * | samplers |
Sampler ** | currentSampler |
int * | samples |
int * | accepted |
The ParameterFullConditional class inherits the structure of FullConditional, and provides sampling methods for all of the non-compartment parameters. These include the following:
|
inlinevirtual |
|
virtual |
|
pure virtual |
Implements SpatialSEIR::FullConditional.
Implemented in SpatialSEIR::FC_Beta, SpatialSEIR::FC_Beta_P_RS, SpatialSEIR::FC_Gamma_IR, SpatialSEIR::FC_Rho, SpatialSEIR::FC_Gamma_EI, and SpatialSEIR::FC_Phi.
|
pure virtual |
Implements SpatialSEIR::FullConditional.
Implemented in SpatialSEIR::FC_Beta, SpatialSEIR::FC_Beta_P_RS, SpatialSEIR::FC_Gamma_IR, SpatialSEIR::FC_Rho, SpatialSEIR::FC_Gamma_EI, and SpatialSEIR::FC_Phi.
|
pure virtual |
|
pure virtual |
|
virtual |
Identify as parameter full conditional
Implements SpatialSEIR::FullConditional.
|
pure virtual |
Implements SpatialSEIR::FullConditional.
Implemented in SpatialSEIR::FC_Beta, SpatialSEIR::FC_Beta_P_RS, SpatialSEIR::FC_Gamma_IR, SpatialSEIR::FC_Rho, SpatialSEIR::FC_Gamma_EI, and SpatialSEIR::FC_Phi.
|
pure virtual |
Implements SpatialSEIR::FullConditional.
Implemented in SpatialSEIR::FC_Beta, SpatialSEIR::FC_Beta_P_RS, SpatialSEIR::FC_Gamma_IR, SpatialSEIR::FC_Rho, SpatialSEIR::FC_Gamma_EI, and SpatialSEIR::FC_Phi.
|
pure virtual |
Implements SpatialSEIR::FullConditional.
Implemented in SpatialSEIR::FC_Beta, SpatialSEIR::FC_Beta_P_RS, SpatialSEIR::FC_Gamma_IR, SpatialSEIR::FC_Rho, SpatialSEIR::FC_Gamma_EI, and SpatialSEIR::FC_Phi.
|
virtual |
Implements SpatialSEIR::FullConditional.
int* SpatialSEIR::ParameterFullConditional::varLen |