Resuming nested states after a pause

A packaging controller uses the state hierarchy shown below. Working and Executing are composite states, each with one region. Normal entry into Working selects Ready; normal entry into Executing selects Warming.


A containment tree places Ready and Executing inside Working and Warming and Running inside Executing.


The controller behaves as follows:

  • Every entry into Warming starts a fresh 8 s warm-up. Completion immediately takes the controller into Running.
  • Every entry into Running starts production of a fresh part, which takes 12 s of uninterrupted operation.
  • Exiting Running discards the unfinished part and all progress on it.
  • Entry behaviours and transitions take zero time. No other transitions occur during the intervals being considered.

A pause occurs after 5 s in Running. It exits Working into a separate Suspended state and records history for Working's region. Nothing progresses while suspended.


Consider two independent resumptions from this same recorded situation. One resume transition targets the shallow history vertex (HH) in Working's region. The other targets the deep history vertex (H∗H^*) in that region. Neither resume transition has an effect.


For each resumption, give the active leaf state immediately after entry, before any positive time passes, and the delay from resumption until the first completed part. Give exact state names and delays in seconds to the nearest whole second. Unfinished production was discarded when Running was exited.

Your answers

Create a free account to get started

Unlock full course notes by signing up

  • Video lessons taught by top educators
  • Practice questions with guided solutions
  • Written review notes for reference
  • Expert answers anytime from course tutors

More State Diagrams Questions: