Загрузка страницы

Sequence Diagram Combined Fragment Simulation: Loops, Alternatives, and Optional Paths

In this video we demonstrate how to model and simulate loops, alternatives and optional path in sequence diagram using combined fragments.
Cameo Simulation Toolkit supports three major Interaction operators: Alternative (alt), Option (opt), and Loop (loop). Combined fragments with various Interaction operators are also supported (e.g., alt inside loop, opt inside loop, loop inside alt, etc.).
Alternative (alt)

The Interaction operator alt signifies that the combined fragment represents a choice of Behavior. Only one of the operands will be chosen. The chosen operand must have an explicit or implicit Guard expression evaluated as true at a particular point in the Interaction. An implicit ‘true’ Guard is applied if the operand has no Guard.

An operand guarded by else means a Guard that is the negation of the dis-junction of all other Guards. If none of the operands has a Guard evaluated true, none of the operands are executed, and the remainder of the enclosing Interaction fragment is executed.
Option (opt)

The Interaction operator opt signifies that the combined fragment represents a choice of Behavior where either the (sole) operand happens or nothing happens. An option is semantically equivalent to an alternative combined fragment where there is one operand with non-empty content, and the second operand is empty. An implicit ‘true’ Guard is applied if the operand has no Guard.
Loop (loop)

The Interaction operator loop signifies that the combined fragment represents a loop. The loop operand will be repeated a number of times. Only an Interaction constraint (not iteration bounds), a Boolean expression shown in square brackets that guards an operand in a combined fragment, is supported.

Видео Sequence Diagram Combined Fragment Simulation: Loops, Alternatives, and Optional Paths канала MBSE Execution
Показать
Комментарии отсутствуют
Введите заголовок:

Введите адрес ссылки:

Введите адрес видео с YouTube:

Зарегистрируйтесь или войдите с
Информация о видео
24 сентября 2020 г. 0:00:58
00:05:32
Яндекс.Метрика