group_start_state

The start state for group agents in a condition.

Synopsis

group_start_state = <state>

Description

This statement sets the initial state for group agents in the current condition. This value can be different for each condition. The default start state for group agents is Excluded. This value must be set within the condition block, outside of any state blocks.

Examples

The following condition SCHOOL_SCHEDULE establishes an initial group state GroupStart for the condition. This might be used to permit group agents for a School place to manage the schedule for their schools, including the school calendar and school closing policies.

condition SCHOOL_SCHEDULE {
    start_state = Start`
    group_start_state = GroupStart
    ...

    state Start {
        # initial state for regular agents
    }

    state GroupStart {
        # initial state for group agents
    }

    ...
}

See Also

add_to_schedule(), is_group_agent(), meta_start_state, remove_from_schedule(), start_state