1 / 7

Chapter 6: Advanced State Modeling

Chapter 6: Advanced State Modeling. State Modeling. Nested State Diagrams Nested States Signal Generalization Concurrency A sample state Models Relation of Class and State Models. Nested State Diagrams. Expanding States

elroy
Download Presentation

Chapter 6: Advanced State Modeling

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Chapter 6: Advanced State Modeling

  2. State Modeling • Nested State Diagrams • Nested States • Signal Generalization • Concurrency • A sample state Models • Relation of Class and State Models

  3. Nested State Diagrams • Expanding States One way to organize a model is by having a high level diagram with sub diagrams expanding certain states. For Example Figure 6.2 see in your text book

  4. Nested State Diagrams • Nested States You can structure states more deeply than just replacing a state with a sub machine. As a deeper alternative, you can nest states to show their commonality and share behavior. For Example Figure 6.4 single transition from active to Idle replaces the transitions from each state to Idle.

  5. Nested State Diagrams • Composite State: The composite state name labels the outer contour that entirely encloses the nested states. Thus active is a composite state with regard to nested states Dial Tone, Timeout, Dialing, and so forth. For example Figure 6.5 see in your text book

  6. Signal Generalization • You can organize signals into a generalization hierarchy with inheritance of signal attributes. For example Figure 6.6 see in your text book A signal hierarchy permits different levels of abstraction to be used in a model.

  7. Concurrency • The state model implicitly supports concurrency among objects. In general, objects are autonomous entities that can act and change state independent of one other. • Aggregation Concurrency • Concurrency within an object • Synchronization of Concurrent Activities

More Related