adjust_contacts¶
Syntax¶
Parameters¶
value- An expression that evaluates to a numeric value.
Description¶
Group agent action which adjusts the contact rate of the associated group.
The base contract rate for the group associated with this group agent is multiplied by the value parameter. The effect is to change the number of contacts among the agents attending the group. This may change the rate of transmissions that occur within the group.
This change remains in effect until the group agent adjusts the contacts again.
To return the group to the original contact rate, a group agent can call
adjust_contacts(1.0).
Examples¶
The following statement would double the base contact rate for a group called
Group1.
After the group agent performs this action, the contact rate could be reset to the original value with:
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_state
- 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