Tech moves fast! Stay ahead of the curve with Techopedia!
Join nearly 200,000 subscribers who receive actionable tech insights from Techopedia.
A deterministic finite automaton is a type of deterministic algorithm based on a state that changes with inputs. These are also known as deterministic finite state machines or deterministic finite acceptors.
They are different from probabilistic and non-deterministic models in that one input (X) results in one known output (Y).
DFAs are useful in many different types of applications. For example, they have been useful in video game programming, for instance, creating the algorithmic movements of characters in the classic game Pac-Man.
Another common use of a DFA is in vending machines where a series of states reacts to transition functions in analyzing units of money inputted into the machine to determine when a purchase price has been met.
Although deterministic models have been the traditional mainstay in programming, new probabilistic and non-deterministic models are slowly emerging. The difference is that non-deterministic models can choose between various outcomes according to inputs, and are able to learn or evolve independent of explicit programming instruction.