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

#include <LSS_FC_S_star.hpp>

Inheritance diagram for SpatialSEIR::FC_S_Star:
SpatialSEIR::CompartmentFullConditional SpatialSEIR::FullConditional

Public Member Functions

 FC_S_Star (ModelContext *_context, CompartmentalModelMatrix *_S_star, CompartmentalModelMatrix *_S, CompartmentalModelMatrix *_R, CompartmentalModelMatrix *_E_star, CompartmentalModelMatrix *_R_star, InitData *_A0, CovariateMatrix *_X, double *_p_se, double *_p_rs, double *_beta, double *_rho, double _steadyStateConstraintPrecision, double sliceWidth)
 
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 ()
 
virtual ~FC_S_Star ()
 
- 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 ** S_star
 
CompartmentalModelMatrix ** S
 
CompartmentalModelMatrix ** R
 
CompartmentalModelMatrix ** E_star
 
CompartmentalModelMatrix ** R_star
 
InitData ** A0
 
CovariateMatrix ** X
 
double ** p_se
 
double ** p_rs
 
double ** beta
 
double ** rho
 
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_S_Star gives the full conditional distribution of S_star, the transition matrix capturing individuals moving from the removed/recovered category to the susceptible category.

Constructor & Destructor Documentation

SpatialSEIR::FC_S_Star::FC_S_Star ( ModelContext _context,
CompartmentalModelMatrix _S_star,
CompartmentalModelMatrix _S,
CompartmentalModelMatrix _R,
CompartmentalModelMatrix _E_star,
CompartmentalModelMatrix _R_star,
InitData _A0,
CovariateMatrix _X,
double *  _p_se,
double *  _p_rs,
double *  _beta,
double *  _rho,
double  _steadyStateConstraintPrecision,
double  sliceWidth 
)
SpatialSEIR::FC_S_Star::~FC_S_Star ( )
virtual

Member Function Documentation

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

Member Data Documentation

InitData** SpatialSEIR::FC_S_Star::A0
double** SpatialSEIR::FC_S_Star::beta
ModelContext** SpatialSEIR::FC_S_Star::context
CompartmentalModelMatrix** SpatialSEIR::FC_S_Star::E_star
double** SpatialSEIR::FC_S_Star::p_rs
double** SpatialSEIR::FC_S_Star::p_se
CompartmentalModelMatrix** SpatialSEIR::FC_S_Star::R
CompartmentalModelMatrix** SpatialSEIR::FC_S_Star::R_star
double** SpatialSEIR::FC_S_Star::rho
CompartmentalModelMatrix** SpatialSEIR::FC_S_Star::S
CompartmentalModelMatrix** SpatialSEIR::FC_S_Star::S_star
double* SpatialSEIR::FC_S_Star::steadyStateConstraintPrecision
long double* SpatialSEIR::FC_S_Star::value
CovariateMatrix** SpatialSEIR::FC_S_Star::X

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