libspatialSEIR  0.1
Bayesian Spatial SEIR Modeling
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros
Public Member Functions | Public Attributes | List of all members
SpatialSEIR::CompartmentMetropolisSampler_OCL Class Reference

#include <LSS_Samplers.hpp>

Inheritance diagram for SpatialSEIR::CompartmentMetropolisSampler_OCL:
SpatialSEIR::Sampler

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
 

Detailed Description

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.

Constructor & Destructor Documentation

SpatialSEIR::CompartmentMetropolisSampler_OCL::CompartmentMetropolisSampler_OCL ( ModelContext context,
CompartmentFullConditional compartmentFC,
int *  compartmentData 
)
SpatialSEIR::CompartmentMetropolisSampler_OCL::~CompartmentMetropolisSampler_OCL ( )

Member Function Documentation

void SpatialSEIR::CompartmentMetropolisSampler_OCL::drawSample ( )
virtual

Implements SpatialSEIR::Sampler.

int SpatialSEIR::CompartmentMetropolisSampler_OCL::getSamplerType ( )
virtual

Implements SpatialSEIR::Sampler.

Member Data Documentation

int** SpatialSEIR::CompartmentMetropolisSampler_OCL::compartmentData
CompartmentFullConditional** SpatialSEIR::CompartmentMetropolisSampler_OCL::compartmentFC
ModelContext** SpatialSEIR::CompartmentMetropolisSampler_OCL::context

The documentation for this class was generated from the following file: