July 2004
Intermediate to advanced
752 pages
35h 59m
English
A structured activity node that executes repeatedly while a condition evaluates true. This entry discusses loops in activity models. See also loop for loops in interaction models.
In an activity model, a loop node is a kind of structured control node. It has three parts that are each smaller activity model fragments:
| setup | A fragment that computes initial values for loop variables before the first execution of the body. |
| test | A fragment that evaluates a condition for performing another iteration of the loop before the first execution of the body (optionally) and before each subsequent execution. This fragment should not produce side effects. One Boolean value in the test subactivity is designated as the test result. The loop node ... |
Read now
Unlock full access