Difference between revisions of "Theoretical Aspects of Lexical Analysis/Exercise 25"

From Wiki**3

< Theoretical Aspects of Lexical Analysis
(Created page with "__NOTOC__ Compute the non-deterministic finite automaton (NFA) by using Thompson's algorithm. Compute the minimal deterministic finite automaton (DFA). The alphabet is Σ = {...")
 
(No difference)

Latest revision as of 09:59, 6 July 2018

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-co-ex25-nfa-dfa.jpg Solution-co-ex25-dfa-graph-min-tree-graph-input.jpg