11.6 State Hierarchies
Just as state machines can have regions, so can states; such states are called composite or hierarchical states. These allow state machines to scale to represent arbitrarily complex state-based behaviors. This section discusses composite states with single and multiple regions, and also the reuse of an existing state machine to describe the behavior of a state.
11.6.1 Composite State with a Single Region
Arguably the most common situation is a composite state that has a single region. A state nested within a region can only be active when the state enclosing the region is active. Thus, the switch position analogy described in Section 11.3.2 can apply to nested states by requiring that the switch position corresponding ...
Get A Practical Guide to SysML, 2nd Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.