| Minimization of Deterministic Finite Automata (DFA) | ||
| For any given DFA M accepting L we can construct the minimal state DFA accepting L by using an algorithm which uses following generic steps.
Inaccessible states can easily be found out by using a simple research e.g. depth first search. removing trap states are also simple. In the example, states 5 and 6 are inaccessible and hence can be removed, states 1 and 2 are equivalent and can be merged. Similarly states 3 & 4 are also equivalent and can be merged together to have the minimal DFA To construct the minimal DFA we need to see how to find out indistinguishable or equivalent states for merging. we start with a definition and then proceed to find method to construct minimal state DFAs. |
||