Theoretical Aspects of Lexical Analysis/Exercise 20

From Wiki**3

< Theoretical Aspects of Lexical Analysis
Revision as of 16:29, 10 April 2016 by Root (talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Compute the non-deterministic finite automaton (NFA) by using Thompson's algorithm. Compute the minimal deterministic finite automaton (DFA).
The alphabet is Σ = { a, b, c }. Indicate the number of processing steps for the given input string.

  • G = { a|b*, b|c*, a*|c }, input string = abbcac

Solução

Solução completa

Solution-nfa-dfa-ex20.jpg