WHAT ARE THE STATE MACHINES.
INTRODUCTION:
A state
machine is any device storing the status of something at a given time. The
status of something at a given time. The status changes based on inputs,
providing the resulting output for the implemented changes. A finite state
machine has finite internal memory. Input symbols are read in a sequence
producing an output feature in the form of a user interface.
State machines are represented using state diagrams. The output of a
state machine is a function of the input and current state. State machines play
a significant role in areas such as electrical engineering.
The operation of a state machine begins from a start state. On a
successful transition it ends up in an accept state. The transition takes place
based on the inputs provided. The current state depends on the past states of
the systems. The number of states formed depends on the available states of
memory. A transition is enabled based on
certain conditions and indicates a state change. An action describes an
activity performed at the given moment. The different types of actions are
transition actions, input action, entry and text action.
No comments:
Post a Comment