Computer Science, asked by chunnu1548, 1 year ago

Convert nondeterministic finite automaton to deterministic finite automaton?

Answers

Answered by SnehaG
0
nondeterministic can be made as terministic by removing nonde....
Answered by Anonymous
0

Conversion from NFA to DFA

Suppose there is an NFA N < Q, ∑, q0, δ, F > which recognizes a language L. Then the DFA D < Q’, ∑, q0, δ’, F’ > can be constructed for language L as:

Step 1: Initially Q’ = ɸ.

Step 2: Add q0 to Q’.

Step 3: For each state in Q’, find the possible set of states for each input symbol using transition function of NFA. If this set of states is not in Q’, add it to Q’.

Step 4: Final state of DFA will be all states with contain F (final states of NFA)

Similar questions