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

#include <LSS_FC_Beta.hpp>

Inheritance diagram for SpatialSEIR::FC_Beta:
SpatialSEIR::ParameterFullConditional SpatialSEIR::FullConditional

Public Member Functions

 FC_Beta (ModelContext *_context, CompartmentalModelMatrix *_E_star, CompartmentalModelMatrix *_S, InitData *_A0, CovariateMatrix *_X, double *_p_se, double *_beta, double *_rho, double sliceWidth, double _priorPrecision)
 
 ~FC_Beta ()
 
virtual double evalPrior ()
 
virtual int evalCPU ()
 
virtual int evalOCL ()
 
virtual void sample (int verbose)
 
virtual long double getValue ()
 
virtual void setValue (long double val)
 
virtual int calculateRelevantCompartments ()
 
virtual int calculateRelevantCompartments_OCL ()
 
- Public Member Functions inherited from SpatialSEIR::ParameterFullConditional
virtual ~ParameterFullConditional ()
 
virtual double acceptanceRatio (int i)
 
void updateSamplingParameters (double desiredRatio, double targetWidth, double proportionChange)
 
int getFullConditionalType ()
 
- Public Member Functions inherited from SpatialSEIR::FullConditional
virtual ~FullConditional ()
 
double acceptanceRatio ()
 
void setSamplerType (int type)
 

Public Attributes

ModelContext ** context
 
CompartmentalModelMatrix ** E_star
 
CompartmentalModelMatrix ** S
 
InitData ** A0
 
CovariateMatrix ** X
 
double ** p_se
 
double ** beta
 
double ** rho
 
long double * value
 
double * priorPrecision
 
- Public Attributes inherited from SpatialSEIR::ParameterFullConditional
int * varLen
 
- Public Attributes inherited from SpatialSEIR::FullConditional
double * sliceWidth
 
std::vector< Sampler * > * samplers
 
Sampler ** currentSampler
 
int * samples
 
int * accepted
 

Detailed Description

FC_Beta gives the full conditional distribution of beta, the vector of regression parameters capturing the exposure intensity process.

Constructor & Destructor Documentation

SpatialSEIR::FC_Beta::FC_Beta ( ModelContext _context,
CompartmentalModelMatrix _E_star,
CompartmentalModelMatrix _S,
InitData _A0,
CovariateMatrix _X,
double *  _p_se,
double *  _beta,
double *  _rho,
double  sliceWidth,
double  _priorPrecision 
)
SpatialSEIR::FC_Beta::~FC_Beta ( )

Member Function Documentation

int SpatialSEIR::FC_Beta::calculateRelevantCompartments ( )
virtual
int SpatialSEIR::FC_Beta::calculateRelevantCompartments_OCL ( )
virtual
int SpatialSEIR::FC_Beta::evalCPU ( )
virtual
int SpatialSEIR::FC_Beta::evalOCL ( )
virtual
double SpatialSEIR::FC_Beta::evalPrior ( )
virtual
long double SpatialSEIR::FC_Beta::getValue ( )
virtual
void SpatialSEIR::FC_Beta::sample ( int  verbose)
virtual
void SpatialSEIR::FC_Beta::setValue ( long double  val)
virtual

Member Data Documentation

InitData** SpatialSEIR::FC_Beta::A0
double** SpatialSEIR::FC_Beta::beta
ModelContext** SpatialSEIR::FC_Beta::context
CompartmentalModelMatrix** SpatialSEIR::FC_Beta::E_star
double** SpatialSEIR::FC_Beta::p_se
double* SpatialSEIR::FC_Beta::priorPrecision
double** SpatialSEIR::FC_Beta::rho
CompartmentalModelMatrix** SpatialSEIR::FC_Beta::S
long double* SpatialSEIR::FC_Beta::value
CovariateMatrix** SpatialSEIR::FC_Beta::X

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