Search
Code Directory
 ASP
 ASP.NET
 C/C++
 CFML
 CGI/PERL
 Delphi
 Development
 Flash
 HTML
 Java
 JavaScript
 Pascal
 PHP
 Python
 SQL
 Tools
 Visual Basic & VB.NET
 XML
New Code
Paste phpSoftPro 1.4.1
Bytescout PDF SDK 1.8.1.243
Odoo Crafito Theme 1.0
Uber Clone- Taxi Booking App 4.1
Excel Add-in for BigCommerce 1.7
Online Food Delivery Script php 1.0.3
Break Script | Youtube Clone Script 1.0.3
Advanced Content Manager Magento 2 extension 2.2.x
dbForge Studio for PostgreSQL 1.0
ODBC Driver for Salesforce MC 1.3
Social Media Script 1.0
ByteScout PDF Renderer SDK 9.0.0.3079
Magento Mobile App Builder 2.0.0
Binary MLM Plan 1.0.2
Review Assistant 4.0
Top Code
Online Food Delivery Script php 1.0.3
Simplified Gradient Descent Optimization 1.0
Issue Manager App 1.0
Ping Pong Game Code Script 1.1
Online Food Ordeing System 1.0
Gradient Descent Visualization 1.0
Java-2-Pseudo 1.0
Planyo online reservation system module 6.x-1.8
Phase Locked Loop Synthesis and Simulation 1.0
Uber Clone- Taxi Booking App 4.1
Ecuaciones Lineales 1.0
Taxi - movement of bacteria to the food 1.0
Student Information Management System 1.0
Memory (a.k.a. Concentration) 1.0
Savsoft Quiz - Online Quiz Management System 1.0
Top Rated
Output Messenger 1.8.0
Aliexpress Clone- Ec21 Script 1
Indiegogo Clone 3.0
Online Food Ordeing System 1.0
PHP Image Resize Script 1.0
Best Spotify Clone 1.0
Get Random Record Based on Weight 1.0.0
PHP Point of sale 10.0
Travel Portal Script 9.29
Magento Product Designer 1.0
OFOS - Just Eat Clone Script 1.0
PrestaShop Upload Images Module 1.2.1
Trading Software 1.2.4
Deals and Discounts Website Script 1.0.2
ADO.NET Provider for ExactTarget 1.0
A flexible state machine class 
File ID: 64077






A flexible state machine class 
Download A flexible state machine class http://code.activestate.com/recipes/577701-a-flexible-state-machine-class/?in=lang-pythonReport Error Link
License: Freeware
Downloads: 38
Submit Rating:
A flexible state machine class  Description
Description: The operation of the state machine is defined by transitions. The transitions
control what value is returned and which new state to switch to, given an
"event" input when in a certain current "state". State machines have many
applications such as games, process controls, and language parsing.

License: Freeware

Related: Class, state machine

O/S:Windows

Downloads: 38



More Similar Code

This program parses the logfile given by the execution of the keylogger
command 'script -c "xinput test ID_CODE" | cat LOG_FILE' and
it is based on a Finite State Machine (FSM) to manage all
the possible combinations of the modifiers that represent the state of the FSM.
The parser gets the mapping between the couple of keycode and modifier typed
and the corresponding char by xmodmap command. The parser is...



This is a simple state machine that takes a functional approach.
It requires trampoline from pysistence.func to avoid the recursion limit.

Namedtuples are used to define the different states.
globals() is used to reference the...



This recipe shows a Finite State Machine (FSM) that can be used for small parsing tasks. The code is quite simple. The bulk of it is comments. In addition to state this FSM also maintains a user defined "memory". So this FSM is a...



A Finite State Machine Editor, written on QT.
It allows to draw Finite State Machine with easy GUI and store it in XML file.

There are Finite State Machine Compilers to translate this description to source code (technique like...



A generic state machine in C#, based on implementation by Leslie Sanford.

Source Code can be found here:
https://github.com/OmerMor/StateMachineToolkit

Binaries available through nuget:



The FSKC is a CASE tool that allows developers to specify all valid and invalid state-event combinations of a finite state machine (FSM) through a simple to use GUI. Functions called from the FSK can be coded and linked to form a complete FSM.



SCXML which means State Chart XML defines an easy way to describe a finite state machine through an XML file. SCXML is currently a working draft by the W3C. SSCXML (Simple SCXML) is a C++ library implementing the draft.



SmGen is a finite state machine generator for Verilog. Not an FSM entry tool though. The input is behavioral-like Verilog. SmGen generates a synthesizabe FSM based design from it. Clock boundaries are explicitly provided by the designer.



FSMDesigner is a C++ based implementation for a Finite State Machine (FSM) design tool with integrated Hardware Description Language (HDL) generation. FSMDesigner4 uses the Simple-Moore FSM model guaranteeing efficient fast complex control circuits.



This project is a UML state machine compiler like state4j but eclipse based. A UML Statechart model it's compiled into simple java source code (does not require any external library for java compilation).

User Review for A flexible state machine class
- required fields
     

Please enter text on the image