You are here

README.txt in State Machine 6

Same filename and directory in other branches
  1. 7.3 README.txt
  2. 7 README.txt
  3. 7.2 README.txt
Finite State Machine
--------------------
A machine is a device which accepts some inputs, possibly produces some output,
and has some memory sorting information on the overall results of all previous
inputs.

The condition of the machine at a particular instance is called a state of the
machine. New input changes the state, may be to another state, and may be to
the same state. The effect of a new input depends on the present state the
machine is in.

If the total number of possible states is finite, the machine is called finite
state machine, eg. a computer.



Event Execution Summary
-----------------------
1. Check the event's guard condition.  Stop here if FALSE.
2. Event::before_transition
3. CurrentState::on_exit
4. Update state in machine
5. NewState::on_enter
6. Event::after_transition

File

README.txt
View source
  1. Finite State Machine
  2. --------------------
  3. A machine is a device which accepts some inputs, possibly produces some output,
  4. and has some memory sorting information on the overall results of all previous
  5. inputs.
  6. The condition of the machine at a particular instance is called a state of the
  7. machine. New input changes the state, may be to another state, and may be to
  8. the same state. The effect of a new input depends on the present state the
  9. machine is in.
  10. If the total number of possible states is finite, the machine is called finite
  11. state machine, eg. a computer.
  12. Event Execution Summary
  13. -----------------------
  14. 1. Check the event's guard condition. Stop here if FALSE.
  15. 2. Event::before_transition
  16. 3. CurrentState::on_exit
  17. 4. Update state in machine
  18. 5. NewState::on_enter
  19. 6. Event::after_transition