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

#include <LSS_FC_R_star.hpp>

Inheritance diagram for SpatialSEIR::FC_R_Star:
SpatialSEIR::CompartmentFullConditional SpatialSEIR::FullConditional

Public Member Functions

 FC_R_Star (ModelContext *_context, CompartmentalModelMatrix *_R_star, CompartmentalModelMatrix *_R, CompartmentalModelMatrix *_I, CompartmentalModelMatrix *_S_star, CompartmentalModelMatrix *_E_star, CompartmentalModelMatrix *_I_star, CompartmentalModelMatrix *_S, InitData *_A0, double *_p_rs, double *_p_ir, double *_p_se, double _steadyStateConstraintPrecision, double sliceWidth)
 
 ~FC_R_Star ()
 
virtual int evalCPU ()
 
virtual int evalCPU (int i, int j)
 
virtual int evalOCL ()
 
virtual void sample (int verbose)
 
virtual long double getValue ()
 
virtual void setValue (long double val)
 
virtual int calculateRelevantCompartments ()
 
virtual int calculateRelevantCompartments (int i, int j)
 
virtual int calculateRelevantCompartments_OCL ()
 
- Public Member Functions inherited from SpatialSEIR::CompartmentFullConditional
virtual ~CompartmentFullConditional ()
 
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 ** R_star
 
CompartmentalModelMatrix ** R
 
CompartmentalModelMatrix ** I
 
CompartmentalModelMatrix ** S_star
 
CompartmentalModelMatrix ** E_star
 
CompartmentalModelMatrix ** I_star
 
CompartmentalModelMatrix ** S
 
InitData ** A0
 
double ** p_rs
 
double ** p_ir
 
double ** p_se
 
long double * value
 
double * steadyStateConstraintPrecision
 
- Public Attributes inherited from SpatialSEIR::CompartmentFullConditional
double * steadyStateConstraintPrecision
 
- Public Attributes inherited from SpatialSEIR::FullConditional
double * sliceWidth
 
std::vector< Sampler * > * samplers
 
Sampler ** currentSampler
 
int * samples
 
int * accepted
 

Detailed Description

FC_R_Star gives the full conditional distribution of R_star, the transition matrix capturing individuals moving from the infectious category to the recovered/removed category.

Constructor & Destructor Documentation

SpatialSEIR::FC_R_Star::FC_R_Star ( ModelContext _context,
CompartmentalModelMatrix _R_star,
CompartmentalModelMatrix _R,
CompartmentalModelMatrix _I,
CompartmentalModelMatrix _S_star,
CompartmentalModelMatrix _E_star,
CompartmentalModelMatrix _I_star,
CompartmentalModelMatrix _S,
InitData _A0,
double *  _p_rs,
double *  _p_ir,
double *  _p_se,
double  _steadyStateConstraintPrecision,
double  sliceWidth 
)
SpatialSEIR::FC_R_Star::~FC_R_Star ( )

Member Function Documentation

int SpatialSEIR::FC_R_Star::calculateRelevantCompartments ( )
virtual
int SpatialSEIR::FC_R_Star::calculateRelevantCompartments ( int  i,
int  j 
)
virtual
int SpatialSEIR::FC_R_Star::calculateRelevantCompartments_OCL ( )
virtual
int SpatialSEIR::FC_R_Star::evalCPU ( )
virtual
int SpatialSEIR::FC_R_Star::evalCPU ( int  i,
int  j 
)
virtual
int SpatialSEIR::FC_R_Star::evalOCL ( )
virtual
long double SpatialSEIR::FC_R_Star::getValue ( )
virtual
void SpatialSEIR::FC_R_Star::sample ( int  verbose)
virtual
void SpatialSEIR::FC_R_Star::setValue ( long double  val)
virtual

Member Data Documentation

InitData** SpatialSEIR::FC_R_Star::A0
ModelContext** SpatialSEIR::FC_R_Star::context
CompartmentalModelMatrix** SpatialSEIR::FC_R_Star::E_star
CompartmentalModelMatrix** SpatialSEIR::FC_R_Star::I
CompartmentalModelMatrix** SpatialSEIR::FC_R_Star::I_star
double** SpatialSEIR::FC_R_Star::p_ir
double** SpatialSEIR::FC_R_Star::p_rs
double** SpatialSEIR::FC_R_Star::p_se
CompartmentalModelMatrix** SpatialSEIR::FC_R_Star::R
CompartmentalModelMatrix** SpatialSEIR::FC_R_Star::R_star
CompartmentalModelMatrix** SpatialSEIR::FC_R_Star::S
CompartmentalModelMatrix** SpatialSEIR::FC_R_Star::S_star
double* SpatialSEIR::FC_R_Star::steadyStateConstraintPrecision
long double* SpatialSEIR::FC_R_Star::value

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