# GetWiki

*finite-state machine*

ARTICLE SUBJECTS

being →

database →

ethics →

fiction →

history →

internet →

language →

linux →

logic →

method →

news →

policy →

purpose →

religion →

science →

software →

truth →

unix →

wiki →

ARTICLE TYPES

essay →

feed →

help →

system →

wiki →

ARTICLE ORIGINS

critical →

forked →

imported →

original →

finite-state machine

[ temporary import ]

**please note:**

- the content below is remote from Wikipedia

- it has been imported raw for GetWiki

**finite-state machine**(

**FSM**) or

**finite-state automaton**(

**FSA**, plural:

*automata*),

**finite automaton**, or simply a

**state machine**, is a mathematical model of computation. It is an abstract machine that can be in exactly one of a finite number of

*states*at any given time. The FSM can change from one state to another in response to some external inputs; the change from one state to another is called a

*transition*. An FSM is defined by a list of its states, its initial state, and the conditions for each transition. Finite state machines are of two types â€“ deterministic finite state machines and non-deterministic finite state machines.WEB,weblink Finite State Machines - Brilliant Math & Science Wiki, brilliant.org, 14 April 2018, A deterministic finite-state machine can be constructed equivalent to any non-deterministic one.The behavior of state machines can be observed in many devices in modern society that perform a predetermined sequence of actions depending on a sequence of events with which they are presented. Simple examples are vending machines, which dispense products when the proper combination of coins is deposited, elevators, whose sequence of stops is determined by the floors requested by riders, traffic lights, which change sequence when cars are waiting, and combination locks, which require the input of a sequence of numbers in the proper order.The finite state machine has less computational power than some other models of computation such as the Turing machine.BOOK

, Belzer

, Jack

,

, Albert George, Holzman, Allen, Kent

, Encyclopedia of Computer Science and Technology, 25

, CRC Press

, 1975

, USA

, 73

,weblink

,

,

, 978-0-8247-2275-3, The computational power distinction means there are computational tasks that a Turing machine can do but a FSM cannot. This is because a FSM's memory is limited by the number of states it has. FSMs are studied in the more general field of automata theory.

, Jack

,

, Albert George, Holzman, Allen, Kent

, Encyclopedia of Computer Science and Technology, 25

, CRC Press

, 1975

, USA

, 73

,weblink

,

,

, 978-0-8247-2275-3, The computational power distinction means there are computational tasks that a Turing machine can do but a FSM cannot. This is because a FSM's memory is limited by the number of states it has. FSMs are studied in the more general field of automata theory.

## Example: coin-operated turnstile

(File:Turnstile state machine colored.svg|thumb|upright=1.5|State diagram for a turnstile)(File:Torniqueterevolution.jpg|thumb|upright=0.5|A turnstile)An example of a simple mechanism that can be modeled by a state machine is a turnstile.BOOK, Koshy

, Thomas

,

, Discrete Mathematics With Applications

, Academic Press

, 2004

,

, 762

,weblink

,

,

, 978-0-12-421180-3, WEB

, Wright

, David R.

,

, Finite State Machines

, CSC215 Class Notes

, David R. Wright website, N. Carolina State Univ.

, 2005

,weblink

,weblink" title="web.archive.org/web/20140327131120weblink">weblink

, yes

, March 27, 2014

,

,

, July 14, 2012

, A turnstile, used to control access to subways and amusement park rides, is a gate with three rotating arms at waist height, one across the entryway. Initially the arms are locked, blocking the entry, preventing patrons from passing through. Depositing a coin or token in a slot on the turnstile unlocks the arms, allowing a single customer to push through. After the customer passes through, the arms are locked again until another coin is inserted.Considered as a state machine, the turnstile has two possible states: , Thomas

,

, Discrete Mathematics With Applications

, Academic Press

, 2004

,

, 762

,weblink

,

,

, 978-0-12-421180-3, WEB

, Wright

, David R.

,

, Finite State Machines

, CSC215 Class Notes

, David R. Wright website, N. Carolina State Univ.

, 2005

,weblink

,weblink" title="web.archive.org/web/20140327131120weblink">weblink

, yes

, March 27, 2014

,

,

, July 14, 2012

**and**

*Locked***. There are two possible inputs that affect its state: putting a coin in the slot (**

*Unlocked***) and pushing the arm (**

*coin***). In the locked state, pushing on the arm has no effect; no matter how many times the input**

