Next: The language of a
Up: Deterministic finite automata (2.2)
Previous: Deterministic finite automata (2.2)
A deterministic finite automaton (DFA)
is given by:
- A finite set of states ,
- A finite set of input symbols ,
- A transition function
,
- An initial state ,
- A set of accepting states
.
As an example consider the following automaton
where
The DFA may be more conveniently represented by a transition table:
The table represents the function , i.e. to find the value of
we have to look at the row labelled and the column labelled .
The initial state is marked by an and all final states are marked by .
Yet another, optically more inspiring, alternative are transition diagrams:
There is an arrow into the initial state and all final states are
marked by double rings. If
then there is an arrow
from state to which is labelled .
We write for the set of words (i.e. sequences) over the
alphabet . This includes the empty word which is written
. I.e.
Next: The language of a
Up: Deterministic finite automata (2.2)
Previous: Deterministic finite automata (2.2)
Thorsten Altenkirch
2001-05-08