Latest recipes tagged "automation"http://code.activestate.com/recipes/tags/automation/new/2012-12-15T19:24:18-08:00ActiveState Code RecipesSimple Finite State Machine class - v2 (Python)
2012-12-15T19:24:18-08:00Tony Fluryhttp://code.activestate.com/recipes/users/4184150/http://code.activestate.com/recipes/578344-simple-finite-state-machine-class-v2/
<p style="color: grey">
Python
recipe 578344
by <a href="/recipes/users/4184150/">Tony Flury</a>
(<a href="/recipes/tags/automation/">automation</a>, <a href="/recipes/tags/finitestatemachine/">finitestatemachine</a>, <a href="/recipes/tags/tokeniser/">tokeniser</a>).
Revision 4.
</p>
<p>This may not be useful to many people, but this is a very simple finite state machine. It is defined as a class so that you can have multiple state machines running at the same time - all with different state/transition lists.</p>
Simple Finite State Machine class (Python)
2012-11-20T14:37:34-08:00Tony Fluryhttp://code.activestate.com/recipes/users/4184150/http://code.activestate.com/recipes/578332-simple-finite-state-machine-class/
<p style="color: grey">
Python
recipe 578332
by <a href="/recipes/users/4184150/">Tony Flury</a>
(<a href="/recipes/tags/automation/">automation</a>, <a href="/recipes/tags/finitestatemachine/">finitestatemachine</a>, <a href="/recipes/tags/tokeniser/">tokeniser</a>).
</p>
<p>This may not be useful to many people, but this is a very simple finite state machine. It is defined as a class so that you can have multiple state machines running at the same time - all with different state/transition lists.</p>