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:
See Also¶
- adjust_contacts
- clear_transmissible_agents
- contact_prob
- contact_rate
- current_state
- enable_transmission_bias
- exposed_state
- get_contact_rate
- get_number_of_transmissibles
- get_transmissibility
- get_transmissible_list
- import_exposures
- prev_state
- set_sus
- set_trans
- source
- sus_list
- transmission_mode
- transmission_network_name
- transmissions
- transmit
- was_exposed_externally
- was_exposed_in