Chapter - 6 Advanced State Modeling

Slides:



Advertisements
Similar presentations
© 2005 by Prentice Hall Appendix 3 Object-Oriented Analysis and Design Modern Systems Analysis and Design Fourth Edition Jeffrey A. Hoffer Joey F. George.
Advertisements

1 CIS224 Software Projects: Software Engineering and Research Methods Lecture 6 State Machine and Activity Diagrams (Based on Stevens and Pooley (2006,
State Charts Mehran Najafi. Reactive Systems A reactive, event-driven, object is one whose behavior is best characterized by its response to events dispatched.
Nested state diagrams:Problems with flat state diagram
Behavioral Modeling: State Diagrams CIS 4800 Kannan Mohan Department of CIS Zicklin School of Business, Baruch College Copyright © 2009 John Wiley & Sons,
State Transition Diagrams Chapter 13
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.
©Ian Sommerville 2000 Software Engineering, 6th edition. Chapter 12Slide 1 Software Design l Objectives To explain how a software design may be represented.
CS 290C: Formal Models for Web Software Lecture 4: Implementing and Verifying Statecharts Specifications Using the Spin Model Checker Instructor: Tevfik.
© 2006 ITT Educational Services Inc. SE350 System Analysis for Software Engineers: Unit 9 Slide 1 Appendix 3 Object-Oriented Analysis and Design.
CPSC-608 Database Systems Fall 2009 Instructor: Jianer Chen Office: HRBB 309B Phone: Notes #2.
7M701 1 Class Diagram advanced concepts. 7M701 2 Characteristics of Object Oriented Design (OOD) objectData and operations (functions) are combined 
1 CS 691z/791z Topics in Software Engineering Chapter 20: Advanced Statechart Modeling [Arlow and Neustadt, 2002] March 8, 2007.
1 CS/CPE 426 Senior Projects Chapter 21: State Machines Chapter 22:Advanced State Machines [Arlow and Neustadt 2005] March 24, 2009.
Advanced Behavioral Modeling
Detailed Object-Oriented Requirements Definitions
CPSC-608 Database Systems Fall 2011 Instructor: Jianer Chen Office: HRBB 315C Phone: Notes 1.
Unified Modeling Language
The Unified Modeling Language (UML) Class Diagrams.
Data Modeling Using the Entity-Relationship Model
Design Patterns Discussion of pages: xi-11 Sections: Preface, Forward, Chapter
Lecture 4 Finite State Machine CS6133 Software Specification and Verification.
מידול התנהגותי 1. Today’s Session Sequence Diagrams State Machines 2.
UML Notations in CommonKADS Activity diagrams State diagrams Class diagrams Use-case diagrams.
Session 11 The Class Diagram: Aggregation and Generalization Written by Thomas A. Pender Published by Wiley Publishing, Inc. October 12, 2011 Presented.
Objectives Detailed Object-Oriented Requirements Definitions
Chapter 6 Programming Languages. © 2005 Pearson Addison-Wesley. All rights reserved 6-2 Chapter 6: Programming Languages 6.1 Historical Perspective 6.2.
- 1 - Embedded Systems - SDL Some general properties of languages 1. Synchronous vs. asynchronous languages Description of several processes in many languages.
©Ian Sommerville 2006Software Engineering, 8th edition. Chapter 8 Slide 1 Object-oriented and Structured System Models.
11 Software Engineering Dr. K. T. Tsang Lecture 9 Advance State Modeling
Sequence & Statechart Diagrams Month Day, Year. Agenda Training Plan Overview Actors and Use Case Diagrams Sequence Diagrams Diagram Elements Evolution.
UML Notations in CommonKADS Activity diagrams State diagrams Class diagrams Use-case diagrams.
University of Toronto at Scarborough © Kersti Wain-Bantin CSCC40 state charts 1 object states an object state is a condition or situation during the life.
Chapter 5 Implementing UML Specification (Part II) Object-Oriented Technology From Diagram to Code with Visual Paradigm for UML Curtis H.K. Tsang, Clarence.
UML Discussion on State Machines Perfectly static system is intensely uninteresting Because nothing ever happens.
Unified Modeling Language User Guide Section 4 - Basic Behavioral Modeling Chapter 19 – Activity Diagrams.
Karolina Muszyńska Based on: S. Wrycza, B. Marcinkowski, K. Wyrzykowski „Język UML 2.0 w modelowaniu SI”
State Modeling. Events An event is an occurrence at a point in time, such as user depresses left button or.
Activity diagrams M Taimoor Khan
CS3773 Software Engineering Lecture 06 UML State Machines.
 Engineering Quality Software.  Today o State Diagrams Jerry Kotuba SYST30009-Engineering Quality Software 2.
CS212: Object Oriented Analysis and Design Lecture 33: Class and Sequence Diagram.
 Class diagrams show the classes of the system, their interrelationships (including inheritance, aggregation, and association), and the operations and.
Chapter 3: Introducing the UML
Statechart diagrams  Przemysław Kostyra  Jakub Rypina.
Fall 2007 Week 11: Object Modeling (2) Class Diagram MSIS 670: Object-Oriented Software Engineering.
1 10 Systems Analysis and Design in a Changing World, 2 nd Edition, Satzinger, Jackson, & Burd Chapter 10 Designing Databases.
Module 2 OOMD.
UML (Unified Modeling Language)
CS 350 – Software Design UML – The Unified Modeling Language – Chapter 2 The Unified Modeling Language is a visual language used to create models of programs.
UML Chapter 17.
Identifying & Creating Use Cases – Part 2
Appendix 3 Object-Oriented Analysis and Design
Object-oriented and Structured System Models
State Diagram – Advanced Concepts
Course Outcomes of Object Oriented Modeling Design (17630,C604)
Subject Name: Object oriented Modeling and Design
Advanced state modeling
State Machine Diagrams
OBJECT RELATIONSHIPS, ATTRIBUTES, AND METHODS
Business System Development
UML Activity Diagrams & State Charts
Domain Class Diagram Chapter 4 Part 2 pp
CS/CPE 426 Senior Projects
CS/CPE 426 Senior Projects
Chapter 1: Introduction to Object Oriented Design
Sample Test Questions Please identify the use cases of the system that cover all the behaviors described in the system specification. Please identify.
CS 791Z State Machines & Advanced State Machines
Identifying & Creating Use Cases - Part 3
Appendix 3 Object-Oriented Analysis and Design
Presentation transcript:

Chapter - 6 Advanced State Modeling

Nested State Diagram 6.1.1.Problems with flat state diagram State diagrams have been often criticized because they allegedly are impractical for large problems. Unstructured state diagrams N independent boolean attributes that affect control. Representing such an object a single flat state diagram would require 2n States. By partitioning the state into n independent state diagrams, however, only 2n states are required. State diagram in Figure in which n2 transitions are needed to connect every state to every other state. It can be reduced as low as n transitions.

Nested State Diagram 6.1.2. Expanding the states Organize a model is by having a high level diagram with sub diagrams expanding certain states. Vending machine state diagram Submachine: DispenseItem submachine of vending machine

Nested State State Diagram for phone line with Activities Nested states for a phone line

Nested States: you can nest states to an arbitrary depth. Composite State: labels the outer contour that entirely encloses the nested states. Active in previous diagram and Forward is present diagram is composite state.

6.3. Signal Generalization Organize signals into a generalization hierarchy with inheritance of signal attributes.

6.4. Concurrency State model implicitly supports concurrency among the objects. In general, objects are autonomous entities that can act and change state independent of one another. 6.4.1. Aggregation Concurrency 6.4.2. Concurrency within an object

6.4.1. Aggregation Concurrency A state diagram for an assembly is a collection of state diagram, one for each part. The aggregate state corresponds to the combined states of all the parts. Aggregation is “and-relationship”. Aggregate state is one state from the first diagram, and a state from second diagram and a state from each other diagram. In the more interesting cases, the part states interact.

6.4.1. Aggregation Concurrency

6.4.2. Concurrency within an object 6.4.3. synchronization of concurrent Activities

Sample State Diagram for Programmable thermostate

Sample State Diagram for Programmable thermostate

Sample State Diagram for Programmable thermostate

thank you