libspatialSEIR
0.1
Bayesian Spatial SEIR Modeling
|
#include <LSS_Samplers.hpp>
Public Member Functions | |
CompartmentMetropolisSampler (ModelContext *context, CompartmentFullConditional *compartmentFC, int *compartmentData) | |
void | drawSample () |
int | getSamplerType () |
~CompartmentMetropolisSampler () | |
Public Member Functions inherited from SpatialSEIR::Sampler | |
virtual | ~Sampler () |
Public Attributes | |
ModelContext ** | context |
CompartmentFullConditional ** | compartmentFC |
int ** | compartmentData |
The CompartmentMetropolisSampler class is child of the Sampler class which draws samples from the posterior distribution of the various transition compartments using a full compartment Metropolis proposal.
SpatialSEIR::CompartmentMetropolisSampler::CompartmentMetropolisSampler | ( | ModelContext * | context, |
CompartmentFullConditional * | compartmentFC, | ||
int * | compartmentData | ||
) |
SpatialSEIR::CompartmentMetropolisSampler::~CompartmentMetropolisSampler | ( | ) |
|
virtual |
Implements SpatialSEIR::Sampler.
|
virtual |
Implements SpatialSEIR::Sampler.
int** SpatialSEIR::CompartmentMetropolisSampler::compartmentData |
CompartmentFullConditional** SpatialSEIR::CompartmentMetropolisSampler::compartmentFC |
ModelContext** SpatialSEIR::CompartmentMetropolisSampler::context |