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

#include <LSS_FC_Gamma_EI.hpp>

Inheritance diagram for SpatialSEIR::FC_Gamma_EI:
SpatialSEIR::ParameterFullConditional SpatialSEIR::FullConditional

Public Member Functions

 FC_Gamma_EI (ModelContext *_context, CompartmentalModelMatrix *_I_star, CompartmentalModelMatrix *_E, InitData *_A0, double *_p_ei, double *_gamma_ei, double _priorAlpha, double _priorBeta, double sliceWidth)
 
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 ()
 
 ~FC_Gamma_EI ()
 
- 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 ** I_star
 
CompartmentalModelMatrix ** E
 
InitData ** A0
 
double ** p_ei
 
double ** gamma_ei
 
long double * value
 
double * priorAlpha
 
double * priorBeta
 
- 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_Gamma_EI gives the full conditional distribution of gamma_ei, the parameter driving the probability that an exposed individual becomes infectious at a given time point, p_ei.

Constructor & Destructor Documentation

SpatialSEIR::FC_Gamma_EI::FC_Gamma_EI ( ModelContext _context,
CompartmentalModelMatrix _I_star,
CompartmentalModelMatrix _E,
InitData _A0,
double *  _p_ei,
double *  _gamma_ei,
double  _priorAlpha,
double  _priorBeta,
double  sliceWidth 
)
SpatialSEIR::FC_Gamma_EI::~FC_Gamma_EI ( )

Member Function Documentation

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

Member Data Documentation

InitData** SpatialSEIR::FC_Gamma_EI::A0
ModelContext** SpatialSEIR::FC_Gamma_EI::context
CompartmentalModelMatrix** SpatialSEIR::FC_Gamma_EI::E
double** SpatialSEIR::FC_Gamma_EI::gamma_ei
CompartmentalModelMatrix** SpatialSEIR::FC_Gamma_EI::I_star
double** SpatialSEIR::FC_Gamma_EI::p_ei
double* SpatialSEIR::FC_Gamma_EI::priorAlpha
double* SpatialSEIR::FC_Gamma_EI::priorBeta
long double* SpatialSEIR::FC_Gamma_EI::value

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