You are on page 1of 8

Tiloia 200009IOMD

Apona-k.
De-ftne DEA and NE- tStmally.

Oeteimiristio finite
A DEA
Ans
Acdormation ) ia
a mathe motfca mode0 afinYte state
maaine that acceps di sejeats ctsin

t i n r e et of sites
nput mbols
ni tial stte
set accepine siate.
Aangi-tion -{unotion ttat tokesthe cuuest
tate t an inpt sumbet
DeEt state
TetuAns the

An EA Lu eîmilas to a DEA out oitha tey


difexence t alouo matple tranatBone om
a gten etste input Smbetf
Afinute e t o srtates
-t sct o4 ingttt &ymlats
t a n d i t i o n -eenotton t a t fakes ie aent

set q
inpt ymbol o t o u l a
he tates
gtate
Arntteal

*
iuu languaqe
language

h o t acce
that
pls
pts
ace

DFA
a
2Costret
C o u s f Y u e t

Cnstraunts

t w e So.12* |w
7t-S 2 t o o lool , ootool,o105l,
DF M (Q.6 l4)

L nAo statelo

Swe Can define n 3mys

Tantion Tate

Lo

Transition Mappin-functon

xo10 & ) , {t13 D1


4xt21& b) »11j[yt)-t.
S211)
fl,0)3
S4)
NPP bSPA

wldte eps fS1 aonvetttn9


the

vice-Noua Oth
a D Eeamle fom eaah
C

NEA 6 DDF A
e
tS CoNeHng

efe the stattom


Sta t
take the
4 e wie
DE 6
a gtrsin9 Stad e
Starte NF- as
Find the

Cn oe roued onm tio preerit


nat meana teo arion toatintalsue
&-As e 4Sead torte o1 NE Pvesert
AD te Ctret tate o 0EA

he Stotetoka tta3
a
3. coe found
tate raeat
StEp 2
Cedert

4-Pepet Step% Step3 un HAete iu no

the transition
De tate presect n
asle ooE -
Maok +es Sfates DEA aS a finia stote
s.
ate EA
otaa Cottodus 4he final a

IS o
o.
PS
rans tHon
Tyanstion dio91am Mappie

F,
Loi
2 No uDe heea to conVest+he Ned JRP
Tanitton
ta
tet
le e conttaut e

et
anuitton

ak e
ooe
.

Chte

L , abS2.

bete fnoatates S&


S
let re
Conctut te angtoD table Ded

tat e
tae

S
In-utttal

Convestt the ollouoing, NPA to DEA


o

Sd
M a, 8,to,11

Can be dtfne tn 3ua


ransrtion Dagam abreod+ 7Vten)
N
Mappnq Tunetion

sto)
&C )
C , o):
l ow we nee d to
C
Contet + gcen

et e conarurt
ee Franeftton Table

stabo
anaHon D09am

let ake Lo T-aung+BoD Tasle


tot

e s, l t e inia Note S
S S
S
2.
te 'lhe algorthm a t Covexts NEA

xplai n hou ou1 algeni tam


O
):
u ) Consruet he Tanaltton talole
hete NEA en kine
) Scan 4he net 3tate celumn in he
anston table som he i t i a l 1 t
n a l tate .oatmeans t a unon uan
trandtd
e Jound a ne u0 tate tau e t

Ccare stote nepeatstop


+here is
iv Pepeat tepr teps uoto

no re ate AatioD
preet 3n he tranation

tatot DP.
Mas MaE the Blates et DEA as a fAnia)

tote ohh Containa + 4fntal state

s defred as 3 tmys
Trand Htod diaga am Fan tRon Table

Tastton Mapeng
&a,
fl ) >4
Noto
step L0e ee d

afted FP t o DfA

et recon Struet teo ansi tan


Toble
letate lo

tee
Staute.
anaition faiote
Aote

So
S 9

cost lab

Df eAenHoate nlAA ee DPA

DEA
NF A stards non
deteninis4 e Finirte
deteirntnigAO FNi te
Dutomafa utomta
E A Can use erey DEA Cannof ude

mpt atring Fansito0 Cmpty Stsin trangittu


undenstend
D Can be udeutoe OP A2a
mu0Rpe ftte mduned ous one maeune
Comprtngiat tee ame
Seaie to
Covlste to congtmuet

NotAt NEA ate bE-A YA DEA ece t


dP4

NEA reqLires e s pote DE - e es mova


hen
pace

) Conamuct an
uE:Ð t n e nn
Lu-e o
L a, aa aaa b, bb, bbb, aaa.

Conuen the slloutn e- NEAto DEA

(2o) (211)
a

You might also like