NodeEventCoordinator¶
The NodeEventCoordinator coordinator class distributes node-level interventions. After distribution, the coordinator expires. See the following JSON example and table, which shows all available parameters for this event coordinator.
Note
Parameters are case-sensitive. For Boolean parameters, set to 1 for true or 0 for false. Minimum, maximum, or default values of “NA” indicate that those values are not applicable for that parameter.
EMOD does not use true defaults; that is, if the dependency relationships indicate that a parameter is required, you must supply a value for it. However, many of the tools used to work with EMOD will use the default values provided below.
JSON does not permit comments, but you can add “dummy” parameters to add contextual information to your files.
The table below describes all possible parameters with which this class can be configured. The JSON example that follows shows one potential configuration.
Parameter |
Data type |
Minimum |
Maximum |
Default |
Description |
Example |
---|---|---|---|---|---|---|
Intervention_Config |
JSON object |
NA |
NA |
NA |
The nested JSON of the actual intervention to be distributed by this event coordinator. |
{
"Intervention_Config": {
"class": "OutbreakIndividual",
"Incubation_Period_Override": 1,
"Outbreak_Source": "PrevalenceIncrease"
}
}
|
{
"Events": [{
"class": "CampaignEvent",
"Event_Name": "Scale habitat",
"Start_Day": 1,
"Nodeset_Config": {
"class": "NodeSetAll"
},
"Event_Coordinator_Config": {
"Intervention_Config": {
"class": "ScaleLarvalHabitat",
"Larval_Habitat_Multiplier": {
"TEMPORARY_RAINFALL": 0.05
}
},
"class": "NodeEventCoordinator"
}
}]
}