Question
Deterministic and Non-deterministic finite automata
Answer :
Word Count : 392
| Feature | Deterministic Finite Automata (DFA) | Non-Deterministic Finite Automata (NFA) |
|---|---|---|
| Definition | A DFA is an automaton where for each state and input symbol, there is exactly one transition to a next state. | An NFA allows for multiple transitions for a given state and input symbol, or even no transition at all. |
| Transition Function | The transition function is a function δ:Q×Σ→Q\delta: Q \times \Sigma \to Qδ:Q×Σ→Q, where Σ\SigmaΣ is the input alphabet, and QQQ is the set of states. | The transition function is a relation δ:Q×Σ→2Q\delta: Q \times \Sigma \to 2^Qδ:Q×Σ→2Q, meaning it can map to a set of states. |
| Uniqueness of Transitions | Each state and input symbol pair has exactly one transition. | ___ ______ _______ ___ __________ __________ __________ _________ ____ ______ ____ ______.