Notice: This Wiki is now read only and edits are no longer possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.
Difference between revisions of "Triggering interventions"
(→Interventions in STEM) |
|||
Line 10: | Line 10: | ||
=== Interventions in STEM === | === Interventions in STEM === | ||
− | STEM uses triggers, predicates and modifiers to implement interventions. A trigger contains predicate which, when satisfied, invokes one or more modifiers that changes some aspect of a running simulation. | + | STEM uses triggers, predicates and modifiers to implement interventions. A trigger contains predicate which, when satisfied, invokes one or more modifiers that changes some aspect of a running simulation. When the predicate is not satisfied any longer, the modifications are set back to their original values. |
+ | |||
+ | STEM currently supports two types of predicate tests, which can be combined using boolean expressions. The tests are: | ||
+ | |||
+ | Elapsed Time Test - Used to modify a simulation after a given period of time has elapsed in a simulation | ||
+ | Label Value Test - Used to test the value of a disease or population label in a region |
Revision as of 17:21, 15 July 2011
Contents |
Interventions in STEM
STEM uses triggers, predicates and modifiers to implement interventions. A trigger contains predicate which, when satisfied, invokes one or more modifiers that changes some aspect of a running simulation. When the predicate is not satisfied any longer, the modifications are set back to their original values.
STEM currently supports two types of predicate tests, which can be combined using boolean expressions. The tests are:
Elapsed Time Test - Used to modify a simulation after a given period of time has elapsed in a simulation Label Value Test - Used to test the value of a disease or population label in a region