Finite State Machine library Introduction
2010-10-14 22:07
405 查看
Finite State Machine library is a multi-thread pool C++ lib focus on finite state machine.You can use this lib on the scenario where you should deal with many states, each state, you may receive some events, then base on the event you received, the state will change into another state.
The library has three main concepts, first, of course State, which means the current status.The second concept is Event, which means what happens.And the last concept is FSM, the FSM is composed by the States, Which has initial state,end state, and several middle states, every states should be registered at least one or more events.So whenever the FSM received an Event sended to it, it will check the current State whether this Event has been registered on current State, if so, it will deal with it, and after it, change the status into other State, if not, it will call the default headler.
the library is a multi-thread pool libary,which means you can create several FSMs which may deal with the same things or not, base on your tasks;
Still it has auxiliary method for your to debug the library, by the tracer sub-system,you can tracer the whole execution environment ,also it's easy to learn.and easy to switch on/off the tracer info just by add some number :)
You may find that the there are one example at the example directory, one example couldn't explain everything but the main point.
Hope you have a nice journey on the FSM lib, any problem,just debug it or send me the mail,sunnydogzhou@hotmail.com
The library has three main concepts, first, of course State, which means the current status.The second concept is Event, which means what happens.And the last concept is FSM, the FSM is composed by the States, Which has initial state,end state, and several middle states, every states should be registered at least one or more events.So whenever the FSM received an Event sended to it, it will check the current State whether this Event has been registered on current State, if so, it will deal with it, and after it, change the status into other State, if not, it will call the default headler.
the library is a multi-thread pool libary,which means you can create several FSMs which may deal with the same things or not, base on your tasks;
Still it has auxiliary method for your to debug the library, by the tracer sub-system,you can tracer the whole execution environment ,also it's easy to learn.and easy to switch on/off the tracer info just by add some number :)
You may find that the there are one example at the example directory, one example couldn't explain everything but the main point.
Hope you have a nice journey on the FSM lib, any problem,just debug it or send me the mail,sunnydogzhou@hotmail.com
相关文章推荐
- Finite State Machine library V1.0 Release
- Recommended FSM (Finite State Machine) Library for Java [closed]
- paper:synthesizable finite state machine design techniques using the new systemverilog 3.0 enhancements 之 standard verilog FSM conding styles(三段式)
- Finite State Machine 有限状态机
- A Go library implementing an FST (finite state transducer)——mark下
- Finite State Machine
- FSM(finite state machine)
- 译:Finite State Machine Datapath Design, Optimization, and Implementation(一)
- 【Unity】Finite State Machine 有限状态机
- FSM (Finite State Machine Framework)源码共享
- The finite state machine
- 有限状态机(Finite State Machine)在游戏中的应用和实现
- 有限状态机——The finite state machine
- Finite State Machine
- paper:synthesizable finite state machine design techniques using the new systemverilog 3.0 enhancements 之 FSM Coding Goals
- Unity 有限状态机(Finite State Machine)的理解 与 实现简单的可插拔(Pluggable)AI脚本对象。
- paper:synthesizable finite state machine design techniques using the new systemverilog 3.0 enhancements 之 standard verilog FSM conding styles(二段式)
- Finite State Machine 是什么?
- Are Osworkflow and Activiti based on Finite State Machine(FSM)?
- Pattern Recognition and Machine Learning-02-1.0-Introduction