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
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
Показать
Комментарии отсутствуют
Информация о видео
Другие видео канала
![Sequence Diagram as Interaction Scenario](https://i.ytimg.com/vi/C8lk5gRnXyo/default.jpg)
![Relating And Simulating Multiple State Machines Together in SysML](https://i.ytimg.com/vi/MlY_8uHIxx0/default.jpg)
![How to Make a UML Sequence Diagram](https://i.ytimg.com/vi/pCK6prSq8aw/default.jpg)
![How to make System sequence diagram with example](https://i.ytimg.com/vi/3VX3QpUuvfs/default.jpg)
![Sequence Diagram #1 Using Enterprise Architect 12 Tutorial](https://i.ytimg.com/vi/buySA-Ya96U/default.jpg)
![10.08_Fragments - Loops](https://i.ytimg.com/vi/PQn-jcPJIfc/default.jpg)
![Problem-Solving Techniques #11: Use Cases](https://i.ytimg.com/vi/quS39HW_bVg/default.jpg)
![sequence and collaboration diagram | uml interaction diagrams |](https://i.ytimg.com/vi/Wk3SoUoGT-c/default.jpg)
![Sequence Diagram - Step by Step Guide with Example](https://i.ytimg.com/vi/_Mzi1rYtI5U/default.jpg)
![Sequence diagram using Enterprise Architect](https://i.ytimg.com/vi/xv7ggAg4X4U/default.jpg)
![UML Sequence Diagram Tutorial | Easy to Understand with Examples](https://i.ytimg.com/vi/gzKe7yt8qEo/default.jpg)
![Aircraft Radar Display SysML MagicGrid Sample with Simulation and Analysis](https://i.ytimg.com/vi/JtWZQM-yamk/default.jpg)
![5 Steps to Draw a Sequence Diagram](https://i.ytimg.com/vi/18_kVlQMavE/default.jpg)
![Activity Diagram - Step by Step Guide with Example](https://i.ytimg.com/vi/knM8BGY9yVI/default.jpg)
![UML 2 Sequence Diagrams](https://i.ytimg.com/vi/cxG-qWthxt4/default.jpg)
![UML Class Diagrams - Behaviour and Methods](https://i.ytimg.com/vi/0sPyr50nmJI/default.jpg)
![SE370: Lesson 2 Sequence Diagram Example](https://i.ytimg.com/vi/0lSrPjhFLHs/default.jpg)
![How to make Sequence diagram with example](https://i.ytimg.com/vi/zkBHFfNmoOU/default.jpg)
![Sequence Diagram for Online Shopping](https://i.ytimg.com/vi/wbgrY-g2YyQ/default.jpg)
![Creating Sequence Diagrams Using Visual Paradigm Tool (Part 1)](https://i.ytimg.com/vi/kS6LbUHs5GU/default.jpg)