Multithreaded Python FSM (Harel State Machines)
Leonard J. Reder
reder at jpl.nasa.gov
Wed Jun 15 21:00:43 EDT 2005
Hello, I am sending this out again in hopes that someone will
have some meaningful comments on FSM (finite state machine)
modules avaliable for Python. Hope to get a reply or two
this time. Thanks.
Leonard J. Reder wrote:
I have been searching on the web for a specific Python
implementation of a FSM. More specifically looking
for a Harel State Machine implementation.
The Harel State Machine allows multi-threaded capable state
machines with hierarchical representation capability (nested
instances of state machines). They also have a unique conditional
trigger symbol scheme for event representation and state machine
transitions. Usually the multiple threads communicate over some
sort of queue.
I have seen some implementations of simple FSMs and some
interesting descriptions of how the generator/yeild Python keywords can be
used. I think Python has all the pieces to make a Heral implementation.
Does anyone know of a Python implementation of FSM that comes close to
this functionality? Any comments or recommendation for FSM packages
that I could add this functionality to would be welcome. I
certainly think someone has done this approach already.
All replies are very much appreciated.
Thanks for reading this and please reply.
Regards,
Len
--
____________________________________________________
Leonard J. Reder
Jet Propulsion Laboratory
Interferometry Systems and Technology Section 383
Email: reder at huey.jpl.nasa.gov
Phone (Voice): 818-354-3639
Phone (FAX): 818-354-4357
Mail Address:
Mail Stop: 171-113
4800 Oak Grove Dr.
Pasadena, CA. 91109
---------------------------------------------------
More information about the Python-list
mailing list