Prev | Current Page 380 | Next

Tim Weilkiens

"Systems Engineering with SysML/UML: Modeling, Analysis, Design"

Otherwise, it wouldn ??™ t be a termination, but
a real new state??”the fi nal state. A terminate state is denoted as a cross without
enclosing circle or rectangle ( Figure 3.66 ).
Fork and join are similar to the elements of the same names from the activity
diagram. A fork has one incoming transition and several outgoing transitions that
lead to different states, positioned orthogonally to one another. This means that all
target states are activated. The outgoing transitions may have neither conditions
nor triggers ( Figure 3.67 ).
FIGURE 3-66
A state machine with termination.
stm Time of day
Day Night
at(sunset)/sleep()
at(sunrise)/getUp()
terminate
FIGURE 3.67
Example for fork and join.
stm Weather
Climate
Night
at(sunset)
at(sunrise)
terminate
Day
warm cold
coldFront
warmFront
terminate
rainy dry
Sun
Clouds
terminate
203
In contrast, a join has several incoming transitions, which originate from states
that are positioned orthogonally to one another, and one outgoing transition
( Figure 3.67 ).
Both elements are denoted as fi lled bars.


Pages:
368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392
perfumy fm Stal rezerwacja hoteli pomiary wiatru Nike Buty Męskie Air Flex Trainer Lea