Manage the state of a VerseMatch session.
If VerseMatch is the heart of the program, then state is the brain.
All user interactions are processed by the State class listed below.
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...
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...
Had to put state codes with their FIPS code into a dict, and took way longer than I expected. Thought someone else might benefit from this.
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 is a state machine template. It can be used as a state machine, or a state machine tester. There is very little setup required and all the states are added based on the state docstring. I made this after a friend came to me asking how I'd...
A very simple idiom for implementing a state machine.
General state machine mechanism plus a specialized version, LineStateMachine, for processing text files based by using regular expressions to determine state transitions.
Provides is a module that gives support for implementing state machines. States are implemented as subclasses, derived from the state machine class. Methods that are state dependant or which cause transitions are declared using decorators....
The model simulates space vector based three phase inverter with the state space model of thefilter. The model parameters such as frequency, switching frequency, load parameters, voltage, modulation index and filter A,B,C,D parameters.