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
Taxi App Development 7.3
RentALL-Airbnb clone script 1.8.0
VisualNEO Web 19.4.5
PHP Ecommerce Script 1.3.2
dbForge Studio for PostgreSQL 2.1
Rentonn - Airbnb clone 1.0
VisualNEO for Windows 18.08.31.0
SentiVeillance SDK Trial 7.0.191272
dbForge SQL Complete 6.1
Uber for E-Scooters 1.0
ODBC Driver for MySQL 2.4
dbForge Schema Compare for MySQL 4.4
dbForge Studio for MySQL 8.1
dbForge Query Builder for MySQL 4.4
dbForge Data Compare for MySQL 5.5
Top Code
JChartLib 1.0
Efficient Conjugate Gradient Method for Symmetric Banded Matrix 1.0
Binary MLM Plan 1.0.2
Content Management Framework (CMF) 1.5.0
decision based median filter 1.0
PHP Cheat Sheet
Knapsack problem 1.0
untrimmed median filter 1.0
DSPLAB for Delphi 2.01
b64 -- Base64 Encode/Decode Utility 1.0
Using GetDate Function in an SQL Statement
Tutorials on Creating, Compiling and running CUDA Accelerated programs in Matlab 1.0
The Travelling Salesman Problem using GA 1.0
Comment Approval Notification 1.1.1
EBookLibrary 1.0
Top Rated
Paste phpSoftPro 1.4.1
Deals and Discounts Website Script 1.0.2
ADO.NET Provider for ExactTarget 1.0
Solid File System OS edition 5.1
Classified Ad Lister 1.0
Aglowsoft SQL Query Tools 8.2
Invoice Manager by PHPJabbers 3.0
ICPennyBid Penny Auction Script 4.0
PHP Review Script 1.0
ATN Resume Finder 2.0
ATN Site Builder 3.0
Availability Booking Calendar PHP 1.0
PHP GZ Blog Script 1.1
ATN Jobs Software 4.0
ATN Mall 2.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