*push***is given, it stays in the locked state. Putting a coin in â€“ that is, giving the machine a**

*push***input â€“ shifts the state from**

*coin***to**

*Locked***. In the unlocked state, putting additional coins in has no effect; that is, giving additional**

*Unlocked***inputs does not change the state. However, a customer pushing through the arms, giving a**

*coin***input, shifts the state back to**

*push***.The turnstile state machine can be represented by a state transition table, showing for each possible state, the transitions between them (based upon the inputs given to the machine) and the outputs resulting from each input:**

*Locked*
{| class="wikitable"

| Unlocks the turnstile so that the customer can push through. |

| None |

| None |

| When the customer has pushed through, locks the turnstile. |

*(above)*. Each state is represented by a node (

*circle*). Edges (

*arrows*) show the transitions from one state to another. Each arrow is labeled with the input that triggers that transition. An input that doesn't cause a change of state (such as a

**input in the**

*coin***state) is represented by a circular arrow returning to the original state. The arrow into the**

*Unlocked***node from the black dot indicates it is the initial state.**

*Locked*## Concepts and terminology

A*state*is a description of the status of a system that is waiting to execute a

*transition*. A transition is a set of actions to be executed when a condition is fulfilled or when an event is received.For example, when using an audio system to listen to the radio (the system is in the "radio" state), receiving a "next" stimulus results in moving to the next station. When the system is in the "CD" state, the "next" stimulus results in moving to the next track. Identical stimuli trigger different actions depending on the current state.In some finite-state machine representations, it is also possible to associate actions with a state:

- an entry action: performed
*when entering*the state, and - an exit action: performed
*when exiting*the state.

## Representations

(File:UML state machine Fig5.png|thumb|Fig. 1 UML state chart example (a toaster oven))(File:SdlStateMachine.png|thumb|Fig. 2 SDL state machine example)(File:Finite state machine example with comments.svg|thumb|Fig. 3 Example of a simple finite state machine){{hatnote|For an introduction, see State diagram.}}### State/Event table

Several state transition table types are used. The most common representation is shown below: the combination of current state (e.g. B) and input (e.g. Y) shows the next state (e.g. C). The complete action's information is not directly described in the table and can only be added using footnotes. A FSM definition including the full actions information is possible using state tables (see also virtual finite-state machine).{| class="wikitable" style="text-align:center; margin-left:auto; margin-right:auto;"|+ State transition table! {{diagonal split header|Input| Currentstate}} || State A || State B || State C| â€¦ |

| â€¦ |

| â€¦ |

### UML state machines

The Unified Modeling Language has a notation for describing state machines. UML state machines overcome the limitations of traditional finite state machines while retaining their main benefits. UML state machines introduce the new concepts of hierarchically nested states and orthogonal regions, while extending the notion of actions. UML state machines have the characteristics of both Mealy machines and Moore machines. They support actions that depend on both the state of the system and the triggering event, as in Mealy machines, as well as entry and exit actions, which are associated with states rather than transitions, as in Moore machines.{{citation needed|date=January 2017}}### SDL state machines

The Specification and Description Language is a standard from ITU that includes graphical symbols to describe actions in the transition:- send an event
- receive an event
- start a timer
- cancel a timer
- start another concurrent state machine
- decision

### Other state diagrams

There are a large number of variants to represent an FSM such as the one in figure 3.## Usage

In addition to their use in modeling reactive systems presented here, finite state machines are significant in many different areas, including electrical engineering, linguistics, computer science, philosophy, biology, mathematics, and logic. Finite state machines are a class of automata studied in automata theory and the theory of computation.In computer science, finite state machines are widely used in modeling of application behavior, design of hardware digital systems, software engineering, compilers, network protocols, and the study of computation and languages.## Classification

Finite state machines can be subdivided into transducers, acceptors, classifiers and sequencers.BOOK, Keller, Robert M., Computer Science: Abstraction to Implementation,weblink 2001, Harvey Mudd College, 480, Classifiers, Acceptors, Transducers, and Sequencers,weblink### Acceptors (recognizers)

