With
behaviour hierarchies based on master-slave relationships | ||||
MODES
and MASTER-SLAVE Hierarchies PROCESS Door
The two modes timedOpening and immediateClosing define two different behaviours of the Door process. For a more complex example see Examples - Master and Slave. The generic master-slave pattern consists of a master process which can induce mode changes in a slave process: At run time the active mode of a slave process is determined by the current state of its master; an induced mode change due to a master state transition does not alter the state of the slave. The state dependency of the modes is specified by a corresponding mode setting table, in which to every master state a slave mode is associated. The hierarchical master-slave structure of a cluster is defined by an acyclic master-slave graph. In general a master can have several slaves, and a slave can be governed by several masters (multi-dimensional mode setting table).
Benefit of Master-Slave
Hierarchies A main benefit of master-slave hierarchies is comprehensibility. This is due to the abstraction power of master-slave relations. Upcoming changes in the specifications can be handled far easier in the robust structure of master-slave models. Furthermore, the correspondences to the underlying problem structure will facilitate the maintenance and reuse of system parts. |