Skip to content

zahrasalarian/State-Machines

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 

Repository files navigation

State-Machines

membership_algorithm.py:

Gives a file named "DFA_input_1.txt", including description of a DFA in below format:

//alphabet:
a b
//states:
Q0 Q1 Q2
//start state:
Q0
//final state:
Q1
//functions:
Q0 a Q1
Q2 b Q2
Q0 b Q1
Q2 a Q2
Q1 a Q2
Q1 b Q2

NFA_to_DFA.py:

Gives description of a NFA in "NFA_input_2.txt" file in the format mentioned above and convert it to DFA and put it in new .txt file named "DFA_Output_2.txt".

Releases

No releases published

Packages

No packages published

Languages