23.08.2013 Views

Specification of Reactive Hardware/Software Systems - Electronic ...

Specification of Reactive Hardware/Software Systems - Electronic ...

Specification of Reactive Hardware/Software Systems - Electronic ...

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

10.5 Example: The Elevator Problem 319<br />

Transformation 15<br />

e<br />

<br />

envs¥ p BSpec ¥ Sys<br />

¥ Sys<br />

<br />

e BSpec ¡ ¥ envs¥ p Sys ¡ ¥ Sys<br />

¢<br />

¡<br />

if BSpece and ¡ Sysp are derived from ¡ BSpece respectively Sysp by replacing every occurrence <strong>of</strong><br />

some class name Cpc by some different class name which is not used in Sysp ¨ .<br />

According to 15 it is allowed to replace the name <strong>of</strong> any process or cluster class by a<br />

new and fresh name. Replacing the name <strong>of</strong> a class involves the replacement <strong>of</strong> every<br />

occurrence <strong>of</strong> this class name.<br />

10.5 Example: The Elevator Problem<br />

In [Voe] we have applied the 15 basic behaviour-preserving transformations to a POOSL<br />

specification <strong>of</strong> the Elevator Problem as defined in [You89]. In this section we will show<br />

the result <strong>of</strong> this transformation exercise.<br />

Figure 10.1 presents an Instance Structure Diagram <strong>of</strong> the elevator specification. It<br />

visualises an elevator control system (instance) as well as the collaborating instances<br />

from which this system is constituted. These instances are represented by rounded<br />

rectangles. The environment <strong>of</strong> the elevator control system consists <strong>of</strong> a number <strong>of</strong><br />

terminator instances which are represented by hexagons. All instances communicate by<br />

exchanging messages over static logical channels. The structure <strong>of</strong> the Instance Structure<br />

Diagram basically follows the problem description as stated in [You89].

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!