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 Class Reference

#include <LSS_Samplers.hpp>

Inheritance diagram for SpatialSEIR::CompartmentMetropolisSampler:
SpatialSEIR::Sampler

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
 

Detailed Description

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.

Constructor & Destructor Documentation

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

Member Function Documentation

void SpatialSEIR::CompartmentMetropolisSampler::drawSample ( )
virtual

Implements SpatialSEIR::Sampler.

int SpatialSEIR::CompartmentMetropolisSampler::getSamplerType ( )
virtual

Implements SpatialSEIR::Sampler.

Member Data Documentation

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

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