Set the transmissibility to a condition.
<condition-name>.trans = <value> set_trans(condition-name, value)
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.
The compiler transforms the first form into the second form.
The first form is preferred.
The name of a transmissible condition.
An expression that evaluates to a numeric value.
Both of the following statements set the agent’s transmissibility to COVID19 to 1.0:
COVID19.trans = 1.0 set_trans(COVID19, 1.0)