has_group_agent()
Mixing group property that generates group agents.
Synopsis
<mixing-group-type> <mixing-group-name> {
has_group_agent = 1
}
Description
If this property is set, each instance of the mixing group is assigned
an group agent
that can set certain properties of the
mixing group, such as its opening and closing status and its contact
rates. The property has value 0
by default (no group agents).
Group agents represent the management of a group, rather than individual people. As such, group agents do not attend the mixing group and are never exposed to transmissible conditions.
A group agent is associated with a single mixing group instance. For example, the following will generate one group agent per school in the model.
place School {
has_group_agent = 1
}
Options
mixing-group-type
Either
place
ornetwork
mixing-group-name
The name of the mixing group.
Examples
Give one or more examples of this item.
place School {
has_group_agent = 1
}
place Classroom {
has_group_agent = 1
}
See Also
adjust_contacts(), close(), group_id(), group_start_state, is_group_agent()