(File:Fsm parsing word nice.svg|thumb|Fig. 4 Acceptor FSM: parsing the string "nice")**Acceptors**(also called

**recognizers**and

**sequence detectors**), produce binary output, indicating whether or not the received input is accepted. Each state of an FSM is either "accepting" or "not accepting". Once all input has been received, if the current state is an accepting state, the input is accepted; otherwise it is rejected. As a rule, input is a sequence of symbols (characters); actions are not used. The example in figure 4 shows a finite state machine that accepts the string "nice". In this FSM, the only accepting state is state 7.A (possibly infinite) set of symbol sequences, aka. formal language, is called a regular language if there is some Finite State Machine that accepts exactly that set. For example, the set of binary strings with an even number of zeroes is a regular language (cf. Fig. 5), while the set of all strings whose length is a prime number is not.BOOK, 978-0-201-02988-8, John E. Hopcroft and Jeffrey D. Ullman, Introduction to Automata Theory, Languages, and Computation, Reading/MA, Addison-Wesley, 1979,weblink {{rp|18,71}}A machine could also be described as defining a language, that would contain every string accepted by the machine but none of the rejected ones; that language is "accepted" by the machine. By definition, the languages accepted by FSMs are the regular languagesâ€”; a language is regular if there is some FSM that accepts it.The problem of determining the language accepted by a given finite state acceptor is an instance of the algebraic path problemâ€”itself a generalization of the shortest path problem to graphs with edges weighted by the elements of an (arbitrary) semiring.BOOK, Marc, Pouly, JÃ¼rg, Kohlas, Generic Inference: A Unifying Theory for Automated Reasoning, 2011, John Wiley & Sons, 978-1-118-01086-0, Chapter 6. Valuation Algebras for Path Problems, p. 223 in particular, WEB,weblink Algebraic path problems, Jacek Jonczy, Jun 2008, 2014-08-20, yes,weblink" title="web.archive.org/web/20140821054702weblink">weblink 21 August 2014, dmy-all, , p. 34{{Technical statement|date=January 2017}}(File:DFAexample.svg|thumb|Fig. 5: Representation of a finite-state machine; this example shows one that determines whether a binary number has an even number of 0s, where S_1 is an

**accepting state**.)The start state can also be an accepting state, in which case the automaton accepts the empty string.An example of an accepting state appears in Fig.5: a deterministic finite automaton (DFA) that detects whether the binary input string contains an even number of 0s.

*S*1 (which is also the start state) indicates the state at which an even number of 0s has been input. S1 is therefore an accepting state. This machine will finish in an accept state, if the binary string contains an even number of 0s (including any binary string containing no 0s). Examples of strings accepted by this DFA are Îµ (the empty string), 1, 11, 11â€¦, 00, 010, 1010, 10110, etc.

### Classifiers

A**classifier**is a generalization of a finite state machine that, similar to an acceptor, produces a single output on termination but has more than two terminal states.{{citation needed|date=January 2017}}

### Transducers

(File:Fsm Moore model door control.svg|thumb|Fig. 6 Transducer FSM: Moore model example)Transducers generate output based on a given input and/or a state using actions. They are used for control applications and in the field of computational linguistics.In control applications, two types are distinguished:- Moore machine: The FSM uses only entry actions, i.e., output depends only on the state. The advantage of the Moore model is a simplification of the behaviour. Consider an elevator door. The state machine recognizes two commands: "command_open" and "command_close", which trigger state changes. The entry action (E:) in state "Opening" starts a motor opening the door, the entry action in state "Closing" starts a motor in the other direction closing the door. States "Opened" and "Closed" stop the motor when fully opened or closed. They signal to the outside world (e.g., to other state machines) the situation: "door is open" or "door is closed".

- Mealy machine: The FSM also uses input actions, i.e., output depends on input and state. The use of a Mealy FSM leads often to a reduction of the number of states. The example in figure 7 shows a Mealy FSM implementing the same behaviour as in the Moore example (the behaviour depends on the implemented FSM execution model and will work, e.g., for virtual FSM but not for event-driven FSM). There are two input actions (I:): "start motor to close the door if command_close arrives" and "start motor in the other direction to open the door if command_open arrives". The "opening" and "closing" intermediate states are not shown.

### Generators

**Sequencers**, or

**generators**, are a subclass of the acceptor and transducer types that have a single-letter input alphabet. They produce only one sequence which can be seen as an output sequence of acceptor or transducer outputs.{{Citation needed|date=January 2017}}

### Determinism

A further distinction is between**deterministic**(DFA) and

