Smith’s Aerospace © P. Bailey & K. Vander Linden, 2005 Procedural Activity Patrick Bailey Keith Vander Linden Calvin College.

Slides:



Advertisements
Similar presentations
1 CIS224 Software Projects: Software Engineering and Research Methods Lecture 6 State Machine and Activity Diagrams (Based on Stevens and Pooley (2006,
Advertisements

State Charts Mehran Najafi. Reactive Systems A reactive, event-driven, object is one whose behavior is best characterized by its response to events dispatched.
Karolina Muszyńska Based on: S. Wrycza, B. Marcinkowski, K. Wyrzykowski „Język UML 2.0 w modelowaniu SI”
UML State chart/machine diagram State machine diagram is a behavior diagram which shows discrete behavior of a part of designed system through finite state.
Budapesti Műszaki és Gazdaságtudományi Egyetem Méréstechnika és Információs Rendszerek Tanszék Model Transformation Lab From UML Activities to Petri nets.
Activity Diagrams in UML. Definition Activity diagrams represent the dynamics of the system. They are flow charts that are used to show the workflow of.
Software Design Process A Process is a set of related and (sequenced) tasks that transforms a set of input to a set of output. Inputs Outputs Design Process.
A Brief Introduction. Acknowledgements  The material in this tutorial is based in part on: Concurrency: State Models & Java Programming, by Jeff Magee.
Information System Design IT60105
Software Requirements Engineering
® IBM Software Group © 2006 IBM Corporation Rational Software France Object-Oriented Analysis and Design with UML2 and Rational Software Modeler 04. Other.
1 Chapter 4 Dynamic Modeling and Analysis (Part I) Object-Oriented Technology From Diagram to Code with Visual Paradigm for UML Curtis H.K. Tsang, Clarence.
7M701 1 Activity Diagram. 7M701 2 Example 7M701 3 Activity Diagram: what is it? Describes activities and flows of data or decisions between activities.
Activity Diagrams [Arlow and Neustadt, 2005] CS 425 / 625 Seminar on Software Engineering University of Nevada, Reno Department of Computer Science & Engineering.
UML Activity Diagrams In UML an activity diagram is used to display the sequence of actions They show the workflow from start to finish Detail the many.
L06-2-S1 Activity Diagrams 2003 SJSU -- CmpE Software Engineering II Dr. M.E. Fayad, Professor Computer Engineering Department, Room #283I College of Engineering.
1 CS 426 Senior Projects Chapter 14: Activity Diagrams [Arlow and Neustadt, 2005] February 17, 2009.
7M822 UML Activity Diagrams 6 October 2008.
1 © Wolfgang Pelz UML2 UML Part 3. 2 © Wolfgang Pelz UML2 Chapter Ten State Machine Diagrams.
1999 – 2006 M.E. Fayad SJSU -- CmpE Software Engineering Management Dr. M.E. Fayad, Professor Computer Engineering Department, Room #283I College of Engineering.
SE-565 Software System Requirements More UML Diagrams.
© 2008 IBM Corporation Behavioral Models for Software Development Andrei Kirshin, Dolev Dotan, Alan Hartman January 2008.
Software Design Processes and Management
Karolina Muszyńska Based on: S. Wrycza, B. Marcinkowski, K. Wyrzykowski „Język UML 2.0 w modelowaniu SI”
Software Engineering EKT 420. What is Activity Diagram Activity diagrams are graphical representations of workflows of stepwise activities and actions.
Smith’s Aerospace © P. Bailey & K. Vander Linden, 2005 Architecture: Component and Deployment Diagrams Patrick Bailey Keith Vander Linden Calvin College.
Chapter 8: Modelling Interactions and Behaviour UML Activity Diagram
UML A CTIVITY D IAGRAMS 1 Dr. Hoang Huu Hanh, OST – Hue University hanh-at-hueuni.edu.vn.
SOFTWARE DESIGN AND ARCHITECTURE LECTURE 21. Review ANALYSIS PHASE (OBJECT ORIENTED DESIGN) Functional Modeling – Use case Diagram Description.
Smith’s Aerospace © P. Bailey & K. Vander Linden, 2006 The Unified Modeling Language Patrick Bailey Keith Vander Linden Calvin College.
1 Interaction diagrams and activity diagrams Speaker: 陳 奕 全 Real-time and Embedded System Lab 15 August 2002.
Valdis Vitolins, Audris Kalnins, EDOC 2005 Semantics of UML 2.0 Activity Diagram for Business Modeling by Means of Virtual Machine.
Interaction Models (2): Sequence Diagrams Extracted from textbook: Object Oriented Modeling and Design with UML M. Blaha, J. Rumbaugh 1.
Conceptual Modelling – Behaviour
1 Devon M. Simmonds University of North Carolina, Wilmington CSC450 Software Engineering WorkFlow Modeling with Activity Diagrams.
Business Informatics Group Institute of Software Technology and Interactive Systems Vienna University of Technology Favoritenstraße 9-11/188-3, 1040 Vienna,
February 20, 2012  Present Fayad KSU – SWE Process and Modeling Software Process and Modeling Dr. M.E. Fayad, Professor Software Engineering Department,
Web Services Flow Language Guoqiang Wang Oct 7, 2002.
Activity diagrams. Introduction ● Activity diagrams are a behavioural model that represent the dynamics of the system. ● An activity diagram is essentially.
Smith’s Aerospace © P. Bailey & K. Vander Linden, 2005 Interaction and Communication Diagrams Patrick Bailey Keith Vander Linden Calvin College.
© 2007 Pearson Education, Inc. Publishing as Pearson Addison-Wesley 1 UML Activity Diagrams.
Chapter 11 Activity Diagrams. 2 “Activity diagrams are a technique to describe procedural logic, business processes, and work flows” - M. Fowler An activity.
CS212: Object Oriented Analysis and Design Lecture 34: UML Activity and Collaboration diagram.
Smith’s Aerospace © P. Bailey & K. Vander Linden, 2006 State Behavior Patrick Bailey Keith Vander Linden Calvin College.
Chapter 14: Activity Diagrams November 2015 [Arlow and Neustadt, 2005] CS 425/625 Senior Projects University of Nevada, Reno Department of Computer Science.
UML Activity Diagrams.
 Activity diagram is basically a flow chart to represent the flow from one activity to another activity.
UML ACTIVITY DIAGRAM 1. Recap Formal Use Case diagram UML notation for use cases Examples 2.
Activity Diagrams. Notation Activity1()cActivity2() 1. Activities 2. Transition.
Smith’s Aerospace © P. Bailey & K. Vander Linden, 2005 Discussion UML/Rhapsody’s Patrick Bailey Keith Vander Linden Calvin College.
Smith’s Aerospace © P. Bailey & K. Vander Linden, 2006 Classes and Objects Patrick Bailey Keith Vander Linden Calvin College.
Cliquez pour modifier le style du titre Cliquez pour modifier les styles du texte du masque Deuxième niveau Troisième niveau Quatrième niveau Cinquième.
© 2007 Pearson Education, Inc. Publishing as Pearson Addison-Wesley 1 UML Activity Diagrams.
Activity Diagram.
UML Chapter 17.
UML StateChart Diagrams
Analysis Classes Unit 5.
ACTIVITY DIAGRAMS 《UML面向对象建模基础》.
Activity Diagram.
State Machine Diagrams
Chapter 8: Modelling Interactions and Behaviour UML Activity Diagram
UML Activity Diagrams.
UML Activity Diagrams & State Charts
Process Modeling: Activity/Swimlane Diagrams
Chapter 14: Activity Diagrams
Activity Diagrams.
Dynamic Modeling Lecture # 37.
Chapter 14: Activity Diagrams
Chapter 14: Activity Diagrams
Object-Oriented Analysis & Design
Presentation transcript:

Smith’s Aerospace © P. Bailey & K. Vander Linden, 2005 Procedural Activity Patrick Bailey Keith Vander Linden Calvin College

Smith’s Aerospace © P. Bailey & K. Vander Linden, Procedural Activity ● Systems display procedural activity: – Business work-flow – Data flow – Task behavior – Concurrent processes ● Potential modeling solutions: – Flow charts – State diagrams – Activity diagrams

Smith’s Aerospace © P. Bailey & K. Vander Linden, Activity Diagrams ● Activity diagrams model activities as: – Actions – Transitions With additional features for decisions, forks, joins, etc. ● They use many of the same elements provided for state diagrams. Example adapted from Fowler, 2004

Smith’s Aerospace © P. Bailey & K. Vander Linden, Outline ● History History ● Activity Diagrams Activity Diagrams ● Examples Examples ● Using Activity Diagrams Using Activity Diagrams

Smith’s Aerospace © P. Bailey & K. Vander Linden, ● 1962 ● Extended state machines with token flow to represent concurrency ● UML 2.0 activity diagrams use token flow and a similar structure. Carl Adam Petri (1926- ) Petri-Nets Images from August, 2005 Petri Net for 4 dining philosophers.

Smith’s Aerospace © P. Bailey & K. Vander Linden, Actions ● Actions represent an encapsulated unit of activity. ● They must have at least one incoming and one outgoing transition. ● Actions can be implemented as: – Class methods – Code fragments – Sub-activities

Smith’s Aerospace © P. Bailey & K. Vander Linden, Action Decomposition Actions can be decomposed.

Smith’s Aerospace © P. Bailey & K. Vander Linden, Signals Actions can respond to and produce external signals: – Time signals – Other signals

Smith’s Aerospace © P. Bailey & K. Vander Linden, Transitions ● Transitions (aka. flows, edges) are like state diagram transitions except that they are not event- driven by default. ● Behavior: – They transition in when all incoming transitions join. – They transition out when their action is complete. ● Use connecters as a shorthand.

Smith’s Aerospace © P. Bailey & K. Vander Linden, Data Flow ● Transitions can carry parameter objects. ● You can use pins to specify them.

Smith’s Aerospace © P. Bailey & K. Vander Linden, Connectors Connectors come in various forms: – Decision connectors – Junction connectors Example adapted from Fowler, 2004

Smith’s Aerospace © P. Bailey & K. Vander Linden, Synchronization Bars ● Concurrency is modeled with token flow in activity diagrams. ● Tokens are: – Created at initial nodes – Passed from action to action during activities – Spawned at fork nodes – Joined a join nodes – Consumed at final nodes ● The token flow must be “balanced”. Example adapted from Fowler, 2004

Smith’s Aerospace © P. Bailey & K. Vander Linden, Termination States Termination states represent either local or global termination, depending upon context. − Activity Final − Flow Final

Smith’s Aerospace © P. Bailey & K. Vander Linden, Partitions ● Activity diagrams don’t naturally specify agency. ● Use partitions (aka. swim lanes) to do this. Example adapted from Fowler, 2004

Smith’s Aerospace © P. Bailey & K. Vander Linden, Example: Parallel Algorithm Example from Douglass, Real Time UML, 2004

Smith’s Aerospace © P. Bailey & K. Vander Linden, Example: HCI

Smith’s Aerospace © P. Bailey & K. Vander Linden, Using Activity Diagrams ● Activity diagrams can represent: – Concurrency – Inter-object procedural sequences ● They can be used to specify process for: – State activities (entry, exit, transition, do) – Use cases – Classes ● Real-time modeling uses them primarily for concurrent algorithm specification.