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

#include <LSS_Samplers.hpp>

Inheritance diagram for SpatialSEIR::CompartmentBinomialMetropolisSampler:
SpatialSEIR::Sampler

Public Member Functions

 CompartmentBinomialMetropolisSampler (ModelContext *context, CompartmentFullConditional *compartmentFC, int *compartmentData, int *compartmentFrom, int *compartmentTo, double *probabilityVector, int probabilityVectorLen)
 
void drawSample ()
 
int getSamplerType ()
 
void genProposal ()
 
 ~CompartmentBinomialMetropolisSampler ()
 
- Public Member Functions inherited from SpatialSEIR::Sampler
virtual ~Sampler ()
 

Public Attributes

ModelContext ** context
 
CompartmentFullConditional ** compartmentFC
 
int ** compartmentData
 
int ** compartmentFrom
 
int ** compartmentTo
 
double ** probabilityVector
 
int * probabilityVectorLen
 

Detailed Description

The CompartmentBinomialMetropolisSampler class is child of the Sampler class which draws samples from the posterior distribution of the various transition compartments using a chain binomial proposal based on the parameters.

Constructor & Destructor Documentation

SpatialSEIR::CompartmentBinomialMetropolisSampler::CompartmentBinomialMetropolisSampler ( ModelContext context,
CompartmentFullConditional compartmentFC,
int *  compartmentData,
int *  compartmentFrom,
int *  compartmentTo,
double *  probabilityVector,
int  probabilityVectorLen 
)
SpatialSEIR::CompartmentBinomialMetropolisSampler::~CompartmentBinomialMetropolisSampler ( )

Member Function Documentation

void SpatialSEIR::CompartmentBinomialMetropolisSampler::drawSample ( )
virtual

Implements SpatialSEIR::Sampler.

void SpatialSEIR::CompartmentBinomialMetropolisSampler::genProposal ( )
int SpatialSEIR::CompartmentBinomialMetropolisSampler::getSamplerType ( )
virtual

Implements SpatialSEIR::Sampler.

Member Data Documentation

int** SpatialSEIR::CompartmentBinomialMetropolisSampler::compartmentData
CompartmentFullConditional** SpatialSEIR::CompartmentBinomialMetropolisSampler::compartmentFC
int** SpatialSEIR::CompartmentBinomialMetropolisSampler::compartmentFrom
int** SpatialSEIR::CompartmentBinomialMetropolisSampler::compartmentTo
ModelContext** SpatialSEIR::CompartmentBinomialMetropolisSampler::context
double** SpatialSEIR::CompartmentBinomialMetropolisSampler::probabilityVector
int* SpatialSEIR::CompartmentBinomialMetropolisSampler::probabilityVectorLen

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