**non-deterministic**(NFA, GNFA) automata. In a deterministic automaton, every state has exactly one transition for each possible input. In a non-deterministic automaton, an input can lead to one, more than one, or no transition for a given state. The powerset construction algorithm can transform any nondeterministic automaton into a (usually more complex) deterministic automaton with identical functionality.A finite state machine with only one state is called a "combinatorial FSM". It only allows actions upon transition

*into*a state. This concept is useful in cases where a number of finite state machines are required to work together, and when it is convenient to consider a purely combinatorial part as a form of FSM to suit the design tools.Brutscheck, M., Berger, S., Franke, M., Schwarzbacher, A., Becker, S.: Structural Division Procedure for Efficient IC Analysis. IET IrishSignals and Systems Conference, (ISSC 2008), pp.18-23. Galway, Ireland, 18â€“19 June 2008. weblink

## Alternative semantics

There are other sets of semantics available to represent state machines. For example, there are tools for modeling and designing logic for embedded controllers.WEB,weblink Tiwari, A. (2002). Formal Semantics and Analysis Methods for Simulink Stateflow Models., sri.com, 14 April 2018, They combine hierarchical state machines (which usually have more than one current state), flow graphs, and truth tables into one language, resulting in a different formalism and set of semantics.CONFERENCE, 10.1.1.89.8817, Hamon, G., 2005, A Denotational Semantics for Stateflow, International Conference on Embedded Software, 164â€“172, Jersey City, NJ, ACM, These charts, like Harel's original state machines,Harel, D. (1987). A Visual Formalism for Complex Systems. Science of Computer Programming, 231â€“274. support hierarchically nested states, orthogonal regions, state actions, and transition actions.weblink" title="web.archive.org/web/20110715110405weblink">Alur, R., Kanade, A., Ramesh, S., & Shashidhar, K. C. (2008). Symbolic analysis for improving simulation coverage of Simulink/Stateflow models. International Conference on Embedded Software (pp. 89â€“98). Atlanta, GA: ACM.## Mathematical model

In accordance with the general classification, the following formal definitions are found:- A
*deterministic finite state machine*or*acceptor deterministic finite state machine*is a quintuple (Sigma, S, s_0, delta, F), where:- Sigma is the input alphabet (a finite, non-empty set of symbols).
- S is a finite, non-empty set of states.
- s_0 is an initial state, an element of S.
- delta is the state-transition function: delta: S times Sigma rightarrow S (in a nondeterministic finite automaton it would be delta: S times Sigma rightarrow mathcal{P}(S), i.e., delta would return a set of states).
- F is the set of final states, a (possibly empty) subset of S.

, Black

, Paul E

, 12 May 2008

, Finite State Machine

, Dictionary of Algorithms and Data Structures

, U.S. National Institute of Standards and Technology

,weblink

, 2 November 2016

,weblink

, 13 October 2018

, yes

, dmy-all

, , Paul E

, 12 May 2008

, Finite State Machine

, Dictionary of Algorithms and Data Structures

, U.S. National Institute of Standards and Technology

,weblink

, 2 November 2016

,weblink

, 13 October 2018

, yes

, dmy-all

- A
*finite-state transducer*is a sextuple (Sigma, Gamma, S, s_0, delta, omega), where:- Sigma is the input alphabet (a finite non-empty set of symbols).
- Gamma is the output alphabet (a finite, non-empty set of symbols).
- S is a finite, non-empty set of states.
- s_0 is the initial state, an element of S. In a nondeterministic finite automaton, s_0 is a set of initial states.
- delta is the state-transition function: delta: S times Sigma rightarrow S.
- omega is the output function.

**Mealy model**, and can be modelled as a Mealy machine. If the output function depends only on a state (omega: S rightarrow Gamma) that definition corresponds to the

**Moore model**, and can be modelled as a Moore machine. A finite-state machine with no output function at all is known as a semiautomaton or transition system.If we disregard the first output symbol of a Moore machine, omega (s_0), then it can be readily converted to an output-equivalent Mealy machine by setting the output function of every Mealy transition (i.e. labeling every edge) with the output symbol given of the destination Moore state. The converse transformation is less straightforward because a Mealy machine state may have different output labels on its incoming transitions (edges). Every such state needs to be split in multiple Moore machine states, one for every incident output symbol.BOOK, James Andrew, Anderson, Thomas J., Head, Automata theory with modern applications,weblink 2006, Cambridge University Press, 978-0-521-84887-9, 105â€“108,

