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

#include <LSS_Samplers.hpp>

Inheritance diagram for SpatialSEIR::ParameterHybridSampler:
SpatialSEIR::Sampler

Public Member Functions

 ParameterHybridSampler (ModelContext *context, std::vector< ParameterFullConditional * > parameterFullConditionals, std::vector< double * > parameters, int samplerType)
 
void drawSample ()
 
int getSamplerType ()
 
 ~ParameterHybridSampler ()
 
- Public Member Functions inherited from SpatialSEIR::Sampler
virtual ~Sampler ()
 

Public Attributes

ModelContext ** context
 
int * samplerType
 
int * totalParamSize
 
double * parameterCache
 
std::vector
< ParameterFullConditional * > * 
parameterFullConditionals
 
std::vector< double * > * parameters
 

Detailed Description

The ParameterHybridSampler class is an experimental approach to reducing autocorrelation by sampling parameters together.

Constructor & Destructor Documentation

SpatialSEIR::ParameterHybridSampler::ParameterHybridSampler ( ModelContext context,
std::vector< ParameterFullConditional * >  parameterFullConditionals,
std::vector< double * >  parameters,
int  samplerType 
)
SpatialSEIR::ParameterHybridSampler::~ParameterHybridSampler ( )

Member Function Documentation

void SpatialSEIR::ParameterHybridSampler::drawSample ( )
virtual

Implements SpatialSEIR::Sampler.

int SpatialSEIR::ParameterHybridSampler::getSamplerType ( )
virtual

Implements SpatialSEIR::Sampler.

Member Data Documentation

ModelContext** SpatialSEIR::ParameterHybridSampler::context
double* SpatialSEIR::ParameterHybridSampler::parameterCache
std::vector<ParameterFullConditional*>* SpatialSEIR::ParameterHybridSampler::parameterFullConditionals
std::vector<double*>* SpatialSEIR::ParameterHybridSampler::parameters
int* SpatialSEIR::ParameterHybridSampler::samplerType
int* SpatialSEIR::ParameterHybridSampler::totalParamSize

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