You are on page 1of 10

BASICS OF FINITE AUTOMATA

Neenu Prasad

Automaton
The system in which information is transmitted and used
for performing some functions without direct participation of man. Mathematical model of a system with discrete i/ps and o/ps System can be in any number of internal configurations on

states.

Cont..
Automaton without Memory
O/p depends only on the i/p

Automaton with Memory


o/p depends on i/p and state

Deterministic Finite Automata (DFA)


The machine can exist in only one state at any given time

Non-deterministic Finite Automata (NFA)


The machine can exist in multiple states at the same time

Moore and Mealy Machine


Moore Machine
An automaton in which output depends only on state of the machine.

Mealy Machine
An automaton in which the output depends on state and the

input at any instant of time

Definition
Can be defined analytically by a 5 tuple
M={Q,,,q0,F), Where Q=finite set of states =finite set of inputs called input alphabet

=mapping or transition function which maps Q x


q0 ==> a start state

F=set of final states

TRANSITION SYSTEM
Finite directed labeled graph Vertex or represents state Directed edge indicates transition of a state Edges are labeled with inputs Final state is indicated by double centric circles

TRANSITION SYSTEM
a
q3

b
q1

a
q0

b
q2

a a
b b
q4

Transition table
State a b

qo
q1 q2 q3 q4

q1
q1 q4 q1 q4

q2
q3 q2 q3 q2

Cont..
Here, initial state is q0 Final state is q3 and q4 When qo receives input a,it goes to another state q1,and when

the input is b ,it goes to q2.This is indicated as directed


labeled edges. This continues for each and every state and at the end moves to final state.This transition with inputs and states are represented in the above transition table

You might also like