World's most popular travel blog for travel bloggers.

What is dynamic modeling? Explain its advantages.

, , No Comments
The dynamic model represents the time–dependent aspects of a system. It is concerned with the temporal changes in the states of the objects in a system. The main concepts are:
  • State, which is the situation at a particular condition during the lifetime of an object.
  • Transition, a change in the state
  • Event, an occurrence that triggers transitions
  • Action, an uninterrupted and atomic computation that occurs due to some event, and
  • Concurrency of transitions.
A state machine models the behavior of an object as it passes through a number of states in its lifetime due to some events as well as the actions occurring due to the events. A state machine is graphically represented through a state transition diagram.

Diagrams for Dynamic Modelling

There are two primary diagrams that are used for dynamic modelling:

Interaction Diagrams

Interaction diagrams describe the dynamic behavior among different objects. It comprises of a set of objects, their relationships, and the message that the objects send and receive. Thus, an interaction models the behavior of a group of interrelated objects. The two types of interaction diagrams are:
  • Sequence Diagram : It represents the temporal ordering of messages in a tabular manner.
  • Collaboration Diagram : It represents the structural organization of objects that send and receive messages through vertices and arcs.

0 comments:

Post a Comment

Let us know your responses and feedback