Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.


  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Chapter 9. Modeling Flow-Based Behavior ... > 9.8 Structuring Activities

9.8 Structuring Activities

There are various ways in which the actions in an activity can be grouped together to obtain specific execution semantics. Interruptible regions allow the execution of a set of nodes to be interrupted. Structured activity nodes provide an alternate mechanism to activities for executing a set of actions with common inputs and outputs as a single group.

9.8.1 Interruptible Regions

All the action executions within an execution of an activity are terminated when the activity is terminated. However, there are some circumstances when the modeler wants a subset of the action executions to be terminated but not all.

An interruptible region can be used to model this situation. An interruptible region groups a subset of actions within an activity and includes a mechanism for interrupting execution of those actions, called an interrupting edge, whose source is a node inside the interruptible region and whose destination is a node outside it. Both control and object flows can be designated as interrupting edges. Normal (i.e., non-interrupting) flows may have a destination outside the region as well; tokens sent on these flows do not interrupt the execution of the region.


  

You are currently reading a PREVIEW of this book.

                                                                                                                    

Get instant access to over $1 million worth of books and videos.

  

Start a Free 10-Day Trial


  
  • Safari Books Online
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint