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

#include <LSS_Samplers.hpp>

Inheritance diagram for SpatialSEIR::CompartmentBinomialSliceSampler:
SpatialSEIR::Sampler

Public Member Functions

 CompartmentBinomialSliceSampler (ModelContext *context, CompartmentFullConditional *compartmentFC, int *compartmentData, int *compartmentFrom, int *compartmentTo, double *probabilityVector, int probabilityVectorLen)
 
void drawSample ()
 
int getSamplerType ()
 
void genProposal ()
 
 ~CompartmentBinomialSliceSampler ()
 
- 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 CompartmentBinomialSliceSampler 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::CompartmentBinomialSliceSampler::CompartmentBinomialSliceSampler ( ModelContext context,
CompartmentFullConditional compartmentFC,
int *  compartmentData,
int *  compartmentFrom,
int *  compartmentTo,
double *  probabilityVector,
int  probabilityVectorLen 
)
SpatialSEIR::CompartmentBinomialSliceSampler::~CompartmentBinomialSliceSampler ( )

Member Function Documentation

void SpatialSEIR::CompartmentBinomialSliceSampler::drawSample ( )
virtual

Implements SpatialSEIR::Sampler.

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

Implements SpatialSEIR::Sampler.

Member Data Documentation

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

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