State machine design

From CSSEMediaWiki
Revision as of 13:56, 13 August 2009 by BenMcDonald (Talk | contribs)
Jump to: navigation, search

Finite State Machine

1. Design a simple finite state machine.

2. Extend the design to allow deterministic or non-deterministic variants.

Solution

This solution uses the Intelligent children pattern to avoid the Parallel hierarchies problem that would occur if a DeterministicState could interact with a NonDeterministicFSM. StateMachine.png

Personal tools