Theoretical Aspects of Lexical Analysis/Exercise 17

From Wiki**3

< Theoretical Aspects of Lexical Analysis
Revision as of 20:40, 23 April 2024 by Root (talk | contribs) (Solution)

(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 }. Indicate the number of processing steps for the given input string.

  • G = { a*, ba*, a*|b }, input string = aababb

Solution

Solução completa

Asbasasob1.jpg Asbasasob2.jpg