Finite state machine (FSM) graphs include nodes which represent
the allowable states of the FSM, and directed links which represent
the allowable state transitions for the FSM. An FSM occupies only
one state at any given time, and its behavior consists of the
sequence of states it occupies over any given time period.
F = {S, T, I, O}
where
S is the set of states
T is the set of transition link tuples
I is the set of a set of inputs for each transition link
O is the set of one output for each transition link
- The nodes of the FSM have a property that designates the distinct
states of the FSM. These are often names or indices.
- Each link of the FSM has a designated set of one or more
input tokens which, when input while in the domain state will
cause the FSM to transition to the link's range state.
- Often each link of the FSM has one designated output token
that is generated by the FSM if the link transition is triggered.