Skip to content

Commit 0af9855

Browse files
author
backtojuan
committed
Application partially finished for delivery, automaton creation, states addition, transitions addition, and connected resume working.To be continued.
1 parent 4471472 commit 0af9855

15 files changed

Lines changed: 396 additions & 67 deletions

README.md

Lines changed: 18 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,8 @@ ________________________________________________________________________________
2626

2727
On screen you can see different tabs. The "Automaton" tab presents an interactive form where it is listed all necessary fields to create an automaton, add states and add transitions. The "Connected resume" tab presents the resultant connected automaton given the one it was created previously on the "Automaton" tab. The "Minimum resume" tab presents the resultant minimum automaton given the one it was created previously on the "Automaton" tab.
2828

29+
When you decide it is time to close the application you must click the "door out" icon.
30+
2931
5. Let's start by creating an automaton:
3032

3133
![createAutomaton(1)](https://github.com/backtojuan/AutomatonProgram/blob/master/overview/createAutomaton(1).jpg)
@@ -36,7 +38,7 @@ ________________________________________________________________________________
3638

3739
![createAutomaton(4)](https://github.com/backtojuan/AutomatonProgram/blob/master/overview/createAutomaton(4).jpg)
3840

39-
In the first section, you must need to select if your automaton is either a "Mealy" or "Moore" one. Then you need to specify the alphabet set for the automaton, on the alphabet field you need to enter each symbol of the alphabet separated with a comma. Then you need to specify how many states and how many transitions the automaton contains. If everything is right you can press the button "start" to start adding states.
41+
In the first section, you must need to select if your automaton is either a "Mealy" or "Moore" one. Then you need to specify the alphabet set for the automaton, on the alphabet field you need to enter each symbol of the alphabet separated with a comma. Then you need to specify how many states and how many transitions the automaton contains. If everything is right you can click on the button "start" to start adding states.
4042

4143
6. To add states:
4244

@@ -46,30 +48,38 @@ ________________________________________________________________________________
4648

4749
![addState(3)](https://github.com/backtojuan/AutomatonProgram/blob/master/overview/addState(3).jpg)
4850

49-
In the second section, you must need to enter the name or identifier of the state and if the case that your automaton is a moore one you will have to enter the ouput symbol associated with that state. Once you have entered all your states you will not have the opportunity to enter more than the number that you specified In the automaton section.
51+
In the second section, you must need to enter the name or identifier of the state and if the case that your automaton is a moore one you will have to enter the ouput symbol associated with that state. If everything is right you can click on the button "add" to add the state. Once you have entered all your states you will not have the opportunity to enter more than the number that you specified In the automaton section.
5052

5153
7. To add transitions:
5254

5355
![addTransition(1)](https://github.com/backtojuan/AutomatonProgram/blob/master/overview/addTransition(1).jpg)
5456

5557
![addTransition(2)](https://github.com/backtojuan/AutomatonProgram/blob/master/overview/addTransition(2).jpg)
5658

57-
In the third section, you must need to enter the input of the transition, and specify from which state the transition goes and to which one it ends after processing the input symbol. In the case that the automaton is a mealy one you will need to specify the output symbol associated with that transition. Once you have entered all your transitions you will not have the opportunity to enter more than the number that you specified In the automaton section.
59+
In the third section, you must need to enter the input of the transition, and specify from which state the transition goes and to which one it ends after processing the input symbol. In the case that the automaton is a mealy one you will need to specify the output symbol associated with that transition. (Remember the input/output symbol must match with the symbols of the alphabet that you specified in the first section when creating the automata). If everything is right you can click on the button "add" to add the transition. Once you have entered all your transitions you will not have the opportunity to enter more than the number that you specified In the automaton section.
5860

5961
8. To generate the connected automaton:
6062

61-
To generate the connected automaton, you just need to press the button "Generate Connected Automaton" once done, on the connected tab you will see the resume of the automaton.
63+
![connectedAutomaton(1)](https://github.com/backtojuan/AutomatonProgram/blob/master/overview/connectedAutomaton(1).jpg)
64+
65+
![connectedAutomaton(2)](https://github.com/backtojuan/AutomatonProgram/blob/master/overview/connectedAutomaton(2).jpg)
66+
67+
To generate the connected automaton, you just need to press the button "Generate Connected Automaton" once done, on the
68+
69+
connected tab you will see the resume of the automaton.
6270

6371
9. To generate the minimum automaton:
6472

73+
![minimumAutomaton(1)](https://github.com/backtojuan/AutomatonProgram/blob/master/overview/minimumAutomaton(1).jpg)
74+
75+
![minimumAutomaton(2)](https://github.com/backtojuan/AutomatonProgram/blob/master/overview/minimumAutomaton(2).jpg)
76+
6577
To generate the minimum automaton, you just need to press the button "Generate Minimum Automaton" once done, on the connected tab you will see the resume of the automaton.
6678

6779
10. To start with a new automaton:
6880

6981
![addNewAutomaton(1)](https://github.com/backtojuan/AutomatonProgram/blob/master/overview/addNewAutomaton(1).jpg)
7082

71-
![addNewAutomaton(1)](https://github.com/backtojuan/AutomatonProgram/blob/master/overview/addNewAutomaton(2).jpg)
72-
73-
Once you added you have created your automaton, added your states, added your transitions and obtained either the connected automaton or the minimum one you can choose if you want to add a new automaton, the "Add a new automaton" button will help you with this, resetting the form to repeat the process again starting with step 5.
83+
![addNewAutomaton(2)](https://github.com/backtojuan/AutomatonProgram/blob/master/overview/addNewAutomaton(2).jpg)
7484

75-
85+
Once you added you have created your automaton, added your states, added your transitions and obtained either the connected automaton or the minimum one you can choose if you want to add a new automaton, the "Add a new automaton" button will help you with this, resetting the form to repeat the process again starting with step 5.

bin/model/Automaton.class

1.8 KB
Binary file not shown.

bin/model/State.class

886 Bytes
Binary file not shown.

overview/addTransition(2).jpg

-192 Bytes
Loading

overview/connectedAutomaton(1).jpg

76.3 KB
Loading

overview/connectedAutomaton(2).jpg

35.9 KB
Loading

overview/generalview(2).jpg

17.2 KB
Loading

overview/generalview(3).jpg

14.5 KB
Loading

overview/minimumAutomaton(1).jpg

75.7 KB
Loading

overview/minimumAutomaton(2).jpg

34.5 KB
Loading

0 commit comments

Comments
 (0)