Skip to content

reset_schedule

Syntax

If called by the meta agent:

reset_schedule(place_type)

If called by a group agent:

reset_schedule()

Parameters

place_type
The place type for which the schedules of all sites are to be reset to their default values.

Description

This action can be called by either a group agent or the meta agent.

If called by the meta agent, all sites of the given place type have their schedules reset to the default schedule for that place type.

If called by a group agent, the site associated with the group agent has its schedule reset to the default for its place type.

Examples

As called by the meta agent on a place Workplace:

state ResetSchedule
{
    reset_schedule(Workplace)
    wait(0)
    default(Excluded)
}

As called by a group agent:

state ResetSchedule
{
    reset_schedule()
    wait(0)
    default(Excluded)
}

See Also