Open navigation menu
Close suggestions
Search
Search
en
Change Language
Upload
Sign in
Sign in
Download free for days
0 ratings
0% found this document useful (0 votes)
17 views
TC U5 Notes
Theory of Computation Notes.
Uploaded by
vetek16041
Copyright
© © All Rights Reserved
Available Formats
Download as PDF or read online on Scribd
Download now
Download
Save TC U5 Notes For Later
Download
Save
Save TC U5 Notes For Later
0%
0% found this document useful, undefined
0%
, undefined
Embed
Share
Print
Report
0 ratings
0% found this document useful (0 votes)
17 views
TC U5 Notes
Theory of Computation Notes.
Uploaded by
vetek16041
Copyright
© © All Rights Reserved
Available Formats
Download as PDF or read online on Scribd
Download now
Download
Save TC U5 Notes For Later
Carousel Previous
Carousel Next
Save
Save TC U5 Notes For Later
0%
0% found this document useful, undefined
0%
, undefined
Embed
Share
Print
Report
Download now
Download
You are on page 1
/ 8
Search
Fullscreen
| (Chit 5) NP-Theowey, & To : DS Tete ONE Tove Gorploxctiy @g . ee ‘classes &Ce-NP. PE Plebreres hed. can &2 eelsed & ’ rerniad time by deterministic? “Tasuing machine. fakgssuth ia problens aoe saben Jin OC2- ) > (Class P problems aoe tractable): {sso ChE) NP: : Qrotlerns thot con, be eabvecl ir podyrorntal me by pan ees l “Tasening, rrachting Sn phs, pet as weufiable eo recnial time ° <> (aes NP problems osc Tnbrac fe.) Kreusre problans NP - thridtonion C ogee Ginger @ “Groen & ophGi; glee G contain HarncLtenvae cycie 7 = (Homittsnion. cyte Ba qole passing MOY vedex eocacthy once) no Botereniistic. ellgertith Guess o mutation a eeocttcee \- eter this per ore GLI OW Check whee ol ee | ae yee) he | What is soured cycle | Greutt SAT 2 A de Lowk ushete there ike « Boekeor- civeurt, woth & sirghe oe pede pes 6 an. assignee’ of alee % coats input 59 that, oust pub 4? 0 Ly | tee Ste cas, stot ve | [eo NoT a o 4 fy | > OR. 2 SS ae” Bx | >. we |ligye A graph Giz Ye )& a dreahoed *(Prellem : W coaide f ther Ga. seb nacles C=EUt, - -URIEY | « St forony UF EC : uy we E |r put Ge We), Ke : 1 |. Guess C afu,-- Wi EV I 9 Nen-daterministically select o- subset |. OF C Of Ik-Node. * (Roo ong, we EC Veoh (upyeE i | > Test Coheteoe Gr condauns all edge® Grrecting. recles tn & l ae a 7 + Reject of one.of te teste foik, thor Uxse accept c chai 3) length of contificate + Of) (n= wD) 4 (tre Complexity, : awn?) ) a Troweling, Sallesrrore — |Gubsel Sur [Gubsel. Gurr Sarees eset Of numbers denoted $ & a-tangat number we « estonces A mutle + Problem + 78 decide of thee exiats a-substt Ye $8 Sy eg Y= b. on inp 7% | Fes » apnedetorenininticadly select a. subset Y of ro ne That wsietor Y (5 collection of rg hod cums totae | | eeés |" pie? de chess NP Diporerce | Chess P_ a tose P @ | otass ef fenguage sptvable se ete are te —-Sebsable. in NDTM oe poufta ble Ou | dided i polyromial ded) | oe patyreental TO wifes pavsexfiul. than NP- : Weufiicl hr pobynentat tire). “Te uma ase tractable). here powsertule ‘phar ) bx, Betting , Seochingy M or PATH (Problems asc rtra cable ) eh piel py MST) FOOT & Gubset “Sur Cheyay SAT, TO" | Popp REL-PRIME.. Harnibbgr tore Pea | — Farwrad Define.» / « Apsbrack Preblers> ‘ys absbroct provlene a te be bey pefctior 87 a Get Tf probiera tretonces La gel & of proche qpiutiors) ie r3S)) An insione fox Sheoctesst pathy aby fo corsisting- ofa graph os A soluction isc. Sequence oF soodizes eregpeaph,
Os & pobyremcal tine Computable. L ue “aay tate function. f iE thea exis& o pobyromiok time algertthrn | we fOtgy procluce? as output fl). = Radacibbiy : A peblers 6 & geactucecl that ose. any opt d 6 Madi te anethet weber. OY EF ary “eas ased ae iatorXe of @, solution te oahi ta wrBtonce Of SL ma uni & Problem abot Liraen OY ontb=0 te fronsfeseration te anethexe Voxtpaxtbh=O cohese soeliere prosides a solution 18 actb=0. ced to ovothes: problen 0” then 6 HO LBL, a «| -Retusining te 9" ol Language fromevseole fore deca t6r problem. we say Pasir target's 2 podyrrarninl time, Seauctbte eo | torpuclge La, 5 espe ln pl2s f ree exists 0 PAL yrorial Ge eee furctior fi ot Lott svch rat feral X € £0,22*) | els, £ berly £ faelo. ; patorce ef & con be he posdes sollteWk OL funetit th ion fF, Seduction. function. ¢ Ni hens f caller me atge%ithre |Sceprenerte furction £ rraps the (nedonce of ‘x! of Pressrtecl by Sorguage Lx to an instance of ft raminct time algeruth F in the, dectstOn bb, 2 of te. probleen. a cdc by Lo Ve eo set Aa be petyrorniad tine algeruth thes Jae shall (consdrct > poly yh pI ——_——— 7 2 fF eele ni Bey CO) € lo MW f x 4 there ee Se ge ie Bechler Explains cn hthet Li gpa Hen ne? 2 eP E fale, € 01)" ove Beegquages Sue Le. 2 con thot decides In ifet F be te Feodction, agorthm. ted computes ooduction function f) thin. th Ay treet clecialers ‘t} nomial, tine ortedd Line afgoree cele 5 *| Fee gisen. input Eloy} algeruthm At Lees F to fronsfie a ants fG) Ether & uses Ar te test ushetere feo ele Algona Astakes extpete from. allgesuthrr An & produces {he ons ks @utput - a5 Gust x Cudput of Aa tre value prewiclel os )Setpedpat fort At g ye ‘ 4] pdgesuither. 26nd Ce polyrarnial iene Since both F & Az Xune We chrom time —| AP — Here 7 ; (Problem Le coor F oth protlems in NP seduces te Ltr the | “palyngeriol U7? NP— Coreploteness ees eel) Cee Bee).“Kp Corplete (2). Hareiy L & NP complete ¥ wth pelergs 46 NP) ghee NPE hosecl [| KP-corplete me y aversion &£ 1S]Ntooe Ondow Union LeU le EP we Ly bly ome beth Py outs ds ia Secclen Ly ble vepttsey) Te (Desig 9° & rnochine/alge MB (wo) : 0) Ronit usith (yput wl. TF ME accepts 49, a 2 Ctosusce unde toncatenation Le.la€P. () Run tha”inith input, os , if M2 accepts u2, then accep TH ts CPecer thect, H2 occepls us Ff Benky F Mz Meal accepts us & Ma / (H49,/u5) : Fou C£O)4)2,3,- Gt ts clea -thocs oa tire) as | Stunna in po pene eee a Clesusia. undel G emer: Li eP ls Ula = bs Me a ciipens My £2 ushith, ith takes Us a& put O% Sah 7 e then Accep eee otros Gunes trv polynomial tio) cy —>|reaeT Mey | +t et 2 — neers freath tS ty Ma. ushich. bre Li hls ane bsth in fi there. exists obggeathr cbcrcles, Ly & br seoapectnsely . \ ustiths each. ‘Design machine. M3 wahich Cokes ups 02 A2)--- 4) at 22 fas oput a te fokevorg : Run My ustth. input ust = ae, O2,- + OC E seu Ma wetthe pee Use = Aiit,- - an” é. — OF both. reachine,, Ms bia. accepts ue Hor derep t) F none of iLeseeesr in stage 2 accepts, ther. Refec’ ie & Cleasethod, M2 0 us ZB only F tea use, usa uhoe iy accepls ust E Ma ws) Alege Math pobynemiak. time ) lef ads reuse, uncle Thterwection Le Nl, eP fees Me Mg Keirce La Bly oxo. both in P, thee exists machina. Me EM ushith deacles Te hte seospectooely ) Pesign a machine Ms, ushith. tales us 08 input as the Slbusig : reghir2 Malus) : - Ruthie asith sexteiy input us of Mt accepts ussthen, guar My en! Hf M, af26 accepts caylee A Foon gt Rejects Lonby gM Ete accepts uw Ms (Goce ty, thow:xmachine (al oe, Me thet deciles Lt ) a reochine My eshith. tax «9 a2 dpa asthe follouxig : (Mio: fie iyputinlt axe oe § Conky Me mares? gens ir. pelynarniaL | cease ot. ee ak srajecks us LMe ud tn polynomial time — >be) coty rez]2 (o-nP Reblers ) Reve thot Pe @-NP GNP= pa[s*-AeNPs (ces P andere com ) Ler, LEP 5 Jt lLEeP, LeP | 25 | oe :. Penh NP [L co? ]
KEP peed ie Aus) + eps Le? G2), sp Lew?? repyLeP ple? 7 Lene. QLHS _pas 2 INP anh] Resse poy ec poe wo polypori tire eptacbla shen P2NP [isp lad fp NP > LenP (2) NP=P) ie LHS) 3 LeENP-c s etre) : , Zz, vets Ligp le o bo be ay Tpdy >) Lél& NP LA@_ oti ee oe Q.wrat & clique Iwo fie See connactane ray oF of a graphy pat ed epee ete Senta) ay chi ihe page maces = oe Sree x, ! Ligne coctefi et Oa x Co SiG me thy 2 is | DL se = ae 3 proberr. iG pei « pails Monn, is NP ages use Powe gpous that & polargytie NP cigs me ne€ shen. cb ohowtel hose ley wroeers sedfablity iat is given © covctificate, ) vee weefy padyromtaL tine wis a. solute: preblern Py(Cercuificote > Let coctificate te © o. ser. 8 consisting of neces nee ji LSS a Subgiaph of CF wp is 85 os SI LT pec. atels 0 lt que of Size Wee . Hence ip vo. of nedos i S equals ky ts coke oe veuiging tpheteon, each \erlex hos, on Gut clegrae of Oi 1) takes ote) ; Cause, problery hak palyrsmtat tree youftabley, erie P \honce. helengs te NP class - ) gr GAD a sat 6AT & NP- prowl. _ Duh & SAT Mh GX C S bar atte prove of detgwninty if these. exists a inverpentio™ Botisfiee & gv beedeor ee wrote occnblee | porno! be ee ot * Fo oe £ Lox once grails is A abtect sinsriable). oe & funcisr See expr costo by formula 9 folse then & i unscctisft AGE Ep isn NPs Se aston '6 ane te is 9 si (nglane ome (| four th) us : Bikers" in pert eT te. dene by Cekwg, , eT eagrreert LE aos fables sgosiafies booean. cencliteon) tel um a Yo Yo= Xt OP we eS =: Yo = Ya OR? pp ys= xa UY | ss L 7 ys tegen gery] tue “2
You might also like
The Subtle Art of Not Giving a F*ck: A Counterintuitive Approach to Living a Good Life
From Everand
The Subtle Art of Not Giving a F*ck: A Counterintuitive Approach to Living a Good Life
Mark Manson
4/5 (6129)
Principles: Life and Work
From Everand
Principles: Life and Work
Ray Dalio
4/5 (627)
The Gifts of Imperfection: Let Go of Who You Think You're Supposed to Be and Embrace Who You Are
From Everand
The Gifts of Imperfection: Let Go of Who You Think You're Supposed to Be and Embrace Who You Are
Brene Brown
4/5 (1148)
Never Split the Difference: Negotiating As If Your Life Depended On It
From Everand
Never Split the Difference: Negotiating As If Your Life Depended On It
Chris Voss
4.5/5 (935)
The Glass Castle: A Memoir
From Everand
The Glass Castle: A Memoir
Jeannette Walls
4/5 (8215)
Grit: The Power of Passion and Perseverance
From Everand
Grit: The Power of Passion and Perseverance
Angela Duckworth
4/5 (631)
Sing, Unburied, Sing: A Novel
From Everand
Sing, Unburied, Sing: A Novel
Jesmyn Ward
4/5 (1253)
The Perks of Being a Wallflower
From Everand
The Perks of Being a Wallflower
Stephen Chbosky
4/5 (8365)
Shoe Dog: A Memoir by the Creator of Nike
From Everand
Shoe Dog: A Memoir by the Creator of Nike
Phil Knight
4.5/5 (860)
Her Body and Other Parties: Stories
From Everand
Her Body and Other Parties: Stories
Carmen Maria Machado
4/5 (877)
The Hard Thing About Hard Things: Building a Business When There Are No Easy Answers
From Everand
The Hard Thing About Hard Things: Building a Business When There Are No Easy Answers
Ben Horowitz
4.5/5 (361)
Hidden Figures: The American Dream and the Untold Story of the Black Women Mathematicians Who Helped Win the Space Race
From Everand
Hidden Figures: The American Dream and the Untold Story of the Black Women Mathematicians Who Helped Win the Space Race
Margot Lee Shetterly
4/5 (954)
Steve Jobs
From Everand
Steve Jobs
Walter Isaacson
4/5 (2923)
Elon Musk: Tesla, SpaceX, and the Quest for a Fantastic Future
From Everand
Elon Musk: Tesla, SpaceX, and the Quest for a Fantastic Future
Ashlee Vance
4.5/5 (484)
The Emperor of All Maladies: A Biography of Cancer
From Everand
The Emperor of All Maladies: A Biography of Cancer
Siddhartha Mukherjee
4.5/5 (277)
A Man Called Ove: A Novel
From Everand
A Man Called Ove: A Novel
Fredrik Backman
4.5/5 (4972)
Angela's Ashes: A Memoir
From Everand
Angela's Ashes: A Memoir
Frank McCourt
4.5/5 (444)
Brooklyn: A Novel
From Everand
Brooklyn: A Novel
Colm Toibin
3.5/5 (2061)
The Art of Racing in the Rain: A Novel
From Everand
The Art of Racing in the Rain: A Novel
Garth Stein
4/5 (4281)
The Yellow House: A Memoir (2019 National Book Award Winner)
From Everand
The Yellow House: A Memoir (2019 National Book Award Winner)
Sarah M. Broom
4/5 (100)
The Little Book of Hygge: Danish Secrets to Happy Living
From Everand
The Little Book of Hygge: Danish Secrets to Happy Living
Meik Wiking
3.5/5 (447)
The World Is Flat 3.0: A Brief History of the Twenty-first Century
From Everand
The World Is Flat 3.0: A Brief History of the Twenty-first Century
Thomas L. Friedman
3.5/5 (2283)
Devil in the Grove: Thurgood Marshall, the Groveland Boys, and the Dawn of a New America
From Everand
Devil in the Grove: Thurgood Marshall, the Groveland Boys, and the Dawn of a New America
Gilbert King
4.5/5 (278)
Yes Please
From Everand
Yes Please
Amy Poehler
4/5 (1987)
Bad Feminist: Essays
From Everand
Bad Feminist: Essays
Roxane Gay
4/5 (1068)
The Outsider: A Novel
From Everand
The Outsider: A Novel
Stephen King
4/5 (1993)
The Woman in Cabin 10
From Everand
The Woman in Cabin 10
Ruth Ware
3.5/5 (2641)
A Tree Grows in Brooklyn
From Everand
A Tree Grows in Brooklyn
Betty Smith
4.5/5 (1936)
The Sympathizer: A Novel (Pulitzer Prize for Fiction)
From Everand
The Sympathizer: A Novel (Pulitzer Prize for Fiction)
Viet Thanh Nguyen
4.5/5 (125)
A Heartbreaking Work Of Staggering Genius: A Memoir Based on a True Story
From Everand
A Heartbreaking Work Of Staggering Genius: A Memoir Based on a True Story
Dave Eggers
3.5/5 (692)
Team of Rivals: The Political Genius of Abraham Lincoln
From Everand
Team of Rivals: The Political Genius of Abraham Lincoln
Doris Kearns Goodwin
4.5/5 (1912)
Wolf Hall: A Novel
From Everand
Wolf Hall: A Novel
Hilary Mantel
4/5 (4074)
On Fire: The (Burning) Case for a Green New Deal
From Everand
On Fire: The (Burning) Case for a Green New Deal
Naomi Klein
4/5 (75)
Fear: Trump in the White House
From Everand
Fear: Trump in the White House
Bob Woodward
3.5/5 (830)
Manhattan Beach: A Novel
From Everand
Manhattan Beach: A Novel
Jennifer Egan
3.5/5 (901)
Rise of ISIS: A Threat We Can't Ignore
From Everand
Rise of ISIS: A Threat We Can't Ignore
Jay Sekulow
3.5/5 (143)
John Adams
From Everand
John Adams
David McCullough
4.5/5 (2544)
The Light Between Oceans: A Novel
From Everand
The Light Between Oceans: A Novel
M L Stedman
4.5/5 (790)
The Unwinding: An Inner History of the New America
From Everand
The Unwinding: An Inner History of the New America
George Packer
4/5 (45)
Little Women
From Everand
Little Women
Louisa May Alcott
4/5 (105)
The Constant Gardener: A Novel
From Everand
The Constant Gardener: A Novel
John le Carré
3.5/5 (109)