File config.hpp¶
FileList > epiworld > config.hpp
Go to the source code of this file
Classes¶
| Type | Name |
|---|---|
| struct | Event <typename TSeq> Event data for update an agent. |
Public Types¶
| Type | Name |
|---|---|
| typedef std::shared_ptr< Entity< TSeq > > | EntityPtr |
| typedef std::function< void(Entity< TSeq > &, Model< TSeq > *)> | EntityToAgentFun Decides how to distribute entities at initialization. |
| enum uint8_t | EventAction |
| typedef std::function< void(Event< TSeq > &, Model< TSeq > *)> | EventFun |
| typedef std::shared_ptr< GlobalEvent< TSeq > > | GlobalEventPtr |
| typedef std::function< void(Model< TSeq > *)> | GlobalFun |
| typedef std::function< epiworld_double(Agent< TSeq > *, VirusPtr< TSeq > &, Model< TSeq > *)> | MixerFun |
| typedef std::function< bool(Agent< TSeq > *, Virus< TSeq > &, Model< TSeq > *)> | MutFun |
| typedef std::function< void(Agent< TSeq > *, Virus< TSeq > &, Model< TSeq > *)> | PostRecoveryFun |
| typedef std::function< epiworld_double(Tool< TSeq > &, Agent< TSeq > *, VirusPtr< TSeq > &, Model< TSeq > *)> | ToolFun |
| typedef std::shared_ptr< Tool< TSeq > > | ToolPtr |
| typedef std::function< void(Tool< TSeq > &, Model< TSeq > *)> | ToolToAgentFun Decides how to distribute tools at initialization. |
| typedef std::function< void(Agent< TSeq > *, Model< TSeq > *)> | UpdateFun |
| typedef std::function< epiworld_double(Agent< TSeq > *, Virus< TSeq > &, Model< TSeq > *)> | VirusFun |
| typedef std::shared_ptr< Virus< TSeq > > | VirusPtr |
| typedef std::function< void(Virus< TSeq > &, Model< TSeq > *)> | VirusToAgentFun Decides how to distribute viruses at initialization. |
Macros¶
Public Types Documentation¶
typedef EntityPtr¶
typedef EntityToAgentFun¶
Decides how to distribute entities at initialization.
enum EventAction¶
enum EventAction {
AddVirus,
AddTool,
AddEntity,
RemoveVirus,
RemoveTool,
RemoveEntity,
ChangeState
};
typedef EventFun¶
typedef GlobalEventPtr¶
typedef GlobalFun¶
typedef MixerFun¶
typedef MutFun¶
typedef PostRecoveryFun¶
typedef ToolFun¶
using ToolFun = std::function<epiworld_double(Tool<TSeq>&,Agent<TSeq>*,VirusPtr<TSeq>&,Model<TSeq>*)>;
typedef ToolPtr¶
typedef ToolToAgentFun¶
Decides how to distribute tools at initialization.
typedef UpdateFun¶
typedef VirusFun¶
typedef VirusPtr¶
typedef VirusToAgentFun¶
Decides how to distribute viruses at initialization.
Macro Definition Documentation¶
define DEFAULT_TOOL_CONTAGION_REDUCTION¶
define DEFAULT_TOOL_DEATH_REDUCTION¶
define DEFAULT_TOOL_RECOVERY_ENHANCER¶
define DEFAULT_TOOL_TRANSMISSION_REDUCTION¶
define EPIWORLD_MAXNEIGHBORS¶
define EPI_CHECK_USER_INTERRUPT¶
define EPI_DEBUG_ALL_NON_NEGATIVE¶
define EPI_DEBUG_ERROR¶
define EPI_DEBUG_FAIL_AT_TRUE¶
define EPI_DEBUG_NOTIFY_ACTIVE¶
define EPI_DEBUG_PRINTF¶
define EPI_DEBUG_SUM_DBL¶
define EPI_DEBUG_SUM_INT¶
define EPI_DEBUG_VECTOR_MATCH_INT¶
define EPI_DEFAULT_INCUBATION_DAYS¶
define EPI_DEFAULT_TSEQ¶
define EPI_DEFAULT_VIRUS_PROB_DEATH¶
define EPI_DEFAULT_VIRUS_PROB_INFECTION¶
define EPI_DEFAULT_VIRUS_PROB_RECOVERY¶
define EPI_GET_THREAD_ID¶
define EPI_MAX_TRACKING¶
define epiexception¶
define epiworld_double¶
define epiworld_fast_int¶
define epiworld_fast_uint¶
define printf_epiworld¶
The documentation for this class was generated from the following file epiworld-src/include/epiworld/config.hpp