Skip to content

has_group_agent

Syntax

<mixing-group-type> <mixing-group-name> {
    has_group_agent = 1
}

Parameters

mixing-group-type
Either place or network
mixing-group-name
The name of the mixing group.

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
}

Examples

Give one or more examples of this item.

place School {
    has_group_agent = 1
}
place Classroom {
    has_group_agent = 1
}

See Also