Transformation of behavioral models based on compositions of sequence diagrams.? Jacques Klein and Noel Plouzeau Irisa, Campus de Beaulieu, 35042 Rennes, France
This paper shows a behavior composition technique, based on sequence diagrams mergings, that allows a unique, well defined and well controlled result model even in the case of multiple weavings (i.e. weaving more than two fragments). We distinguish the composition of models at a low level of abstraction from the composition at a high level of abstraction. The technique is illustrated by an observer pattern specification. Composing behavioral elements (which can be seen as aspects) at model level may play an important role within both MDA and aspect based software processes. 1 Principles of behavioral models compositions Our models composition comports three steps. First, we introduce a two-level decomposition of UML sequence diagrams: basic sequence diagrams (bSDs), and high-level sequence diagrams (HSDs). The bSDs only allows sendings and receptions of messages, while more elaborated scenarios (with loop, alt, ...) can be depicted using HSDs. This decomposition simplifies weaving and insertion of behavioral aspects. Second, we propose an operator which allows a merging of two bSDs. This operator uses a third bSD (called SD interface) that indicates the overlap between the two operands. In a last step, we present a high-level composition, where the work of the designer will be to specify if a SD have to inserted or woven. 2 Weaving of Observer Pattern The usefulness of a such composition can be showed by the weaving of the well-known Observer Pattern in the scenario of a clock depicted by Figure 1. In this example, we are only interested in the effects of the method incSecond(). As proposed in previous section, we split the scenario of the clock in basic sequence diagrams. Consequently, weaving the observer pattern depicted by the sequence diagram observer in Figure 1 is simply an insertion. Splitting the initial scenario and performing an insertion has the positive effect that the behavioral aspect is still contained in a single sequence diagram after the weaving; therefore the initial scenario will be almost unchanged.
tick
sd clock
generator
clock tick()
generator
clock
loop incrementSecond
ref
sd observer2
sd observer
tick
clock
screen1
clock
screen1
screen2
notify
notify update(clock)
update(subject) update(subject)
clock incSecond()
ref incrementSecond
sd observer1
sd observer
alt
incrementMinute
ref incrementMinute
clock
alt incMinute()
clock
screen2
clock
notify update(subject)
screen1
notify update(subject)
ref incrementHour sd interface
incrementHour clock
clock
incHour()
notify
Fig. 1. Scenario of a clock
Fig. 2. To add an observer
Let us now add a new observer to our model. If we proceed again by insertion of the sequence diagram that defines the observer pattern, we obtain a scenario with two notify messages . This is not the expected behavior. Here, we have to merge SDs. The merge should produce a new behavior that contains both SDs, but does not duplicate their common parts that are identified by the interface. This merging is showed in Figure 2. By recursion, a scenario for any number of observers can be easily obtained with this composition. ? This work has been partially supported by the ARTIST project (IST-2001-34820).
This paper shows a behavior composition technique, based on sequence diagrams mergings, that allows a unique, well defined and well controlled result model even in the case of multiple weavings (i.e. weaving more than two fragments). We distinguish the composition of models at a low level of abstraction from the.
Here, we must show that the algorithm does not return a Failure when a correct patch exists. Suppose, then, that a correct patch BTP exists. This patch corresponds to a set of transitions that are to be blocked, cutting off some of the concrete progr
b-thread) is a tuple ãQ, Σ, â, init, AP, L, R, Bã, where ãQ, Σ, â, init, AP, Lã forms a total labeled transition system, R: Q â 2Σ associates a state with the set of.
Jun 4, 2018 - Elo ratings as they were on 28 march 2018 for the top 5 nations (in this rating) are as follows: Brazil Germany Spain Argentina France. 2131.
recovery of behavioral function is unlikely. In research ... been found to occur during the development of other ca- .... Data are from Gregory AD, Jones TA. 1998.
Jun 19, 2011 - statisticsâhence their nameâand, unlike µn=E[(X âmX)n], all. L-moments retain the ... Most recently, we use numerical routines to obtain âexactâ values of c3 and c4 ..... domain solver Wolfram Alpha [11]. We can use a simila
Sep 24, 2010 - Since the invention of the CCD and digital imaging, digital image processing has ...... Infrared and ultraviolet radiation signature first appears c. .... software can be constantly upgraded and improved to add new features to an.
semantic hypothesis into the correct semantics by applying an ordered list of transformation rules. These rules are learnt auto- matically from a training corpus ...
Human Language Technology Center of Excellence. Center for .... [The company]M1 fabricates [plastic chairs]M2 ... gf â hf . We call efi the substructure em-.
using the TRE library [22]. All the experiments were performed on a 4-core 2.67GHz Intel Core-i7 machine with 12GB of RAM, though we never used more than ...
Aug 15, 2012 - ples that exhibit network activities produce HTTP traffic. 2 .... Figure 1: Overview of our new scalable behavioral malware clustering and network ...... âDistinct IPsâ reports the fraction of distinct source IP addresses that were
Partial transformations of data may be described in the CWM. All of these ..... textual representations of models, and the graphical visualisation of models and.
Aug 28, 2006 - Mathematical models of biochemical networks can look very different. ... step towards the development of predictive models for cells or whole ...
An XML document representing one model in the standard XMI form may be manipulated using ..... after-the-fact without having to modify them directly. Tracking ...
The model performance is discussed based on their accuracy, generality and realism. Accuracy was evaluated .... ment are a wide range of application in space and time. (general); ...... Valentini R (1999) The role of flux monitoring networks in.
Our statistics of interest are the maximum of a random field G, resulting from the .... by a postdoctoral fellowship from the ISM-CRM, Montreal, Quebec, Canada. 1.
when people are likened to animals, to being wholly constituted by the metaphor for all intents and purposes (e.g. a layperson's understanding of the. Big Bang).
ing data by using a knowledge base of relational tuples as ... NIL label that accounts for the noise in the training data. ... express the relation of the fact tuple.
Sep 2, 2002 - http://www.jstor.org/journals/ucpress.html. The Journal of ..... social optimum because of the monopoly markup over marginal cost in the sale of ...
3. (. . .) The use of coherently developed content sources allows students to ... paradigm has proved to be a valid approach for language teaching at all stages of .... around the selected topics in a meaningful, coherent and interwoven manner.
essential for successful management. Although ... from such models should allow managers to more ef- ... weather data from the National Climate Data Center,.
more conservative as the correlation in tests increases, which a limitation for typical brain imaging data. Indeed,. *The first author's work was supported by a ...