TAILIEUCHUNG - Giới thiệu về mô hình hóa động_Chương 9

Mô hình năng động, được sử dụng để đại diện cho hành vi của các yếu tố cấu trúc của một hệ thống phần mềm. Bạn có thể sử dụng tương tác, nhà nước, và sơ đồ hoạt động để đại diện cho mô hình năng động của một hệ thống phần mềm. Chương này giải thích làm thế nào để tạo ra các sơ đồ nhà nước và hoạt động. Mục tiêu Trong chương này, bạn sẽ học cách: Tạo sơ đồ máy nhà nước Tạo sơ đồ hoạt động. | More About Dynamic Modeling Dynamic modeling is used to represent the behavior of the structural elements of a software system. You can use interaction state and activity diagrams to represent the dynamic model of a software system. This chapter explains how to create state and activity diagrams. Objectives In this chapter you will learn to fl Create state machine diagrams fl Create activity diagrams Chapter 8 Creating State Machine Diagrams A state machine diagram represents the various states that an object attains during its lifecycle in response to events. A state depicts a condition of an object and the activities of an object during its lifecycle. You model the dynamic aspects of a system by using state diagrams. Therefore you create a state diagram for the objects that respond to events. The various constituents of a state diagram are State Machines Events Transitions Understanding State Machine Events and Transitions A state machine depicts the various states of an object that change in response to events during its lifetime. A state refers to the condition of an object during its existence in memory. Each object is in a particular state at any given time and remains in that state until an event occurs. In addition each object has an initial and a final state. An initial state is the starting state of an object and is represented as a black circle. A final state indicates that the execution of the state is complete and is represented as a black circle surrounded with a ring. For example in the IMS parts can have two states In stock Out of stock The parts are in stock when their quantity is above the reorder level. When the parts are issued to the manufacturing department the number of parts may fall below the reorder level. As a result the parts become out of stock. The following figure depicts a state diagram with the various states of the parts object. States of Parts Object in a State Diagram An event is an occurrence that triggers a change of state of .

TỪ KHÓA LIÊN QUAN
Đã phát hiện trình chặn quảng cáo AdBlock
Trang web này phụ thuộc vào doanh thu từ số lần hiển thị quảng cáo để tồn tại. Vui lòng tắt trình chặn quảng cáo của bạn hoặc tạm dừng tính năng chặn quảng cáo cho trang web này.