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

#include <LSS_FC_Phi.hpp>

Inheritance diagram for SpatialSEIR::FC_Phi:
SpatialSEIR::ParameterFullConditional SpatialSEIR::FullConditional

Public Member Functions

 FC_Phi (ModelContext *_context, CompartmentalModelMatrix *_I_star, double *_phi, double _priorAlpha, double _priorBeta, int *_Y, double sliceWidth)
 
 ~FC_Phi ()
 
virtual double evalPrior ()
 
virtual int evalCPU ()
 
virtual int evalOCL ()
 
virtual void sample (int verbose)
 
virtual long double getValue ()
 
virtual void setValue (long double val)
 
virtual int calculateRelevantCompartments ()
 
virtual int calculateRelevantCompartments_OCL ()
 
- Public Member Functions inherited from SpatialSEIR::ParameterFullConditional
virtual ~ParameterFullConditional ()
 
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

ModelContext ** context
 
CompartmentalModelMatrix ** I_star
 
double ** phi
 
double * priorAlpha
 
double * priorBeta
 
int ** Y
 
long double * value
 
- Public Attributes inherited from SpatialSEIR::ParameterFullConditional
int * varLen
 
- Public Attributes inherited from SpatialSEIR::FullConditional
double * sliceWidth
 
std::vector< Sampler * > * samplers
 
Sampler ** currentSampler
 
int * samples
 
int * accepted
 

Detailed Description

FC_Phi gives the full conditional distribution of rho, the scalar spatial dependence parameter.

Constructor & Destructor Documentation

SpatialSEIR::FC_Phi::FC_Phi ( ModelContext _context,
CompartmentalModelMatrix _I_star,
double *  _phi,
double  _priorAlpha,
double  _priorBeta,
int *  _Y,
double  sliceWidth 
)
SpatialSEIR::FC_Phi::~FC_Phi ( )

Member Function Documentation

virtual int SpatialSEIR::FC_Phi::calculateRelevantCompartments ( )
virtual
virtual int SpatialSEIR::FC_Phi::calculateRelevantCompartments_OCL ( )
virtual
virtual int SpatialSEIR::FC_Phi::evalCPU ( )
virtual
virtual int SpatialSEIR::FC_Phi::evalOCL ( )
virtual
virtual double SpatialSEIR::FC_Phi::evalPrior ( )
virtual
virtual long double SpatialSEIR::FC_Phi::getValue ( )
virtual
virtual void SpatialSEIR::FC_Phi::sample ( int  verbose)
virtual
virtual void SpatialSEIR::FC_Phi::setValue ( long double  val)
virtual

Member Data Documentation

ModelContext** SpatialSEIR::FC_Phi::context
CompartmentalModelMatrix** SpatialSEIR::FC_Phi::I_star
double** SpatialSEIR::FC_Phi::phi
double* SpatialSEIR::FC_Phi::priorAlpha
double* SpatialSEIR::FC_Phi::priorBeta
long double* SpatialSEIR::FC_Phi::value
int** SpatialSEIR::FC_Phi::Y

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