## Optimization

Optimizing an FSM means finding a machine with the minimum number of states that performs the same function. The fastest known algorithm doing this is the Hopcroft minimization algorithm.REPORT, Hopcroft, John E., 1971, An*n*log

*n*algorithm for minimizing states in a finite automaton, CS-TR-71-190, Technical Report,weblink Stanford Univ., {{dead link|date=October 2017 |bot=InternetArchiveBot |fix-attempted=yes }}REPORT, Almeida, Marco, Moreira, Nelma, Reis, Rogerio, 2007, On the performance of automata minimization algorithms,weblink Technical Report, DCC-2007-03, Porto Univ., 25 June 2008,weblink" title="web.archive.org/web/20090117201637weblink">weblink 17 January 2009, yes, dmy-all, Other techniques include using an implication table, or the Moore reduction procedure. Additionally, acyclic FSAs can be minimized in linear time.JOURNAL, Revuz, D., Minimization of Acyclic automata in Linear Time, Theoretical Computer Science, 92, 1992, 181â€“189, 10.1016/0304-3975(92)90142-3,

## Implementation

### Hardware applications

File:4 bit counter.svg|thumb|Fig. 9 The circuit diagram for a 4-bit TTL counter, a type of state machine]]In a digital circuit, an FSM may be built using a programmable logic device, a programmable logic controller, logic gates and flip flops or relays. More specifically, a hardware implementation requires a register to store state variables, a block of combinational logic that determines the state transition, and a second block of combinational logic that determines the output of an FSM. One of the classic hardware implementations is the Richards controller.In a*Medvedev machine*, the output is directly connected to the state flip-flops minimizing the time delay between flip-flops and output.BOOK, Kaeslin, Hubert, Digital Integrated Circuit Design: From VLSI Architectures to CMOS Fabrication,weblink 2008, Cambridge University Press, 787, Mealy, Moore, Medvedev-type and combinatorial output bits, 978-0-521-88267-5, Slides,

*Synchronous Finite State Machines; Design and Behaviour*, University of Applied Sciences Hamburg, p.18{{Dead link|date=June 2019}}Through state encoding for low power state machines may be optimized to minimize power consumption.

### Software applications

The following concepts are commonly used to build software applications with finite state machines:- Automata-based programming
- Event-driven finite-state machine
- Virtual finite-state machine
- State design pattern

### Finite state machines and compilers

Finite automata are often used in the frontend of programming language compilers. Such a frontend may comprise several finite state machines that implement a lexical analyzer and a parser.Starting from a sequence of characters, the lexical analyzer builds a sequence of language tokens (such as reserved words, literals, and identifiers) from which the parser builds a syntax tree. The lexical analyzer and the parser handle the regular and context-free parts of the programming language's grammar.BOOK, Alfred V. Aho, Aho, Alfred V., Ravi Sethi, Sethi, Ravi, Jeffrey D. Ullman, Ullman, Jeffrey D., Compilers: Principles, Techniques, and Tools, 978-0-201-10088-4, Addison-Wesley, 1986, 1st, Compilers: Principles, Techniques, and Tools,## See also

{hide}columns-list|colwidth=30em|- Abstract state machines (ASM)
- Artificial intelligence (AI)
- Abstract State Machine Language (AsmL)
- Behavior model
- Communicating finite-state machine
- Control system
- Control table
- Decision tables
- DEVS: Discrete Event System Specification
- Extended finite-state machine (EFSM)
- Finite state machine with datapath
- Hidden Markov model
- Low-power FSM synthesis
- Petri net
- Pushdown automaton
- Quantum finite automata (QFA)
- Recognizable language
- Sequential logic
- Specification and Description Language
- State diagram
- State pattern
- SCXML
- Transition system
- Tree automaton
- Turing machine
- UML state machine
- YAKINDU Statechart Tools

## References

{{Reflist}}## Further reading

### General

