libspatialSEIR  0.1
Bayesian Spatial SEIR Modeling
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros
LSS_IterationTasks.hpp
Go to the documentation of this file.
1 #ifndef SPATIALSEIR_INCLUDEFILES
2 #define SPATIALSEIR_INCLUDEFILES
3 
4 #include<cstring>
5 #include<vector>
6 #endif
7 
8 #ifndef LSS_ITERATION_TASKS_INC
9 #define LSS_ITERATION_TASKS_INC
10 
11 #define LSS_SAMPLING_INDEX_TASK_TYPE 1
12 #define LSS_DECORRELATION_STEP_TASK_TYPE 2
13 #define LSS_HYBRID_SE_EI_UPDATE_STEP_TASK_TYPE 3
14 
15 
16 namespace SpatialSEIR
17 {
18 
19  class ModelContext;
20  class FC_Gamma_EI;
21  class FC_Beta;
22  class ParameterHybridSampler;
23 
28  {
29  public:
30  virtual ~IterationTask(){};
31  virtual void executeTask() = 0;
32  virtual int getTaskType() = 0;
33  };
34 
41  {
42  public:
45  void executeTask();
46  int getTaskType();
47 
49  int** index;
50  int** indexLength;
51  };
52 
54  {
55  public:
57  int iterationCount);
59  void executeTask();
60  int getTaskType();
61 
65  };
66 
68  {
69  public:
71  FC_Gamma_EI* fc_gammaEI,
72  FC_Beta* fc_beta,
73  int iterationCount);
75  void executeTask();
76  int getTaskType();
81  };
82 }
83 #endif
int * iterationCount
Definition: LSS_IterationTasks.hpp:79
int ** indexLength
Definition: LSS_IterationTasks.hpp:50
Definition: LSS_IterationTasks.hpp:53
int * iterationCount
Definition: LSS_IterationTasks.hpp:63
Definition: LSS_IterationTasks.hpp:40
PerformDecorrelationStep(ModelContext *context, int iterationCount)
int * currentIteration
Definition: LSS_IterationTasks.hpp:64
virtual int getTaskType()=0
SetCompartmentSamplingIndicesTask(ModelContext *context)
ModelContext ** context
Definition: LSS_IterationTasks.hpp:48
virtual void executeTask()=0
ModelContext ** context
Definition: LSS_IterationTasks.hpp:77
ParameterHybridSampler * sampler
Definition: LSS_IterationTasks.hpp:78
Definition: LSS_IterationTasks.hpp:27
virtual ~IterationTask()
Definition: LSS_IterationTasks.hpp:30
Definition: LSS_FC_Gamma_EI.hpp:18
int ** index
Definition: LSS_IterationTasks.hpp:49
int * currentIteration
Definition: LSS_IterationTasks.hpp:80
Definition: LSS_Samplers.hpp:70
PerformHybridSE_EI_UpdateStep(ModelContext *context, FC_Gamma_EI *fc_gammaEI, FC_Beta *fc_beta, int iterationCount)
Definition: ModelContext.hpp:82
ModelContext ** context
Definition: LSS_IterationTasks.hpp:62
Definition: LSS_IterationTasks.hpp:67
Definition: LSS_FC_Beta.hpp:19