• Keine Ergebnisse gefunden

• The meaning of an interaction is

N/A
N/A
Protected

Academic year: 2022

Aktie "• The meaning of an interaction is "

Copied!
7
0
0

Wird geladen.... (Jetzt Volltext ansehen)

Volltext

(1)

Main concepts (metamodel)

(2)

Modelling with UML, with semantics 157

Semantics

• The meaning of an interaction is

a set of valid traces, plus

a set of invalid traces.

• Traces are made up of occurrences of events such as

sending/receiving a message,

instantiating/terminating an object, or

time/state change events.

• Two types of constraints determine the valid traces:

1) send occurs before receive, 2) order on lifelines is definite.

ba c

de f

This diagram contains the following seven constraints:

1) a→d, e→b, f→c

2) a→b, b→c, d→e, e→f The set of resulting traces is:

{ a.d.e.b.f.c, a.d.e.f.b.c }.

(3)

Interaction operators seq & strict

seq

compose two interactions sequentially lifeline-wise (default!)

strict

compose two interactions sequentially diagram-wise

(4)

Modelling with UML, with semantics 159

Interaction operator loop

loop

repeated application of seq

loop(P, min, max) = seq(P, loop(P, min-1, max-1)) loop(P, 0, max) = seq(opt(P), loop(P, 0, max-1)) loop(P, *) = seq(opt(P), loop(P, *))

for some interaction fragment P

(5)

Interaction operators: interleaving

par

shuffle arguments

region

execute argument atomically, i.e. disallow interleaving

(6)

Modelling with UML, with semantics 161

Interaction operators alt, opt, brk: choice

alt

alternative complete execution of one of two interaction fragments

opt

optional complete execution of interaction fragment:

opt(P) = alt(P, nop)

break

execute interaction fragment partially, skip rest, and jump to surrounding fragment

(7)

Interaction operators: abstraction

ignore, consider

dual way of expressing:

allow the ignorable messages (!) anywhere

present only those messages that are to be considered

ignore(P,Z) = shuffle(P, Z*)

Referenzen

ÄHNLICHE DOKUMENTE

• execute interaction fragment partially, skip rest, and jump to

лой, невропсихическими дефектами, большей невротичностью, худшими социальными качествами и худшими оценками их работы руководителями. Эти заключения в

It could be shown that the extreme N-terminus of the dynein intermediate chain (IC) and the first coiled-coil of the dynactin subunit DCTN1 are involved in the interaction (Morgan

The photoprobes covering established (for Munc13-1 and ubMunc13-2) and newly proposed (for bMunc13-2 and Munc13-3) CaM binding sites were used in PAL experiments and mass

Using Blended Interaction’s four domains of design, we analyzed le- gal working practices to implement a sys- tem which supports legal work by aug- menting physical sources

which unifies various device toolkits and frameworks in a common library and provides an integrated user interface for visual dataflow management as well as device and data

The impact parameter analysis with the effective pseudopotential model taking into account the nonideal collective and plasma screening effects is applied to obtain the

This loss could in principle be due to fluctuating electric field gradients originating from movements of nearest neighbour HF adducts and/or H 2 O molecules after nuclear