- BOOK, Sakarovitch, Jacques, Elements of automata theory, Translated from the French by Reuben Thomas, Cambridge University Press, 2009, 978-0-521-84425-3, 1188.68177, {{inconsistent citations, }}
- Wagner, F., "Modeling Software with Finite State Machines: A Practical Approach", Auerbach Publications, 2006, {{ISBN|0-8493-8086-3}}.
- ITU-T,
*Recommendation Z.100 Specification and Description Language (SDL)* - Samek, M.,
*Practical Statecharts in C/C++*, CMP Books, 2002, {{ISBN|1-57820-110-1}}. - Samek, M.,
*Practical UML Statecharts in C/C++, 2nd Edition*, Newnes, 2008, {{ISBN|0-7506-8706-1}}. - Gardner, T.,
*Advanced State Management*, 2007 - Cassandras, C., Lafortune, S., "Introduction to Discrete Event Systems". Kluwer, 1999, {{ISBN|0-7923-8609-4}}.
- Timothy Kam,
*Synthesis of Finite State Machines: Functional Optimization*. Kluwer Academic Publishers, Boston 1997, {{ISBN|0-7923-9842-4}} - Tiziano Villa,
*Synthesis of Finite State Machines: Logic Optimization*. Kluwer Academic Publishers, Boston 1997, {{ISBN|0-7923-9892-0}} - Carroll, J., Long, D.,
*Theory of Finite Automata with an Introduction to Formal Languages*. Prentice Hall, Englewood Cliffs, 1989. - Kohavi, Z.,
*Switching and Finite Automata Theory*. McGraw-Hill, 1978. - Gill, A.,
*Introduction to the Theory of Finite-state Machines*. McGraw-Hill, 1962. - Ginsburg, S.,
*An Introduction to Mathematical Machine Theory*. Addison-Wesley, 1962.

### Finite state machines (automata theory) in theoretical computer science

- BOOK, Arbib, Michael A., Theories of Abstract Automata, 1st, Prentice-Hall, Inc., Englewood Cliffs, N.J., 1969, 978-0-13-913368-8,
- BOOK, Bobrow, Leonard S., Michael A., Arbib, Discrete Mathematics: Applied Algebra for Computer and Information Science, 1st, W. B. Saunders Company, Inc., Philadelphia, 1974, 978-0-7216-1768-8,
- BOOK, Booth, Taylor L., Sequential Machines and Automata Theory, 1st, John Wiley and Sons, Inc., New York, 1967, Library of Congress Card Catalog Number 67-25924,
- BOOK, Boolos, George, Richard, Jeffrey, Computability and Logic, 3rd, Cambridge University Press, Cambridge, England, 1989, 1999, 978-0-521-20402-6,
- BOOK, Brookshear, J. Glenn, Theory of Computation: Formal Languages, Automata, and Complexity, 1989, Benjamin/Cummings Publish Company, Inc., Redwood City, California, 978-0-8053-0143-4,
- BOOK, Davis, Martin, Ron, Sigal, Elaine J., Weyuker, Computability, Complexity, and Languages and Logic: Fundamentals of Theoretical Computer Science, 2nd, Academic Press, Harcourt, Brace & Company, San Diego, 1994, 978-0-12-206382-4,
- BOOK, Hopcroft, John, Jeffrey, Ullman, Introduction to Automata Theory, Languages, and Computation, 1st, Addison-Wesley, Reading Mass, 1979, 978-0-201-02988-8, Introduction to Automata Theory, Languages, and Computation,
- BOOK, Hopcroft, John E., Rajeev, Motwani, Jeffrey D., Ullman, Introduction to Automata Theory, Languages, and Computation, 2nd, Addison-Wesley, Reading Mass, 2001, 978-0-201-44124-6,
- BOOK, Hopkin, David, Barbara, Moss, Automata, Elsevier North-Holland, New York, 1976, 978-0-444-00249-5,
- BOOK, Kozen, Dexter C., Automata and Computability, 1st, Springer-Verlag, New York, 1997, 978-0-387-94907-9,
- BOOK, Lewis, Harry R., Harry R. Lewis, Christos H., Papadimitriou, Christos H. Papadimitriou, Elements of the Theory of Computation, 2nd, Prentice-Hall, Upper Saddle River, New Jersey, 1998, 978-0-13-262478-7,
- BOOK, Linz, Peter, Formal Languages and Automata, 4th, Jones and Bartlett, Sudbury, MA, 2006, 978-0-7637-3798-6,
- BOOK, Minsky, Marvin, Computation: Finite and Infinite Machines, 1st, Prentice-Hall, New Jersey, 1967,
- BOOK, Christos, Papadimitriou, Christos Papadimitriou, 1993, Computational Complexity, Addison Wesley, 1st, 978-0-201-53082-7,
- BOOK, Pippenger, Nicholas, Theories of Computability, 1st, Cambridge University Press, Cambridge, England, 1997, 978-0-521-55380-3,
- BOOK, Rodger, Susan, Thomas, Finley, JFLAP: An Interactive Formal Languages and Automata Package, 1st, Jones and Bartlett, Sudbury, MA, 2006, 978-0-7637-3834-1,
- BOOK, Sipser, Michael, Introduction to the Theory of Computation, 2nd, Thomson Course Technology, Boston Mass, 2006, 978-0-534-95097-2,
- BOOK, Wood, Derick, Derick Wood, Theory of Computation, 1st, Harper & Row, Publishers, Inc., New York, 1987, 978-0-06-047208-5,

