- regular expression->
- non-deterministic finite automaton (NFA) with epsilon transitions->
- NFA without epsilon transitions->
- deterministic finite automaton (DFA)->
- minimized DFA
- Back-transfer accepting states all the way back--don't overlook any epsilon transitions
- Verify the NFA works as intended at each step of the process--if something seems amiss, it probably is.
- Maintaining neatness and order for lines between states helps minimize confusion.
- Grid/graph paper helps with drawing straight lines and uniform circles.
- Remove states inaccessible from the Start state only after eliminating all epsilon transitions to and from them.
- Use a mechanical pencil and a slab eraser to correct the mistakes
Hope this helps in some small way.
No comments:
Post a Comment