• Dynamic aspects of a system • Describe • parallel processing • workflows • Show flow from activity to activity • Activity conceptual: task to be done specification/implementation: method
Activity
[condition 1]
[condition 2]
Activity
Activity
[synchronization condition]
Activity
UML-Activity Diagrams 2
Example activity diagram
Put coffee in filter
Add water to reservoir
Put filter in machine
Turn on machine
UML-Activity Diagrams 3
Activity
Activity Diagram • To describe a complicated method • To describe a use case
UML-Activity Diagrams 4
Activity diagram for Use Cases • When we receive an order, we check each line item of the order to see if we have the goods in stock. If we do, we assign the goods to the order. If this assignment sends the quantity of goods in stock below the reorder level, we reorder the goods. While we are doing this, we check to see if the payment is OK. If the payment is OK and we have the goods in stock, we dispatch the order. If the payment is Ok but we do not have the goods, we leave the order waiting, if the payment is not OK, we cancel the order.
UML-Activity Diagrams 5
And-split
And_join
UML-Activity Diagrams 6
• When a supply delivery comes in, we look at the outstanding orders and decide which ones we can fill from this incoming supply. We then assign each of these to its appropriate orders. Doing this may release those orders for dispatching. We put the remaining goods in stock.
UML-Activity Diagrams 7
UML-Activity Diagrams 8
UML-Activity Diagrams 9
UML-Activity Diagrams 10
UML-Activity Diagrams 11
Conditions
[condition 1]
[condition 2]
[condition 1]
[condition 1]
[condition 2]
[else]
UML-Activity Diagrams 12
[condition 2]
Good structuring: well balanced operators
…………… ……………
AND-join
AND-split
.………..… ………….… OR-join
Explicit OR-split
UML-Activity Diagrams
Le joueur joue et tombe sur une rue
l a n cé l e s d é s
d i a g ra m m e a cti vi té p a ye r
d é p l a ce m e n t
non
ru e l i b re ?
Ca s e a rri vé e
oui
non
a ch e te r ru e ?
d i a g ra m m e a cti vi té a j o u t p o s s e s s i o n
oui
UML-Activity Diagrams 14
l a nce r_ d é s
[dé1dé2]
[dé1=dé2] /nb_doubles++
s e _ d é p l a c e r ( to ta l _ d é ) [cas e=départ] ti re r _ c h a n c e
[cas e=chance]
re c e vo i r_ s a l a i re
[cas e=aller_pris on]
[cas e=com m unauté]
a l l e r _ p ri s o n
ti r e r _ c o m [cas e=terrain et propriétaire(0,num _joueur)]
[cas e=parc_gratuit]
p a ye r _ l o ye r b é n é fi c i e r
[cas e=impôts / taxes] p a ye r
[nb_doubles =1 ou 2] [nb_doubles =3]
[nb_doubles =0]
a l le r_ e n _ pri s o n
UML-Activity Diagrams 15
a van cer
l a nce r d és
[terrain vendu]
[le terrain ne m'appartient pas]
a rre t ca s e terrai n [le terrain m'appartient]
[terrain non vendu]
p a ye r l oye r [pas interressé pour acheter] [interressé pour acheter]
a che te r te rra i n s
UML-Activity Diagrams 16
jo u e u r c o u r a n t
jo u e u r li b r e
jo u e u r e m p riso n n é
jo u e r c la s s e p r is o n acheter m a is o n s
vendre m a is o n s
la n c e r le s d é s
in c r é m e n t e r n b d o u b le s
d o u b le n o n d o u b le so r t d e p riso n
r e s te e n p r is o n
n b d o u b le < 3
n b d o u b le s = 3 n o u ve lle c a s e c a se p riso n c ase c hanc e
e m p r is o n n e r
carte chance
c a se C a isse d e C o m m u n a u té P r o p r ié t é
e. ât) where q is the initial quantity of the injected drug. 1. (a) Find the derivative of f. (b) Determine where f creases and where f decreases. (c) Find the absolute ...
Aug 21, 2011 - about in class. It depends on the weather but it could be football, volleyball, tennis, arts and crafts, drama, table tennis, basketball or swimming.
No State submitted a report at the 15th session. 9. ... French and French inspired Law and the Development of Lawâ on 13 May ..... 238 61 2137 (Residence).
crease the binding of nuclear proteins to the NF- B site. These data suggest that ... the downstream portion of the iNOS 5-flanking sequence. ( 85GGGACTCTCC .... to IL-1Ã stimulation. Localization of IL-1Ã-responsive Elements within the iNOS.
aux passagers et protéger les systèmes d'information. L'offre d'Alstom ... embarquée, Alstom améliore l'efficacité de ses systèmes ferroviaires sur ..... et le renforcement de nos expertises juridiques en raison de l'inflation réglementaire mondiale.
Just as tourists in the capital of France now look forward to seeing la ... French Numbers ... moon through a telescope that made it look like it was only forty-six.
The water activity (aw) concept has served the microbiologist and food technologist ... solutes, usually sugars or sodium ... Hurdle technology improves food preservation. ... new hurdles such as gas packaging, .... water-soluble components).
opérateurs du secteur ont anticipé cette contrainte et ont su la transformer en opportunité en utilisant le modèle ABC recommandé par l'ARJEL à des fins de.
Sahin (2009) have shown on the grounds of electrophysiological data that language production involves neural activity corresponding to distinct cognitive ...
Cheaters Eric Jerome Dickey, Choosing Church, Christian In Complete Armour Volume 1 William. Gurnall, Chrysler Factory Repair Manuals, and many other ...
b) Why is each year in the Chinese calendar named after an animal? c) Find out two personality characteristics for each Chinese sign (e.g. horse: intelligent,.
Castle Hill, NSW, 2154 Australia. Kids II US Mexico S.A. de C.V.. Ave. ... Operation is subject to the following two conditions: 1. this device may not cause harmful ...
âOh! No mortal could support the horror of that countenance. ... Establish a debating point together before beginning: e.g. âScientists should ... An extract from Frankenstein by Mary Shelley, Volume II, Chapter VII. ... My voice, although ... Bu
model helps to understand how teachers connect potentialities of a .... constructions, both to identify relationships which remain invariant and to .... He said he would have needed worksheets to strictly guide students. ... two sides. Note that only
Jan 13, 2000 - ... error signals. (red curve) and that reflecting the acquired internal model (cyan curve)). ..... presented on a dark background. The x and y ...
Dec 21, 2000 - observe changes in regional cerebral blood flow ... type of motor involvement appears strongly depen- dent on ... sistent with the view that mental rotation is not con- ... This finding supports the view that the parietal region is ...
mechanisms have been first identified in Drosophila and Caenorhabditis elegans, this review will primarily describe the role of these genes in the context of fly.