251 followers
A finite state machine (FSM) 1 consists of a set of states and a set of transitions between pairs of states . A transition is labeled : a C.O.N.D.I.T.I.O.N that causes the transition to be taken and an action that is performed when the transition is taken.