[Overview] [Previous] [Next]
Formal Definition of a DFA
A deterministic finite acceptor or dfa is a quintuple:
M = (Q,
,
,
q0, F)
where
- Q is a finite set of states,
is a finite set of
symbols, the input alphabet,
: Q
Q is a transition function,
- q0
Q
is the initial state,
- F
Q is
a set of final states.
Note: The fact that
is
a function implies that every vertex has an outgoing arc for each member of
.
We can also define an extended transition function 
as

:
Q

Q.
If a DFA M = (Q,
,
,
q0, F) is used as a membership criterion, then the set of strings accepted by
M is a language. That is,
L(M) = {w

:

(q0,
w)
F}.
Languages that can be defined by dfas are called regular languages.
Copyright © 1996 by David Matuszek
Last modified Jan 29, 1996