Convert nfa to dfa to c++ [closed]

  automata, c++, dfa, dnf, finite-automata

I need help, i don’t know how to start, the project ask me how can i pass a NFA to DFA, and extract the information in a txt file and the entry have to this like that:

S = {0,1,2,3,4,5,6,7,8,9,10}
S0 = {0}
T = {10}
A = {a,b}
F(0,$) = {1,7}
F(1,$) = {2,4}
F(2,a) = {3}
F(3,$) = {6}
F(4,b) = {5}
F(5,$) = {6}
F(6,$) = {1,7}
F(7,a) = {8}
F(8,b) = {9}
F(9,b) = {10}

The program have to read this and pass to a dfa, but I donĀ“t know how to start, I need the code in c++.

Source: Windows Questions C++

LEAVE A COMMENT