libspatialSEIR  0.1
Bayesian Spatial SEIR Modeling
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros
Public Member Functions | List of all members
SpatialSEIR::InitCompartmentFullConditional Class Referenceabstract

#include <LSS_FullConditional.hpp>

Inheritance diagram for SpatialSEIR::InitCompartmentFullConditional:
SpatialSEIR::FullConditional SpatialSEIR::FC_E0 SpatialSEIR::FC_I0 SpatialSEIR::FC_R0 SpatialSEIR::FC_S0

Public Member Functions

virtual ~InitCompartmentFullConditional ()
 
virtual int evalCPU ()=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_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)
 

Additional Inherited Members

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

Detailed Description

The InitCompartmentFullConditional class inherits the structure of FullConditional, and provides sampling methods for the initial compartment size parameters. These are:

  1. FC_S0, the initial susceptible group
  2. FC_E0, the initial exposed group
  3. FC_I0, the initial infectious group
  4. FC_R0, the initial recovered group

Constructor & Destructor Documentation

virtual SpatialSEIR::InitCompartmentFullConditional::~InitCompartmentFullConditional ( )
inlinevirtual

Member Function Documentation

virtual int SpatialSEIR::InitCompartmentFullConditional::calculateRelevantCompartments ( )
pure virtual
virtual int SpatialSEIR::InitCompartmentFullConditional::calculateRelevantCompartments_OCL ( )
pure virtual
virtual int SpatialSEIR::InitCompartmentFullConditional::evalCPU ( )
pure virtual
virtual int SpatialSEIR::InitCompartmentFullConditional::evalOCL ( )
pure virtual
int SpatialSEIR::InitCompartmentFullConditional::getFullConditionalType ( )
virtual

Identify as init compartment full conditional

Implements SpatialSEIR::FullConditional.

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

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