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::CompartmentFullConditional Class Referenceabstract

#include <LSS_FullConditional.hpp>

Inheritance diagram for SpatialSEIR::CompartmentFullConditional:
SpatialSEIR::FullConditional SpatialSEIR::FC_E_Star SpatialSEIR::FC_I_Star_overdispersed SpatialSEIR::FC_R_Star SpatialSEIR::FC_S_Star

Public Member Functions

virtual ~CompartmentFullConditional ()
 
virtual int evalCPU ()=0
 
virtual int evalCPU (int i, int j)=0
 
virtual int evalOCL ()=0
 
virtual void sample (int verbose)=0
 
virtual long double getValue ()=0
 
virtual void setValue (long double value)=0
 
virtual int calculateRelevantCompartments ()=0
 
virtual int calculateRelevantCompartments (int i, int j)=0
 
virtual int calculateRelevantCompartments_OCL ()=0
 
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

double * steadyStateConstraintPrecision
 
- Public Attributes inherited from SpatialSEIR::FullConditional
double * sliceWidth
 
std::vector< Sampler * > * samplers
 
Sampler ** currentSampler
 
int * samples
 
int * accepted
 

Detailed Description

The CompartmentFullConditional class inherits the structure of FullConditional, and provides general sampling methods which apply to all compartment full conditional distributions. These are:

  1. FC_S_Star, the transition compartment from recovered to susceptible
  2. FC_E_Star, the transition compartment from susceptible to exposed
  3. FC_R_Star, the transition compartment from infectious to recovered

Constructor & Destructor Documentation

virtual SpatialSEIR::CompartmentFullConditional::~CompartmentFullConditional ( )
inlinevirtual

Member Function Documentation

virtual int SpatialSEIR::CompartmentFullConditional::calculateRelevantCompartments ( )
pure virtual
virtual int SpatialSEIR::CompartmentFullConditional::calculateRelevantCompartments ( int  i,
int  j 
)
pure virtual
virtual int SpatialSEIR::CompartmentFullConditional::calculateRelevantCompartments_OCL ( )
pure virtual
virtual int SpatialSEIR::CompartmentFullConditional::evalCPU ( )
pure virtual
virtual int SpatialSEIR::CompartmentFullConditional::evalCPU ( int  i,
int  j 
)
pure virtual
virtual int SpatialSEIR::CompartmentFullConditional::evalOCL ( )
pure virtual
int SpatialSEIR::CompartmentFullConditional::getFullConditionalType ( )
virtual

Identify as compartment full conditional

Implements SpatialSEIR::FullConditional.

virtual long double SpatialSEIR::CompartmentFullConditional::getValue ( )
pure virtual
virtual void SpatialSEIR::CompartmentFullConditional::sample ( int  verbose)
pure virtual
virtual void SpatialSEIR::CompartmentFullConditional::setValue ( long double  value)
pure virtual
void SpatialSEIR::CompartmentFullConditional::updateSamplingParameters ( double  desiredRatio,
double  targetWidth,
double  proportionChange 
)
virtual

Member Data Documentation

double* SpatialSEIR::CompartmentFullConditional::steadyStateConstraintPrecision

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