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

#include <LSS_FullConditional.hpp>

Inheritance diagram for SpatialSEIR::ParameterFullConditional:
SpatialSEIR::FullConditional SpatialSEIR::FC_Beta SpatialSEIR::FC_Beta_P_RS SpatialSEIR::FC_Gamma_EI SpatialSEIR::FC_Gamma_IR SpatialSEIR::FC_Phi SpatialSEIR::FC_Rho

Public Member Functions

virtual ~ParameterFullConditional ()
 
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
 
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

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

Detailed Description

The ParameterFullConditional class inherits the structure of FullConditional, and provides sampling methods for all of the non-compartment parameters. These include the following:

  1. FC_Beta, the full conditional for the parameters controlling the exposure probability
  2. FC_Beta_P_RS, the full conditional for the parameters controlling the reinfection probability
  3. FC_Rho, the full conditional for the spatial dependence parameter
  4. FC_P_EI, the full conditional for the E to I transition probability
  5. FC_P_IR, the full conditional for the I to R transition probability

Constructor & Destructor Documentation

virtual SpatialSEIR::ParameterFullConditional::~ParameterFullConditional ( )
inlinevirtual

Member Function Documentation

double SpatialSEIR::ParameterFullConditional::acceptanceRatio ( int  i)
virtual
virtual int SpatialSEIR::ParameterFullConditional::calculateRelevantCompartments ( )
pure virtual
virtual int SpatialSEIR::ParameterFullConditional::calculateRelevantCompartments_OCL ( )
pure virtual
virtual int SpatialSEIR::ParameterFullConditional::evalCPU ( )
pure virtual
virtual int SpatialSEIR::ParameterFullConditional::evalOCL ( )
pure virtual
int SpatialSEIR::ParameterFullConditional::getFullConditionalType ( )
virtual

Identify as parameter full conditional

Implements SpatialSEIR::FullConditional.

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

Member Data Documentation

int* SpatialSEIR::ParameterFullConditional::varLen

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