Unified Modeling Language Reference Manual, The, Second Edition
by James Rumbaugh, Ivar Jacobson, Grady Booch
decision node
A control node in an activity that passes control and data to one of several outputs.
See also branch, merge.
Semantics
A decision node has one input and two or more outputs. The input value is used to evaluate guard conditions on each of the outputs. If a guard condition evaluates true, the corresponding output is eligible for selection. Exactly one eligible output is chosen to receive a copy of the input value. If more than one guard condition evaluates true, the choice of output is nondeterministic. If no guard condition is true, the model is ill formed.
One of the guard conditions may have the special condition else. An output with an else condition is selected if no other condition is true.
A decision input behavior may be ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access