Download A Rewriting Logic Semantics for ATL
Transcript
A Rewriting Logic Semantics for ATL · 19 Figure 9 – In-place behavior: navigability on the target model. In order to illustrate this difference, let us go back to the Public2Private transformation and imagine that we add another matched rule that changes all private Properties, capitalizing the first letter of their names. Let us call this rule Private2Capital. If ATL worked in a pure in-place manner (i.e., navigating the target model), the transformation would change the names of all properties: all of them will end up being private and with the first letter of their names in capitals (see the example shown in Fig. 9). However, the ATL refining mode navigates the source model. This means that, at the end of the execution of the Public2Private transformation, only those properties that were originally private in the source model will have their names capitalized, while the original public properties in the model will be transformed into private properties but their names will not be changed (see Fig. 10). 5 Simulation and Formal Analysis Once the ATL model transformation specifications are encoded in Maude, what we get is a rewriting logic specification for it. Maude offers tool support for interesting possibilities such as model simulation, reachability analysis and model checking [CDE+ 07]. Journal of Object Technology, vol. 10, 2011