Question:
What is the finite state automaton for the GameChannel class of
Assignment 5? The automaton has 6 states.
It can receive 8 possible signals.
Don't worry about the outputs.
Answer: The start state is CHANNEL_CLOSED. The notion of accepting state doesn't apply here. I've placed dashes in many places where behavior would not need to be defined.
input
state 1 2 3 4 5 6 7 8 9
A B - - - - - - - -
B - - - - - - A E C
C - A E - - D A - -
D - A E - - - A - -
E - A - C F - A - -
F - A - C - - A - -