### Abstract state machines in theoretical computer science

- JOURNAL, Yuri, Gurevich, Sequential Abstract State Machines Capture Sequential Algorithms, ACM Transactions on Computational Logic, 1, 1, July 2000, 77â€“111,weblink 10.1145/343369.343384, 10.1.1.146.3017,

### Machine learning using finite-state algorithms

- BOOK, Mitchell, Tom M., Machine Learning, 1st, WCB/McGraw-Hill Corporation, New York, 1997, 978-0-07-042807-2,

### Hardware engineering: state minimization and synthesis of sequential circuits

- BOOK, Booth, Taylor L., Sequential Machines and Automata Theory, 1st, John Wiley and Sons, Inc., New York, 1967, Library of Congress Card Catalog Number 67-25924,
- BOOK, Booth, Taylor L., Digital Networks and Computer Systems, 1st, John Wiley and Sons, Inc., New York, 1971, 978-0-471-08840-0,weblink
- BOOK, McCluskey, E. J., Introduction to the Theory of Switching Circuits, 1st, McGraw-Hill Book Company, Inc., New York, 1965, Library of Congress Card Catalog Number 65-17394,
- BOOK, Hill, Fredrick J., Gerald R., Peterson, Introduction to the Theory of Switching Circuits, 1st, McGraw-Hill Book Company, New York, 1965, Library of Congress Card Catalog Number 65-17394,

### Finite Markov chain processes

"We may think of a Markov chain as a process that moves successively through a set of states

*s1*,*s2*, â€¦,*sr*. â€¦ if it is in state*si*it moves on to the next stop to state*sj*with probability*pij*. These probabilities can be exhibited in the form of a transition matrix" (Kemeny (1959), p. 384)- BOOK, Booth, Taylor L., Sequential Machines and Automata Theory, 1st, John Wiley and Sons, Inc., New York, 1967, Library of Congress Card Catalog Number 67-25924,
- BOOK, Kemeny, John G., Hazleton, Mirkil, J. Laurie, Snell, Gerald L., Thompson, Finite Mathematical Structures, 1st, Prentice-Hall, Inc., Englewood Cliffs, N.J., 1959, Library of Congress Card Catalog Number 59-12841, Chapter 6 "Finite Markov Chains".

## External links

{{Commons category|Finite state machine}}- {{dmoz|Computers/Computer_Science/Theoretical/Automata_Theory/Finite_State_Automata/|Finite State Automata}}
- weblink" title="archive.is/20121202054532weblink">
*Modeling a Simple AI behavior using a Finite State Machine*Example of usage in Video Games - Free On-Line Dictionary of Computing description of Finite State Machines
- weblink" title="web.archive.org/web/20181013023517weblink">NIST Dictionary of Algorithms and Data Structures description of Finite State Machines
- A brief overview of state machine types, comparing theoretical aspects of Mealy, Moore, Harel & UML state machines.

**- content above as imported from Wikipedia**

- "

- time: 12:41am EDT - Thu, Aug 22 2019

- "

__finite-state machine__" does not exist on GetWiki (yet)- time: 12:41am EDT - Thu, Aug 22 2019

[ this remote article is provided by Wikipedia ]

LATEST EDITS [ see all ]

GETWIKI 09 JUL 2019

GETWIKI 09 MAY 2016

GETWIKI 18 OCT 2015

GETWIKI 20 AUG 2014

GETWIKI 19 AUG 2014

© 2019 M.R.M. PARROTT | ALL RIGHTS RESERVED