Question: Write a program in java that simulates the execution of the following fininite automatas. You need to implement a graphical user interface. 1. A Deterministic
Write a program in java that simulates the execution of the following fininite automatas. You need to implement a graphical user interface.
1. A Deterministic Finite Automaton that recognizes the language {0*1*}
2. A Deterministric Finite Automaton with five states that recognizes {w| w contains an even number of a's and an odd number of b's and does not contain the substring ab}
3. A Non-deterministic Finite Automaton the recognizes 0*1*0 with 3 states
Essentially, in the graphical user interface, if someone were to input any string into the program, each finite automaton would show the process of accepting or rejecting the input. When each finite automaton moves from one state to another state this needs to be highlighted.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
