The Moore & Mealy Converter is a Python application built using the Tkinter library for creating a seamless graphical user interface. This application allows users to visualise and convert between Moore and Mealy finite state machines.
- Moore to Mealy Conversion: Converts a Moore machine to a Mealy machine.
- Mealy to Moore Conversion: Converts a Mealy machine to a Moore machine.
- Graphical Visualization: Visualizes the state machines using NetworkX and Matplotlib libraries.
- Run the Python script
main.py
to launch the application. - The main menu offers options for Moore to Mealy and Mealy to Moore conversion.
- Enter the number of states and transitions for the Moore machine and click "Proceed".
- Input the outputs for each state and the transition details.
- Click "Display Moore" to visualise Moore machine.
- Click "Generate Mealy" to visualise the generated moore machine.
- Enter the number of states and transitions for the Mealy machine and click "Proceed".
- Input the output and transition details for each state.
- Click the "Display Mealy" button to visualise Mealy machine.
- Click the "Generate Moore" button to visualise the generated Moore machine.
- The graphical representation shows states, transitions, and outputs.
- Python 3.x
- Tkinter
- NetworkX
- Matplotlib
- Syed Ali Murtaza
For any inquiries or feedback, please contact alimurtazaathar@gmail.com
#python #tkinter #networkx #matplotlib #moore #mealy #mooretomealy #mealytomoore