State machine design

From CSSEMediaWiki
(Difference between revisions)
Jump to: navigation, search
m (Reverted edits by Ebybymic (Talk); changed back to last version by Warwick Irwin)
 
(9 intermediate revisions by 3 users not shown)
Line 3: Line 3:
  
 
2. Extend the design to allow deterministic or non-deterministic variants.
 
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.
 
[[Image:StateMachine.png]]
 

Latest revision as of 03:21, 25 November 2010

Finite State Machine

1. Design a simple finite state machine.

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

Personal tools