Closed GoogleCodeExporter closed 8 years ago
The semantics of actions and control nodes differ in handling tokens as defined
by the fUML standard. The semantics of actions is to consume and produce
tokens. On the other hand, the semantics of control nodes is to only route
tokens to actions. Thus, control nodes do not produce tokens on their own. The
exception is a fork node as it shall “fork” a token to multiple parallel
paths. It thus cannot simple provide an incoming token to all outgoing edges,
but instead provides a forked token pointing to the original incoming token as
“base token”. I have to admit that the “base token” reference is not
absolutely necessary if we only consider control flows. However, in the case of
object flows, it is essential because an object token carries data that may be
provided to multiple actions using fork nodes. In this case, the produced
forked token referrers to the data carrying object token and via this
reference, actions may access the data to be processed. While we do not
consider object flows in this TTC case, we nevertheless decided to leave the
semantics of fork nodes and fork tokens as defined by fUML.
Original comment by tanjaema...@gmail.com
on 21 Apr 2015 at 9:17
Ok, thanks for the clarifications.
Original comment by tsd...@gmail.com
on 21 Apr 2015 at 9:33
Original issue reported on code.google.com by
tsd...@gmail.com
on 20 Apr 2015 at 11:10