libspatialSEIR
0.1
Bayesian Spatial SEIR Modeling
|
#include <LSS_Samplers.hpp>
Public Member Functions | |
CompartmentMetropolisSampler_OCL (ModelContext *context, CompartmentFullConditional *compartmentFC, int *compartmentData) | |
void | drawSample () |
int | getSamplerType () |
~CompartmentMetropolisSampler_OCL () | |
Public Member Functions inherited from SpatialSEIR::Sampler | |
virtual | ~Sampler () |
Public Attributes | |
ModelContext ** | context |
CompartmentFullConditional ** | compartmentFC |
int ** | compartmentData |
The CompartmentMetropolisSampler_OCL 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. This version of the Metropolis sampler uses the available OpenCL features of libspatialSEIR.
SpatialSEIR::CompartmentMetropolisSampler_OCL::CompartmentMetropolisSampler_OCL | ( | ModelContext * | context, |
CompartmentFullConditional * | compartmentFC, | ||
int * | compartmentData | ||
) |
SpatialSEIR::CompartmentMetropolisSampler_OCL::~CompartmentMetropolisSampler_OCL | ( | ) |
|
virtual |
Implements SpatialSEIR::Sampler.
|
virtual |
Implements SpatialSEIR::Sampler.
int** SpatialSEIR::CompartmentMetropolisSampler_OCL::compartmentData |
CompartmentFullConditional** SpatialSEIR::CompartmentMetropolisSampler_OCL::compartmentFC |
ModelContext** SpatialSEIR::CompartmentMetropolisSampler_OCL::context |