Definition
Deterministic Finite Automaton
A deterministic finite automaton (DFA) is a automaton that has a finite number of states and the transition function is deterministic.
where:
- is a finite set of states,
- is the input alphabet,
- is the transition function
- is the initial state, and
- is the set of accepting (final) states (subset of ).
It processes input symbols (or strings) by transitioning between states according to and determines acceptance based on whether the final state is in .
All deterministic finite automata are Nondeterministic Finite Automaton.
Example
The following automaton is defined by the following quintuple:
The transition function can be described using an operation table:
State | Symbol | Next State |
---|---|---|