Formal Definition of Deterministic Finite State Machine (DFA):
A DFA is a 5-tuple, (S, Σ, T, s, A), consisting of
a finite set of states (S)
a finite set called the alphabet (Σ)
a transition function (T : S × Σ → S)
a start state (s ∈ S)
a set of accept states (A ⊆ S)
Given an DFA M.
Given a string w.
There is at most one computation path of M with input w.
M accepts w if that computation path ends in a final state.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment