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

#include <LSS_FullConditional.hpp>

Inheritance diagram for SpatialSEIR::FullConditional:
SpatialSEIR::CompartmentFullConditional SpatialSEIR::InitCompartmentFullConditional SpatialSEIR::ParameterFullConditional SpatialSEIR::FC_E_Star SpatialSEIR::FC_I_Star_overdispersed SpatialSEIR::FC_R_Star SpatialSEIR::FC_S_Star SpatialSEIR::FC_E0 SpatialSEIR::FC_I0 SpatialSEIR::FC_R0 SpatialSEIR::FC_S0 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 ~FullConditional ()
 
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 void updateSamplingParameters (double desiredRatio, double targetWidth, double proportionChange)=0
 
virtual int getFullConditionalType ()=0
 
double acceptanceRatio ()
 
void setSamplerType (int type)
 

Public Attributes

double * sliceWidth
 
std::vector< Sampler * > * samplers
 
Sampler ** currentSampler
 
int * samples
 
int * accepted
 

Detailed Description

The FullConditional class serves as the grandparent class for the various full conditional distributions. This structure is helpful, because we can then implement general methods which apply to all child classes of FullConditional.

Constructor & Destructor Documentation

virtual SpatialSEIR::FullConditional::~FullConditional ( )
inlinevirtual

Member Function Documentation

double SpatialSEIR::FullConditional::acceptanceRatio ( )
virtual int SpatialSEIR::FullConditional::calculateRelevantCompartments ( )
pure virtual
virtual int SpatialSEIR::FullConditional::calculateRelevantCompartments_OCL ( )
pure virtual
virtual int SpatialSEIR::FullConditional::getFullConditionalType ( )
pure virtual
virtual long double SpatialSEIR::FullConditional::getValue ( )
pure virtual
virtual void SpatialSEIR::FullConditional::sample ( int  verbose)
pure virtual
void SpatialSEIR::FullConditional::setSamplerType ( int  type)
virtual void SpatialSEIR::FullConditional::setValue ( long double  value)
pure virtual
virtual void SpatialSEIR::FullConditional::updateSamplingParameters ( double  desiredRatio,
double  targetWidth,
double  proportionChange 
)
pure virtual

Member Data Documentation

int* SpatialSEIR::FullConditional::accepted
Sampler** SpatialSEIR::FullConditional::currentSampler
std::vector<Sampler*>* SpatialSEIR::FullConditional::samplers
int* SpatialSEIR::FullConditional::samples
double* SpatialSEIR::FullConditional::sliceWidth

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