SLIDE 43 Introduction Tools and Techniques Brahms Formal Semantics Brahms to Promela Properties Discussion Conclusions
Semantic Rules: Scheduler Semantics
RULE: Sch_rcvd
Ags, agi, Bξ, F, Tξ
Tξ′=Tξ[Tξ/Tξ+MinTime(∀agi|Ti∈Bξ)]
− − − − − − − − − − − − − − − − − − − − − − − − − − − − − − − − − − − − − − →
∀agi∈Ags|stage∈{Pop_PA∗,Pop_MA∗,Pop_CA∗)}∨idle,(Tξ=−1)
Ags, agi, Bξ, F, Tξ′
The rule receives the activity durations from all agents. If all agents are in a waiting or idle state then the Scheduler will check the end time for all agents’ activities, calculate the smallest value and set its time to this. To activate all the agents need to be at the stage where the rules Pop_PA∗, Pop_MA∗ or Pop_CA∗ relating to primitive activities, move activities or communication activities applicable (where * represents a wild card).
Clare Dixon Towards Verification of Domestic Robot Assistants 43 / 68