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

#include <LSS_FC_Beta_P_RS.hpp>

Inheritance diagram for SpatialSEIR::FC_Beta_P_RS:
SpatialSEIR::ParameterFullConditional SpatialSEIR::FullConditional

Public Member Functions

 FC_Beta_P_RS (ModelContext *_context, CompartmentalModelMatrix *_S_star, CompartmentalModelMatrix *_R, CovariateMatrix *_X, InitData *_A0, double *_p_rs, double *_beta_p_rs, double _tausq, double _sliceWidth)
 
 ~FC_Beta_P_RS ()
 
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 ** S_star
 
CompartmentalModelMatrix ** R
 
CovariateMatrix ** X
 
InitData ** A0
 
double ** beta_p_rs
 
double ** p_rs
 
double * tausq
 
long double * value
 
- 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_P_RS gives the full conditional distribution of beta_p_rs, the vector of regression parameters capturing the probability that an individual transitions from R to S, the removed/recovered category to the susceptible category.

Constructor & Destructor Documentation

SpatialSEIR::FC_Beta_P_RS::FC_Beta_P_RS ( ModelContext _context,
CompartmentalModelMatrix _S_star,
CompartmentalModelMatrix _R,
CovariateMatrix _X,
InitData _A0,
double *  _p_rs,
double *  _beta_p_rs,
double  _tausq,
double  _sliceWidth 
)
SpatialSEIR::FC_Beta_P_RS::~FC_Beta_P_RS ( )

Member Function Documentation

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

Member Data Documentation

InitData** SpatialSEIR::FC_Beta_P_RS::A0
double** SpatialSEIR::FC_Beta_P_RS::beta_p_rs
ModelContext** SpatialSEIR::FC_Beta_P_RS::context
double** SpatialSEIR::FC_Beta_P_RS::p_rs
CompartmentalModelMatrix** SpatialSEIR::FC_Beta_P_RS::R
CompartmentalModelMatrix** SpatialSEIR::FC_Beta_P_RS::S_star
double* SpatialSEIR::FC_Beta_P_RS::tausq
long double* SpatialSEIR::FC_Beta_P_RS::value
CovariateMatrix** SpatialSEIR::FC_Beta_P_RS::X

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