- nfa.py: Contains the
NFAclass and epsilon-closure logic. - dfa.py: Contains the
DFAclass and subset construction logic. - main.py: Example usage, creating an NFA, constructing a DFA, and printing the DFA.
- testingSuite.py: Unit tests of edge cases for the subset construction.
- Run main.py to run an example NFA-DFA conversion:
python main.py
- Run testingSuite.py to run unit tests:
python testingSuite.py