0% found this document useful (0 votes)
38 views39 pages

Finite Automata

4

Uploaded by

Levi Ackerman
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF or read online on Scribd
0% found this document useful (0 votes)
38 views39 pages

Finite Automata

4

Uploaded by

Levi Ackerman
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF or read online on Scribd
You are on page 1/ 39
Jah aad | 1 Sj = —= = = “WEgealin i sic Pay Under Hnike A iE aa lh art ty Underctond tribe | EEN | (oare == Finite Adbmala. - be Ph hy mera mann keh Pens isk | Inches whi ne Schall yess Ns date ache hil {anak 2) Te lat Cie att +— Fe ; [a jae EAD SENET ye Te ly Mp CB) Sp, [- 3S ayn 6 tell Tearhaate eee A deuth ot a G, Aumann bing (Dsl) Ti 4s yee Os Lowoktrn alphaby __a|Not /emptiy String CETATAY: Dal a Whur ullich San a __ lea ee Epsilon , A= dambda (Copii) yd -lanbls (nat) | =. “(P. i Mecca . Duy Sieh ol’ AU) Be Leah shins ce dE} eve sa fle sesh teeth Dre Sef af a ale Eu Th Owmnal "2 Seb ob ll nl SSS il aa a Pes Hao Fake doy len oh a irarearert Ta agg 1 hol oe a Aitemuta [Finite Ste Machine (FSH) ion a avo ae re \ ova it Dutput ro ite [More Machine. Te Finte Automata with Outputs = jie ata Mealy Madine Determinishe Fine Bubate cares Nobel FA Epsilon NEA | | PAGE NO. iil Finfe Avtoreale Without _Outpots ice eee —) [ » oer eae _o pe Q = Stes : __@ = Alphabets b $= Transition Function [S: QO] qs = Tritt State JE & Es Final [Pecept Sate: tates : a Doo 4 pm the sing at cal be called ja State i) Npabets: Gi so ie toler el gfe x We Ob® Statel = € Stale Be ob Shie2 = a State 6 « ba State 3 = be Ste Ve bh State He a8 Prsiible canblatiin can |, | Taal Site The a Js saat. slabs (State.| Dy We. AU ave) ce by i>0 DEA to detect ding Shahi [voit tal Thay Ake huppeig Here? areal {hon that ons tase af ey oe arb Ue Slaa = 8 2 $(ib)-€ By , fb, a= i) 2 i A yen= il (oot tk w Be) => Cio Dead State <5 (Ca) §(ejn) +Cf) | fo — Pie Wyse Fade Dit =! =} It Sippel oh Fi i ae Lae aU se ae te ee [isdn Digest 90 0D sb E 1 [Espldnabion’ od © = Gooey Ste Es [New gp = a b [Nt ot gh 27 Na fl se] Hn i={oaj ab, be, Ebb Pos ees Ue nh 2 2 fel la qd= a4, dab poba,a abb trl >a Shs ban Dy ab Cn ik oe 6 int “De Dead Sale | Nelg: 1) Mibeol DEA= DEA wih winieim va. ef states 2) [vi] med 2 =D: engl ok Stolng cWwhen dh gives 0 ae” remalndoy > et _ty) O winiwl DEA whan We {a,b} 2 lll moll | (poe no] a=) (oxe] TT) a inet a aah, ab, Abb , baa, bil bloa by} j a EE = ven ae = ( od 2&0 | = Aue Observetfons - fi WM EEL tn 4. CF (Sees oor pies wien a awe Abiola i Dy sling WW ate heeng ty alphalnet aut to la DFA Suh ll madd 3 2 0 Yow hede aoa) aab, .--- Adana ..— 4b [Now we see!) EEA > 4 bo Fincl Ste ‘| Li) IWlwed 3 medes 3. Stele pasa | “lis Bigs O20) 04 bea Hag 4g, ¢ Null nad 220 4,3 lu mod B= 1 4, % lw) mod 822. as So =do25 44,5) | z 4 = lee Yeetidee O whew = L Re oe 24s in Final ates. HAs) divisible by "2! 2) Shes possible | a au — : ay) Si 4 zi = 4 02/5, 4/8, 1/22, --- } pas hi boy dela yi 234 950.2 (0) S{do/2) = 14, Ss 22 Slu/3)= % ©3es) Dees Sly, y= 4a C4es) {yeu | =) Accept [rrceno[ care] Twill Desig a DER feds 0. dal non -daoibl 3 TR 3,64 5, dk now on 3 nde ob dig S.=4 0,356.92 [ewe remainder 2ére when divided by3 Sd, y Ueie ves SUL Een Be S120 gy S| ea le 2 ‘when dviled by3| — io) TOE WD ie WRSISHe ii) ivisible by"2 2) 3 pponle atin ba win ar Cone Sle ee Baty 0 7 65) = 40 [wil tomes (= 3 =2)] | b= New 4, «3 $ (4a Si) = 41 wil becomedt G3 i] Ns 81, (as (5) eels [wll boone 312 23 0)] [ly bank 6 cibiualin $e bona ke dekho hud Sab mei hi roby! in Lemsbust a waned © DER dich en | Ste ee = at ca eee Ni (olimed 9 = 5 = Niet Gita 3 possible venaindecs Dl 2 Ws (09) red 2. gins 2 peril, Stmamaih, 0, | Waele ob Aetany oabh oe ee (5) : ae ay 0,0 |= Accephble [Bene verainders zero chahiye na] 0. |, => Final State z VON: = tL] [> Tntermediate States 2,0 inl | b Transition oo) s ae B ——— a » a Q D) ty | b 4 a — b 20 Z| : 6 ean bee> 8G in) 4 : aabla = (0,1) Tronsihion O_O cal a et Lo) Ss bon aah | — Ol Gnielae DE ALE ces | uch thot eee vn [i ea a fire ara] lowe] TJ ee (GQ): Pfs ple sna 0, | hp lw) ymod [Bates 1 i _ nitial She & EELG—| O O |—>Accephable =) Final State. Z = o1 | | [tke mediate States cs = le a ee a en || Trrasitfeyn Diagram (Go)}, re al a bb j | - | or ee = \ \oro inpul. NEA tee dleeasth ——_lrull Sarena con ty dy [ei Lilla RMINWEME a bt hot cl mh [Non = Deslerminichic Finile Automata (NDFA [NFA Hane ut We oe 4a workin drt hip by alphas — ala o tun. But i, NEA He, ic nla T A DFA; «= QxI > FH) oes [ew sd ab ol Be sted] = =O Nee ob Shui =a 1 Nace > $408) € a Sa 4 esc Mh Ea Ml pee Gpeccos St ANAS) eb A en Pig dL i te 2 a Step SeFliwtae all ctates that a Fs AUR setae ants i an | _1)_ $59 Start tern ini pnt 2) Then Sele the ship hich ts aie back ok bs the table dt ight vows _______ aw) Step Repeat unt iste yo you tite 1s faved | © [Goat Msn NEA fb DFA SQ Se IG) eae Ete eal | & a eA SAD Up daacast of be-NFA to NEA i = Sgt | Crete tm tebles Sh am [DK og abe ne ane 7 ee UE Im Olal ppl TUS Va We cam ne = &* ll Ha pale Cet tal BA unis "at [eet Sal (Kyo) —>) Valve ah | - ae {ch = — — ) q Dp __ th uJ a aes = i A A ait BD 5 al kc) a 7 42,0) [40 | fo} | = I Cc ic} q 8} {ap} a DMSO TER p eine Fie a ius [a Sailing conto | ose * |B fo) | dep}! [me crt a. _| - IL é (a 48 o} | hi & input pe | x [p 14p} {pp ie | 2 ka\\ Pal state) pe = T im ( secent e# Second €) je yhith_ to _ a 2a ae = [Teens Diageo © Irony —__ | Unga) f i | A £ A my0 phan | i. 0 OP Ru whan a4 rhe hay | a & o/ wah arrow Magy 1 | | aso on Tecate Ie ET C : 4—)|P rord (for ¥l{F,0,8b J Q \iyak| & We gp a DATE ws aa Dini — DFA ae be tut oh tl IS th, sain vot occa runabahle . al Babs - ae Subset ama iets Take AD 0” zee output B Iot_on | ovfpt “Ca = C28 plein dif a Vandi Dayne [i - Tage tb fe.n, 2h 0 Te Sanit edges aa gaara |, = {p eb dF b deep cat elements ane | \ 0 Sy Sin =) States are ABE 3Cpe Meni “| Mrenstien Di ae ot ate “0 | za a if icone i i | + ec _sameg cet fal Ses L pe some_stl (2D | Although Aa are Indeed Il a DATE fy) a Transthion Diagram: (A) O,b (8) = © ) b TFs dome wath Outputs { Q: Sok of Seth i) ai Tithel Shite ii) Gs Alpabet Set Mv) $O/ Dubout Simbad Seb 18 Festi Unda (S42) Ay) A! Outpvt Function (Bd! 0 > olp M.= (2, 4,8, 4) 0 [PAGE NO. —S} Q\ — linia ibe Gnbiclal iN ulpyt table) (Proeno] DATE as} a _—lINdei_ 8 _Trpst Sieg ae Sia. S| Stateg fuanterd |A BC BC |A GOB Be | — = Dutt Sing pa bal bp babba | Y | - [tia Bes 0 ilemabict o Moore Machine thal cud — ni abl ja oman ten habla — a es z =m a whi smh aya fy | 2k boar DFA dobaara padhle b i A i Sit aobb abbabb = freatred | A BCD BCD BCD Old String |000| Ooloo| Ne of nceucemees— Se ge: Manca Machine tet “eb panera | host lensh ult shiny ml =) A) ; coh ee Pee ola SS dpa Pye 22a — fia Ts is Tnpst [0 Bi [| it O10 means 0 ingul pe Ow ait Transition Dignan [Tramsihien lable! —> | Currsat Net Ste a Oviput it Typ) | Dapvt | | a She [Ont | Sate [Outpt | 4, | Wo 0 LC wy 4, | 0 \ h Machine encouslad ia ohne Ba f| aa Note Ye sninimmal DFA Whi hat par Kome pelieake L___ Mainimal heli bai ahi Note: 2 bemaya, The tom’ f =O0S S02 26) iS LB chalega | _i/b ie Ina to Conversion af Mealy Mathine to Mouse Mabine Hen lab deld eee H => 4/0 ig SH (fra Kay l o “yuo — yAdcdat # — fo Gah 7 0 \— = i 2S a) 4b) — GI) 5 1 | SD | Wesetan 9, on 0 aa On 0 Gwe O | | eee oF eee ig [Hele apa fete ee Pay oo —4 ee * oan | ie or an o> ee ines [di Balan baka —_ Late eulin 4.420) ‘ bisa “Ses ae ho Me ab Aa a pthe thts ap ay th Ay SPOR, Daa ee hipe yur unde hand oust pe lke bhi hardie Tarenge. z Tr - 3 = 2 = 4 @) be O38 ae Raglan lw Ve Ao ea | \e L=TE/ab,aabb, aaabbh ,.... } [Ne ES i Ne Can ttuaph tach 9 nage os would ag Crude Tk ae Oa b hm aa z Sore Eg roy t= Tort Ligne 00 lgn¢ too) - & SIT V1 << wh ee = en bona dole: — S Drunlt deageage |Z 5 Gnd ¢. on bana hte her — S)ked amb M=neg mnya 20h WT c®] nag rmynyg 20h the | deTe, Abce , Abba, oabece , aabheece,..- f | Co el i a a ois wal» mi — ss FSM 4 — | —__ —fipint , ob2c | Bef ob" | mntine ew brn Dw hed Boal, -oabb, abl, aabbbl, ue = —£- b == f) 4) < ie i a > 6) a ~_ SSG 55 = E — C99 Upar_woaals port 04d + odd warle &case generale | = Lee al sale = fhari ladaiage acepl TLE Regula peop) Ad AG Te ale odd one ee le tna td 9 myn Be _aled abl, oab, aabbh, ooahh, abbr, dao, | z o tt) — oy 1 ‘ aa he ae Pe Wie Oana cae: iano =e pasthedh 25 -{delgb = = dab ye : _—-—_—* B= hee = seal ow aT : Whigs ta sandy =0)a4 if w= 0045 =- yoy Pe os ee ee | ts AR Fino Lolo, 00, 01, 1b 3 hopin paso bn 2 ee +18: v.ww) = hy). Zit Dela bh x M1=f0, cap Ay TN: car a ee pucdthot h(a) = 010 hy (b)= 102 |= hlabba) = hla)sh[b) hb): h h(qbbo ) = 10 1n2 102 vid Nae Th d= abt h(a) = Fag be padi thon h(t) = Oolio2)* 1 i Ye Smyh aayegg oe me SWE a | bingy, Ci) 3 rake ya Tee i) ged aaj abba bt EINE RE= aatrab+barhb f =4 ath) + blath f i = [rez lewae)[ (+ Lath)" a ahe gab aba, abl, has, bab boa , bbb Rea etna alpen eam = galeth) east) + bla) + Hiab) (oat ab tba bb)far') (rrcenoy owe] TT) Th Union : i elas tg : ——Atb tn abe Reyer UFep {a the ah) “me Lovesenalin’ Ty aeb 6 = ee oe — hike ee Qo nn RE —— Won ak yg RE EC) NaN Ss aig a on ree Bisel Ae aw “i a ee ea epoud a en ii ede Tob" sala Pao RE = (a+b)* i Chesca Svcd ) Ics orcas ORL ee Ge Ree (o4b\lo+b) (a+b) mat Ls ! Plenghh “Goosetael. Gri __WheOis nbogh Sens bb abab, abba, bal | ea bb, ahabe,-abbals , cba yhabha , habs, beb L Auk ii DA,2,3 ape kh ke eho Saari shrbgs wal kaveng_upar seb se Qi Tats o RS. d woh 2 bn met ! ba ot ata Tes = de gb P oe ee ab babs, tea tb bay BB Ee re tha, faa, nalh Soak aba bath rT. +. . " || | a *% bE Pe Lee at fe Guat 2a Gail (a 0 = = a L: ew {ab} - iy [i= Yo, ob, bb aa,adn,-4ab/aba-ab 3 a Ips =a fou) oa pa ower rs ae —he- d= 7 44 aby bo, bl, aaaa raha a Res (ew)en\* Dall ge fat fee | —— _ ae Ha pl oti on enpari fora tng Rex Dah lo — = de LE, caa, ab, aba, Abb, baa, bab, bbs bby ooweas REx (Corilerblare)® Til gin (ott) fone | __ he ate Las Sa fi [k= TBgy aaa, anh, abs, able, babylca iby aaeas,

You might also like