Difference between revisions of "Statemachine Diagram"

From Event-B
Jump to navigationJump to search
imported>Mathieu
imported>Vitaly
 
(One intermediate revision by one other user not shown)
Line 3: Line 3:
 
State machines may be attached to classes, to states of another statemachine or simply at the Machine level. The transitions of a state machine represent events with the additional behaviour associated with the change of state defined by the transition. That is, the event can only occur when the instance is in the source state and, when it fires, the instance changes to the target state. Hence the state machine also models a class variable similar to an attribute. Additional guards and actions can be attached to the transition.
 
State machines may be attached to classes, to states of another statemachine or simply at the Machine level. The transitions of a state machine represent events with the additional behaviour associated with the change of state defined by the transition. That is, the event can only occur when the instance is in the source state and, when it fires, the instance changes to the target state. Hence the state machine also models a class variable similar to an attribute. Additional guards and actions can be attached to the transition.
  
 +
{{Clr}}
 +
Statemachine diagrams can also be animated using the ProB tool and a special animation plug-in. [[UML-B_-_Statemachine_Animation|Here]] you can find more information about it.
  
[[Category:User Documentation]]
+
[[Category:User documentation]]
 
[[Category:UML-B]]
 
[[Category:UML-B]]

Latest revision as of 11:45, 14 January 2010

Return to UML-B

State machines may be attached to classes, to states of another statemachine or simply at the Machine level. The transitions of a state machine represent events with the additional behaviour associated with the change of state defined by the transition. That is, the event can only occur when the instance is in the source state and, when it fires, the instance changes to the target state. Hence the state machine also models a class variable similar to an attribute. Additional guards and actions can be attached to the transition.

Statemachine diagrams can also be animated using the ProB tool and a special animation plug-in. Here you can find more information about it.