What is a Transition?
(Tutorial Page 14)


  • A change from one state to another is a transition in state
    1. In the example above the change in state from 70MPH to 90 MPH on an event of
    2. Accelerate, is a transition (a change in state).

  • A transition which is conditional, i.e. dependant on certain other conditions other than the event is called a guarded transition. The condition is listed in square brackets [condition] after the event name.
    1. event(attribs)[condition]

  • A computer that is in state of being turned off, can transition to a state of being on, if the event power-on switch depressed.
    1. Computer-Off -------> Power-On Depressed --------> Computer-On.
    2. The event is a guarded event, since it is really dependant on another factor, such as
    3. Computer-Plugged Into Outlet. So the transition is guarded and should be shown as:
    4. Computer-Off -------> Power-On Depressed [Power Available] --------> Computer-On


    |-Previous Slide-| -Next Slide-| -Table of Contents-|-List of Tutorials-| -Home Page-|-Disclaimer-|
    If desired, insert comments for ooanly14
    Your Email Address(Optional)
    Action
    Copyright © 1997 Object Ideas Corporation --- Last Updated January 15, 1997