TAILIEUCHUNG - Teach Yourself UML in 24 Hours 3rd phần 5

bởi vì một tín hiệu có chứa tập tin tài liệu truyền từ các gói phần mềm xử lý văn bản đến máy in, nhận được tín hiệu và in các bản sao. Hình 11,8 cho thấy rằng bạn có thể đại diện cho điều này với những biểu tượng cho truyền dẫn tín hiệu và nhận tín hiệu, cùng với một đối tượng máy in mà nhận được các biểu tượng | Working with Activity Diagrams 181 because a signal containing the document s file transmits from the word processing package to the printer which receives the signal and prints the copy. Figure shows that you can represent this with the symbols for signal transmission and signal reception along with a printer object that receives the symbol and performs its print operation. This is an example of a hybrid diagram because it has symbols you normally associate with different types of diagrams. New Concepts from UML UML has turned the magnifying glass on the activity diagram and added a number of modeling techniques. These techniques are intended to help you clarify the details of an operation or a process. The Objects of an Activity Newer UML concepts allow you to specify an activity s inputs and outputs. You do this with object nodes. I ll use an example from mathematics to illustrate this type of symbol and carry through this example to help explain some additional UML concepts. Have you ever seen this series of numbers 1 1 2 3 5 8 13 . . . It s called the Fibonacci series after the medieval mathematician who wrote about it 800 years ago. Each number is a fib so the first fib fib 1 is 1 fib 2 is also 1 fib 3 is 2 and so on. The rule is that each fib except for the first two is the sum of the preceding two fibs. fib 8 then is 21. To model the calculation of a fib as an activity write Calculate fib n inside an activity icon. You can then connect this icon with another that represents the activity of printing the fib. Figure shows the diagram which includes a notation symbol containing the format for the printed message. In order to proceed the first activity has to have an input value for n. After it finishes its work it outputs an answer which the next activity prints. It also passes along the value of n so that the print activity can include that value in the printed statement. To show an input add a little box on the left border of the first .

TAILIEUCHUNG - Chia sẻ tài liệu không giới hạn
Địa chỉ : 444 Hoang Hoa Tham, Hanoi, Viet Nam
Website : tailieuchung.com
Email : tailieuchung20@gmail.com
Tailieuchung.com là thư viện tài liệu trực tuyến, nơi chia sẽ trao đổi hàng triệu tài liệu như luận văn đồ án, sách, giáo trình, đề thi.
Chúng tôi không chịu trách nhiệm liên quan đến các vấn đề bản quyền nội dung tài liệu được thành viên tự nguyện đăng tải lên, nếu phát hiện thấy tài liệu xấu hoặc tài liệu có bản quyền xin hãy email cho chúng tôi.
Đã 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.