set_trans¶
Syntax¶
Parameters¶
condition-name- The name of a transmissible condition.
value- An expression that evaluates to a numeric value.
Description¶
Sets the transmissibility to a condition. The effect of this action depends on whether it is executed by an individual agent or by the meta-agent.
If executed by an individual agent, the action sets the agent's transmissibility to a condition.
If executed by the meta-agent, the action sets the global transmissibility of a condition.
Examples¶
The following statement sets the agent's transmissibility to COVID19 to 1.0: