libspatialSEIR
0.1
Bayesian Spatial SEIR Modeling
|
#include <LSS_IterationTasks.hpp>
Public Member Functions | |
SetCompartmentSamplingIndicesTask (ModelContext *context) | |
~SetCompartmentSamplingIndicesTask () | |
void | executeTask () |
int | getTaskType () |
Public Member Functions inherited from SpatialSEIR::IterationTask | |
virtual | ~IterationTask () |
Public Attributes | |
ModelContext ** | context |
int ** | index |
int ** | indexLength |
Several of the compartment sampling classes rely on a list of indices managed by model context to jointly update the same space-time locations for each of the compartments in order to reduce sampler autocorrelation. This task updates the list of indices after each MCMC sample.
SpatialSEIR::SetCompartmentSamplingIndicesTask::SetCompartmentSamplingIndicesTask | ( | ModelContext * | context | ) |
SpatialSEIR::SetCompartmentSamplingIndicesTask::~SetCompartmentSamplingIndicesTask | ( | ) |
|
virtual |
Implements SpatialSEIR::IterationTask.
|
virtual |
Implements SpatialSEIR::IterationTask.
ModelContext** SpatialSEIR::SetCompartmentSamplingIndicesTask::context |
int** SpatialSEIR::SetCompartmentSamplingIndicesTask::index |
int** SpatialSEIR::SetCompartmentSamplingIndicesTask::indexLength |