State diagram: Difference between revisions
Jump to navigation
Jump to search
imported>Eric Evers (New page: A state diagram is an fundamental concept in computer science. States are nodes that have arrows that leave them for other notes. There is typically a unique starting state. Transitions ar...) |
imported>Eric Evers mNo edit summary |
||
Line 1: | Line 1: | ||
A state diagram is an fundamental concept in computer science. States are nodes that have arrows that leave them for other notes. There is typically a unique starting state. Transitions are caused in general by some event. Often events are represented by particular messages. In the example, the messages a,b and c causes transitions between states in our set of states: {Start, State_1, State_2, Stop}. Our message alphabet is the set: {a,b,c}. | A state diagram is an fundamental concept in computer science. States are nodes that have arrows that leave them for other notes. There is typically a unique starting state. Transitions are caused in general by some event. Often events are represented by particular messages. In the example, the messages a,b and c causes transitions between states in our set of states: {Start, State_1, State_2, Stop}. Our message alphabet is the set: {a,b,c}. | ||
In Standard [[ | In Standard [[Unified_Modeling_Language]], the start state is a solid circle. The end state is a solid circle with a circle around it. States are rounded rectangles. | ||
/--------\ /--------\ | /--------\ /--------\ |
Revision as of 11:18, 17 November 2008
A state diagram is an fundamental concept in computer science. States are nodes that have arrows that leave them for other notes. There is typically a unique starting state. Transitions are caused in general by some event. Often events are represented by particular messages. In the example, the messages a,b and c causes transitions between states in our set of states: {Start, State_1, State_2, Stop}. Our message alphabet is the set: {a,b,c}.
In Standard Unified_Modeling_Language, the start state is a solid circle. The end state is a solid circle with a circle around it. States are rounded rectangles.
/--------\ /--------\ ● -----> | State_1 | -----> | State_2 | -----> ◉ a \--------/ b \--------/ c
Also see
Finite_state_machine Automota