Notice: this Wiki will be going read only early in 2024 and edits will no longer be 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) |
(→Interventions in STEM) |
||
Line 14: | Line 14: | ||
STEM currently supports two types of predicate tests, which can be combined using boolean expressions. The tests are: | 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 | + | * 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 | + | * Label Value Test - Used to test the value of a disease or population label in a region |
Revision as of 17:22, 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