Images like the above are great for human use, but not machines. State transitions and the actions that trigger them can also be defined in a table format that can be processed by a computer. The above FSM can be represented using the table below.
The requirements for each state can also be defined using tables. The table below contains sample requirements for example keyless entry system.
1 comment:
Mr Simo,
I applaud your promotion on the usefulness of FSMs in software(testing). You would probably be interested in Staccato(TM) at www.mapletechproductions.com.
Post a Comment