State Diagram

State diagrams are used to graphically represent finite state machines. State transition tables are another possible representation. There are many forms of state diagrams that differ slightly and have a different semantics.

Directed graph

A classic form of a state diagram for a finite state machine is a directed graph where In practice, vertices are normally represented by circles and, if needed, double circles are used for accept states.

Examples

DFA, NFA, GNFA, or Moore machine

S1 and S2 are states and S1 is an accept state. Each edge is labeled with the input.

Mealy machine

S0, S1, and S2 are states. Each edge is labeled with "j / k" where j is the input and k is the output.

Harel statechart

Harel statecharts (developed in 1987 by David Harel) are gaining some more widespread usage since a variant has become part of UML. The diagram type allows to model superstates, concurrent state diagrams and e.g. to model activities as part of a state. Classic state diagrams are so called "or" diagrams, because the machine can only be in one state or the other. With harel statecharts it is possible to model "and" machines, where a machine is in two or more states at the same time. This is due to the possibility of having superstates.

Ward and Mellor statecharts

References

  • David Harel's home page
  • D. Harel. Statecharts: A visual formalism for complex systems. Science of Computer Programming, 8(3):231--274, June 1987.

 

<< PreviousWord BrowserNext >>
arvanites
silent hunter ii
extinct language
nicholas negroponte
democratic deficit
han unification
so paulo futebol clube
grmio foot ball porto alegrense
sport club internacional
cruzeiro esporte clube
alfrd hajs
clube atltico mineiro
kevin rowland
richard ford
battle of suomussalmi
esporte clube vitria
max beckmann
fluminense football club
antenna (biology)
antenna (radio)
josiah bartlett
transport salaried staffs' association
clube de regatas vasco da gama
mutual broadcasting system
kate ceberano
esporte clube bahia
charles correll
freeman gosden
oil drop experiment
clube atltico paranaense
scotland the brave
law and government of missouri
sam & henry
george grosz
campfire
magnetic susceptibility
iatrogenesis
the goldbergs
shipbuilding
laestrygonians
toga
lappet faced vulture
egyptian vulture
george i of greece