Dillon: CSE470:DYN & FUNC MODELLING Dynamic Model Show the temporal order of operations Control model » Show the sequence of operations that occur in response to external stimuli » Do not worry about – what operations do – what they operate on – how they are implemented
22
Embed
Dillon: CSE470:DYN & FUNC MODELLING1 Dynamic Model l Show the temporal order of operations l Control model »Show the sequence of operations that occur.
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Dillon: CSE470:DYN & FUNC MODELLING 1
Dynamic Model
Show the temporal order of operations Control model
» Show the sequence of operations that occur in response to external stimuli
» Do not worry about– what operations do– what they operate on– how they are implemented
Dillon: CSE470:DYN & FUNC MODELLING 2
Dynamic Model
Consists of multiple state diagrams» One for each class with important dynamic
behavior» Shows
– states of objects and activities performed in states
– conditions under which events cause transitions
– transitions and actions produced by events
Dillon: CSE470:DYN & FUNC MODELLING 3
Terminology
States - determined by the values of an
object’s attributes and links» have a duration in time
» may be associated with activities
Activities - operations performed by an
object» take time to complete
Dillon: CSE470:DYN & FUNC MODELLING 4
Terminology
Events - external stimuli» instantaneous
» may produce state transitions
» may produce actions
Conditions - boolean functions of object
values » “guard” state transitions
Dillon: CSE470:DYN & FUNC MODELLING 5
Terminology
Actions - instantaneous operations
performed by an object
Triggered by» an event that produces a state transition
» entering a state
» exiting a state
» an event that does not cause a state transition
– so entry and exit actions are not performed
Dillon: CSE470:DYN & FUNC MODELLING 6
Graphical Notation
Ordering of Actions actions on incoming transition entry action activity and event action as appropriate exit action actions on outgoing transition