current_state¶
Syntax¶
Parameters¶
condition-name- The name of a condition defined in the model.
Returns¶
This action returns the index of the current state of agent in the given condition.
Description¶
This action returns the index of the current state of the agent in the given condition.
The states of each condition are numbered in the order they are defined in the
model, with Start always numbered 0 and Excluded always the last state in
the condition.
Examples¶
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