UML has the concept of opt combined fragments, which are semantically equivalent to alt combined fragments (#14) with only one non-empty operand. I suspect that the two can be given the same metamodel and textual syntax, but possibly distinguished in the graphical syntax.
One issue might be when we add probability/nondeterminism: PTPSC only has an equivalent of opt with probabilities, not alt, and it might be that there's a good reason for this.
UML has the concept of
opt
combined fragments, which are semantically equivalent toalt
combined fragments (#14) with only one non-empty operand. I suspect that the two can be given the same metamodel and textual syntax, but possibly distinguished in the graphical syntax.One issue might be when we add probability/nondeterminism: PTPSC only has an equivalent of
opt
with probabilities, notalt
, and it might be that there's a good reason for this.