11/30/2023 0 Comments Timing diagram onlineIn this jaded example the professor delivers the seminar and marks student work and the teaching assistant develops the course material just in time for it to be taught. Remember AM’s Apply the Right Artifact(s) practice and use the right model for the job.įigure 2 depicts a timing diagram which explores the details of what happens while a seminar is being taught. That’s perfectly fine because I’m using each diagram for its individual strengths – concise timing diagrams are good at exploring one or more objects throughout a period of time and state machine diagrams are good at exploring the detailed transitions between states as the result of events (either external or internal). Several states from the state machine diagram are encompassed by the Enrolling Students state of the timing diagram. It’s interesting to note the differences between the timing diagram of Figure 1 and the state machine diagram. Along the bottom of the diagram timing constraints are shown, in this case indicating the period of time during which the seminar is in each state. When the two lines cross one another it indicates a transition point between states. In this case I’m using them to show the value of the state of a seminar, but you could also explore the value of a single attribute of an object if you so choose. The two lines surrounding the states are called a general value lifeline. The critical states that the seminar exhibits – Proposed, Scheduled, Enrolling Students, Being Taught, Final Exams, Closed – are listed across the diagram. The :Seminar label indicates that the lifeline being explored is that of an instance of Seminar. Figure 1 depicts the lifecycle of a single seminar, showing its timeline quite clearly. Timing diagrams are often used to design embedded software, such as control software for fuel injection system in an automobile, although they occasionally have their uses for business software too. There are two basic flavors of timing diagram, the concise notation depicted in Figure 1 and the robust notation depicted in Figure 2. They are used to explore the behaviors of one or more objects throughout a given period of time. Timing diagrams are one of the new artifacts added to UML 2.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |