Logistics. Today s Topics. Overview. Planning. Simplifying Assumptions. CSE 473 Automated Planning. HW1 due in one week (Fri 5/4)
|
|
- Miranda Mills
- 5 years ago
- Views:
Transcription
1 SE 473 utomted Plnning Dn Weld (With slides y UW I fulty & Dn Nu I hve ln - ln tht nnot ossily fil. - Inseto lousseu Logistis HW1 due in one week (Fi 5/4) Pts due in etween: Mondy dft nswe to olem 1 Wed give feedk on nothe eson s s nswe Oveview Tody s Tois Intodution & gents Seh, Heuistis & SPs dvesil Seh Logil Knowledge Reesenttion Plnning & MDPs Reinfoement Lening Unetinty & yesin Netwoks Mhine Lening NLP & Seil Tois Logi fo seifying lnning domins Plnning gh fo omuting heuistis omiling lnning to ST Plnning Given logil desition of the initil sitution, logil desition of the gol onditions, nd logil desition of set of ossile tions, Find seuene of tions ( ln of tions) tht ings us fom the initil sitution to sitution in whih the gol onditions hold. Stti vs. Dynmi Pefet vs. Noisy Peets Simlifying ssumtions Fully Osevle vs. Ptilly Osevle Envionment Wht tion next? Instntneous Deteministi vs. vs. Dutive Stohsti tions D. Weld, D. Fox 5 Dniel S. Weld 6 1
2 lssil Oetos unstk(x,y) Peond: on(x,y), le(x), hndemty Effets: on(x,y), le(x), hndemty, holding(x), le(y) stk(x,y) Peond: holding(x), le(y) Effets: holding(x), le(y), on(x,y), le(x), hndemty iku(x) Peond: ontle(x), le(x), hndemty Effets: ontle(x), le(x), hndemty, holding(x) utdown(x) Peond: holding(x) Effets: holding(x), ontle(x), le(x), hndemty Diving Stti fts Plnning vs. Polem Solving? si diffeene: Exliit, logi sed eesenttion Sttes/Situtions: desitions of the wold y logil fomule gent n exliitly eson out the wold. Gol onditions s logil fomule vs. gol test (lk ox) gent n eflet on its gols. Initil Stte Fowd Wold Se Seh Gol Stte Oetos/tions: Tnsfomtions on logil fomule gent n eson out the effets of tions y inseting the definition of its oetos. s 5 lotion 1 lotion 2 10 Dniel S. Weld 11 Heuistis fo Stte Se Seh ount nume of flse gol oositions in uent stte dmissile? NO Sugol indeendene ssumtion: ost of solving onjuntion is sum of ost of solving eh sugol indeendently Otimisti: ignoes negtive intetions Pessimisti: ignoes edundny dmissile? No n you mke this dmissile? Heuisti Genetion II unstk(x,y) Peond: on(x,y), le(x), hndemty Effets: on(x,y), le(x), hndemty, holding(x), le(y) stk(x,y) Peond: holding(x), le(y) Effets: holding(x), le(y), on(x,y), le(x), hndemty iku(x) Peond: ontle(x), le(x), hndemty Effets: ontle(x), le(x), hndemty, holding(x) utdown(x) Peond: holding(x) Effets: holding(x), ontle(x), le(x), hndemty Delete eonditions Solve elxed e ed lnning olem dmissle? D. Weld, D. Fox 12 2
3 Heuisti Genetion III unstk(x,y) Peond: on(x,y), le(x), hndemty Effets: on(x,y), le(x), hndemty, holding(x), le(y) stk(x,y) Peond: holding(x), le(y) Effets: holding(x), le(y), on(x,y), le(x), hndemty iku(x) Peond: ontle(x), le(x), hndemty Effets: ontle(x), le(x), hndemty, holding(x) utdown(x) Peond: holding(x) Effets: holding(x), ontle(x), le(x), hndemty Delete negtive effets Solve elxed e ed lnning olem dmissle? Plnning Gh: si ide onstut lnning gh: enodes onstints on ossile lns Use this lnning gh to omute n infomtive heuisti (Fowd *) Plnning gh n e uilt fo eh olem in olynomil time D. Weld, D. Fox 15 The Plnning Gh PG Exmle level P0 level P1 level P2 level P3 level 1 level 2 level 3 Init(Hve(ke)) Gol(Hve(ke) Eten(ke)) tion(et(ke), PREOND: Hve(ke) EFFET: Hve(ke) Eten(ke)) tion(ke(ke), PREOND: Hve(ke) EFFET: Hve(ke)) Note: few noos missing fo lity D. Weld, D. Fox 16 PG Exmle Gh Exnsion Poosition level 0 initil onditions tion level i no-o fo eh oosition t level i-1 tion fo eh oeto instne whose eonditions exist t level i-1 Poosition level i effets of eh no-o nd tion t level i 0 i-1 i i+1 ete level 0 fom initil olem stte. No-o-tion(P), PREOND: P EFFET: P Hve no-o tion fo eh gound ft D. Weld, D. Fox 21 3
4 PG Exmle PG Exmle dd ll lile tions. dd ll effets to the next stte. dd esistene tions (k no-os) to m ll litels in stte S i to stte S i+1. Mutul Exlusion Mutul Exlusion Two tions e mutex if one loes the othe s effets o eonditions they hve mutex eonditions Two tions e mutex if one loes the othe s effets o eonditions they hve mutex eonditions Two oositions e mutex if one is the negtion of the othe Two oosition e mutex if one is the negtion of the othe ll wys of hieving them e mutex Mutul Exlusion Mutul Exlusion Two tions e mutex if they hve mutex eonditions one loes the othe s eonditions o effets Two oosition e mutex if one is the negtion of the othe ll wys of hieving them e mutex Light fuse(mth, om) Peond: lit(mth), holding(om) Effets: will exlode(om) Extinguish(mth) gus Peond: lit(mth) Effets: lit(mth) 26 4
5 If Result of N>1 tions is miguous Mk Envionment Them Mutex Instntneous vs. Dutive PG Exmle Wht tion next? tions Identify mutul exlusions etween tions nd litels sed on otentil onflits. Dniel S. Weld 28 ke exmle ke exmle Level S 1 ontins ll litels tht might esult fom iking ny suset of tions in 0 onflits etween litels tht n t ou togethe (s onseuene of seletion tion) e eesented y mutex links. S1 defines multile sttes nd the mutex links e the onstints tht define this set of sttes. Osevtion 1 Osevtion 2 Litels monotonilly inese (lwys ied fowd y no-os) D. Weld, D. Fox 34 tions monotonilly inese D. Weld, D. Fox 35 5
6 Osevtion 3 Osevtion 4 s s s mutex eltionshis etween litels monotonilly deese Mutex eltionshis etween tions monotonilly deese D. Weld, D. Fox 36 D. Weld, D. Fox 37 Osevtion 5 Poeties of Plnning Gh Plnning Gh levels off. fte some time k, ll levels e identil euse it s finite se & montoniity If gol is sent fom lst level? Then gol nnot e hieved! If thee exists ln to hieve gol? Then gol is esent in the lst level & No mutexes etween onjunts If gol is esent in lst level (w/ no mutexes)? Thee still my not exist ny vile ln D. Weld, D. Fox 38 D. Weld, D. Fox 39 Heuistis sed on Plnning Gh onstut lnning gh stting fom s h(s) = level t whih gol es non mutex dmissile? YES Plnning Gh is Otimisti Suose you wnt to ee suise dinne fo you sleeing sweethet s 0 = {gge, lenhnds, uiet} g = {dinne, esent, gge} tion Peonditions Effets ook() lenhnds dinne w() uiet esent y() none gge, lenhnds dolly() none gge, uiet lso hve esistene tions: one fo eh litel D. Weld, D. Fox 40 6
7 Exmle (ontinued) Rell the gol is { gge, dinne, esent} Note tht in stte level 1, ll of them e thee None e mutex witheh othe Thus, thee s hne tht ln exists ut no tul ln does Piwise, the gols e onsistent ut no onsistent wy to hieve ll thee Plnning gh ~ k onsisteny ut with no fixed limit on k stte level 0 tion level 1 stte level 1 Fst Fowd (FF) Fstest lssil lnne ~2009 Stte se lol seh Guided y elxed lnning gh Full est fist seh to ese lteus few othe ells nd whistles Initil Stte Gol Stte dinne dinne esent esent Musm Tody s Tois Fluent Logi fo seifying lnning domins Plnning gh fo omuting heuistis omiling lnning to ST Gound litel whose tuth vlue my hnge ove time Eg, t(oie, lotion5) Not oot(oie) i Move lo5 lo7 lo5 lo7 T0 T1 Enoding Fluents in Logi t(oie, lotion7, time1) Enoding Initil onditions & Gols Suose we only ed out 1 ste lns Stte desied end onditions: = t(oie, lo5, time0) t(oie, lo7, time1) Is stisfile? Is P Q stisfile? lo5 lo7 lo5 lo7 lo5 lo7 lo5 lo7 T0 T1 T0 T1 7
8 Enoding tion Effets in Logi, l1, l2, t move(, l1, l2) Peond: oot(), t(,l1), Effets: t(,l2) move(,l1,l2,t) => t(, l2, t+1), l1, l2, t move(,l1,l2,t) l2 => t(, l, t) move(,l1,l2,t) t(, l, t) Move lo5 lo7 lo5 lo7 T1 T2 omiling to Poositionl Logi, l1, l2, t move(, l1, l2) Peond: oot(), t(,l1), Effets: t(,l2) move(,l1,l2,t) => t(, l2, t+1) Infinite wolds: imossile ut suose only 2 oots (oie, sue), 2 lotions, 1 tion time move(oie,lo5,lo7,1) => t(oie, lo7, 2) move(oie,lo7,lo5,1) => t(oie, lo5, 2) move(sue,lo5,lo7,1) => t(sue, lo7, 2) move(sue,lo7,lo5,1) => t(sue, lo5, 2) Ovell oh ounded lnning olem is i (P,n): P is lnning olem; n is ositive intege ny solution fo P of length n is solution fo (P,n) Plnning lgoithm: Do itetive deeening like we did with Ghln: fo n = 0, 1, 2,, enode (P,n) s stisfiility olem if is stisfile, then Fom the set of tuth vlues tht stisfies, solution ln n e onstuted, so etun it nd exit Enoding Plnning Polems Enode (P,n) s fomul suh tht π = 0, 1,, n 1 is solution fo (P,n) if nd only if n e stisfied in wy tht mkes the fluents 0,, n 1 tue Let = {ll tions in the lnning domin} S = {ll sttes in the lnning domin} L = {ll litels in the lnguge} is the onjunt of mny othe fomuls Fomul desiing the initil stte: Fomuls in /\{l 0 l s 0 } /\{ l 0 l L s 0 } Fomul desiing the gol: /\{l n l g + } /\{ l n l g } Fo evey tion in, fomuls desiing wht hnges would mke if it wee the i th hste of the ln: i /\{ i Peond()} /\ {e i+1 e Effets()} omlete exlusion xiom: Fo ll tions nd, fomuls sying they n t ou t the sme time i i this guntees thee n e only one tion t time Is this enough? Fme xioms Fme xioms: Fomuls desiing wht doesn t hnge etween stes i nd i+1 Sevel wys to wite these One wy: exlntoy fme xioms One xiom fo evey litel l Sys tht if l hnges etween s i nd s i+1, then the tion t ste i must e esonsile: ( l i l i+1 V in { i l effets + ()}) (l i l i+1 V in { i l effets ()}) 8
9 Exmle Plnning domin: one oot 1 two djent lotions l1, l2 one oeto (move the oot) Enode (P,n), whee n = 1 Initil stte: {t(1,l1)} Enoding: t(1,l1,0) t(1,l2,0) Gol: {t(1,l2)} Enoding: t(1,l2,1) t(1,l1,1) Oeto: see next slide Exmle (ontinued) Oeto: move(,l,l ) eond: t(,l) effets: t(,l ), t(,l) Enoding: move(1,l1,l2,0) t(1,l1,0) t(1,l2,1) t(1,l1,1) move(1,l2,l1,0) t(1,l2,0) t(1,l1,1) t(1,l2,1) move(1,l1,l1,0) t(1,l1,0) t(1,l1,1) t(1,l1,1) move(1,l2,l2,0) t(1,l2,0) t(1,l2,1) 1) t(1,l2,1) 1) move(l1,1,l2,0) move(l2,l1,1,0) nonsensil move(l1,l2,1,0) move(l2,l1,1,0) How to void geneting the lst fou tions? ssign dt tyes to the onstnt symols like we did fo stte vile eesenttion ontditions (esy to detet) Lotions: l1, l2 Roots: 1 Exmle (ontinued) Oeto: move( : oot, l : lotion, l : lotion) eond: t(,l) effets: t(,l ), t(,l) Enoding: move(1,l1,l2,0) t(1,l1,0) t(1,l2,1) t(1,l1,1) move(1,l2,l1,0) t(1,l2,0) t(1,l1,1) t(1,l2,1) Exmle (ontinued) omlete exlusion xiom: move(1,l1,l2,0) move(1,l2,l1,0) Exlntoy fme xioms: t(1,l1,0) t(1,l1,1) move(1,l2,l1,0) t(1,l2,0) t(1,l2,1) move(1,l1,l2,0) t(1,l1,0), t(1,l1,1) (,, ) move(1,l1,l2,0),, t(1,l2,0) t(1,l2,1) move(1,l2,l1,0) Extting Pln Suose we find n ssignment of tuth vlues tht stisfies. This mens P hs solution of length n Plnning How to find n ssignment of tuth vlues tht stisfies? Use stisfiility lgoithm Exmle: the Dvis Putnm lgoithm Fo i=1,,n, thee will e extly one tion suh tht i = tue This is the i th tion of the ln. Exmle (fom the evious slides): n e stisfied with move(1,l1,l2,0) = tue Thus move(1,l1,l2,0) is solution fo (P,0) It s the only solution no othe wy to stisfy Fist need to ut into onjuntive noml fom eg e.g., = D ( D ) ( D ) ( D ) Wite s set of luses (disjunts of litels) = {{D}, { D,, }, { D,, }, { D,, }, {}} Two seil ses: If = then is lwys tue If = {,, } then is lwys flse (hene unstisfile) 9
Andersen s Algorithm. CS 701 Final Exam (Reminder) Friday, December 12, 4:00 6:00 P.M., 1289 Computer Science.
CS 701 Finl Exm (Reminde) Fidy, Deeme 12, 4:00 6:00 P.M., 1289 Comute Siene. Andesen s Algoithm An lgoithm to uild oints-to gh fo C ogm is esented in: Pogm Anlysis nd Seiliztion fo the C ogmming Lnguge,
More informationChapter 4 State-Space Planning
Leture slides for Automted Plnning: Theory nd Prtie Chpter 4 Stte-Spe Plnning Dn S. Nu CMSC 722, AI Plnning University of Mrylnd, Spring 2008 1 Motivtion Nerly ll plnning proedures re serh proedures Different
More informationPrerna Tower, Road No 2, Contractors Area, Bistupur, Jamshedpur , Tel (0657) ,
R Pen Towe Rod No Conttos Ae Bistupu Jmshedpu 8 Tel (67)89 www.penlsses.om IIT JEE themtis Ppe II PART III ATHEATICS SECTION I (Totl ks : ) (Single Coet Answe Type) This setion ontins 8 multiple hoie questions.
More informationChapter 7. Kleene s Theorem. 7.1 Kleene s Theorem. The following theorem is the most important and fundamental result in the theory of FA s:
Chpte 7 Kleene s Theoem 7.1 Kleene s Theoem The following theoem is the most impotnt nd fundmentl esult in the theoy of FA s: Theoem 6 Any lnguge tht cn e defined y eithe egul expession, o finite utomt,
More informationThe Area of a Triangle
The e of Tingle tkhlid June 1, 015 1 Intodution In this tile we will e disussing the vious methods used fo detemining the e of tingle. Let [X] denote the e of X. Using se nd Height To stt off, the simplest
More informationWeek 8. Topic 2 Properties of Logarithms
Week 8 Topic 2 Popeties of Logithms 1 Week 8 Topic 2 Popeties of Logithms Intoduction Since the esult of ithm is n eponent, we hve mny popeties of ithms tht e elted to the popeties of eponents. They e
More informationLanguage Processors F29LP2, Lecture 5
Lnguge Pocessos F29LP2, Lectue 5 Jmie Gy Feuy 2, 2014 1 / 1 Nondeteministic Finite Automt (NFA) NFA genelise deteministic finite utomt (DFA). They llow sevel (0, 1, o moe thn 1) outgoing tnsitions with
More informationCS 573 Automata Theory and Formal Languages
Non-determinism Automt Theory nd Forml Lnguges Professor Leslie Lnder Leture # 3 Septemer 6, 2 To hieve our gol, we need the onept of Non-deterministi Finite Automton with -moves (NFA) An NFA is tuple
More informationModule 4: Moral Hazard - Linear Contracts
Module 4: Mol Hzd - Line Contts Infomtion Eonomis (E 55) Geoge Geogidis A pinipl employs n gent. Timing:. The pinipl o es line ontt of the fom w (q) = + q. is the sly, is the bonus te.. The gent hooses
More information1 PYTHAGORAS THEOREM 1. Given a right angled triangle, the square of the hypotenuse is equal to the sum of the squares of the other two sides.
1 PYTHAGORAS THEOREM 1 1 Pythgors Theorem In this setion we will present geometri proof of the fmous theorem of Pythgors. Given right ngled tringle, the squre of the hypotenuse is equl to the sum of the
More informationMathematical Reflections, Issue 5, INEQUALITIES ON RATIOS OF RADII OF TANGENT CIRCLES. Y.N. Aliyev
themtil efletions, Issue 5, 015 INEQULITIES ON TIOS OF DII OF TNGENT ILES YN liev stt Some inequlities involving tios of dii of intenll tngent iles whih inteset the given line in fied points e studied
More informationDiscrete Structures Lecture 11
Introdution Good morning. In this setion we study funtions. A funtion is mpping from one set to nother set or, perhps, from one set to itself. We study the properties of funtions. A mpping my not e funtion.
More informationwhere the box contains a finite number of gates from the given collection. Examples of gates that are commonly used are the following: a b
CS 294-2 9/11/04 Quntum Ciruit Model, Solovy-Kitev Theorem, BQP Fll 2004 Leture 4 1 Quntum Ciruit Model 1.1 Clssil Ciruits - Universl Gte Sets A lssil iruit implements multi-output oolen funtion f : {0,1}
More informationSection 1.3 Triangles
Se 1.3 Tringles 21 Setion 1.3 Tringles LELING TRINGLE The line segments tht form tringle re lled the sides of the tringle. Eh pir of sides forms n ngle, lled n interior ngle, nd eh tringle hs three interior
More informationSystem Validation (IN4387) November 2, 2012, 14:00-17:00
System Vlidtion (IN4387) Novemer 2, 2012, 14:00-17:00 Importnt Notes. The exmintion omprises 5 question in 4 pges. Give omplete explntion nd do not onfine yourself to giving the finl nswer. Good luk! Exerise
More information10.3 The Quadratic Formula
. Te Qudti Fomul We mentioned in te lst setion tt ompleting te sque n e used to solve ny qudti eqution. So we n use it to solve 0. We poeed s follows 0 0 Te lst line of tis we ll te qudti fomul. Te Qudti
More informationProbability. b a b. a b 32.
Proility If n event n hppen in '' wys nd fil in '' wys, nd eh of these wys is eqully likely, then proility or the hne, or its hppening is, nd tht of its filing is eg, If in lottery there re prizes nd lnks,
More information10 Statistical Distributions Solutions
Communictions Engineeing MSc - Peliminy Reding 1 Sttisticl Distiutions Solutions 1) Pove tht the vince of unifom distiution with minimum vlue nd mximum vlue ( is ) 1. The vince is the men of the sques
More informationComputing data with spreadsheets. Enter the following into the corresponding cells: A1: n B1: triangle C1: sqrt
Computing dt with spredsheets Exmple: Computing tringulr numers nd their squre roots. Rell, we showed 1 ` 2 ` `n npn ` 1q{2. Enter the following into the orresponding ells: A1: n B1: tringle C1: sqrt A2:
More informationNON-DETERMINISTIC FSA
Tw o types of non-determinism: NON-DETERMINISTIC FS () Multiple strt-sttes; strt-sttes S Q. The lnguge L(M) ={x:x tkes M from some strt-stte to some finl-stte nd ll of x is proessed}. The string x = is
More informationArrow s Impossibility Theorem
Rep Voting Prdoxes Properties Arrow s Theorem Arrow s Impossiility Theorem Leture 12 Arrow s Impossiility Theorem Leture 12, Slide 1 Rep Voting Prdoxes Properties Arrow s Theorem Leture Overview 1 Rep
More information( ) D x ( s) if r s (3) ( ) (6) ( r) = d dr D x
SIO 22B, Rudnick dpted fom Dvis III. Single vile sttistics The next few lectues e intended s eview of fundmentl sttistics. The gol is to hve us ll speking the sme lnguge s we move to moe dvnced topics.
More information6.5 Improper integrals
Eerpt from "Clulus" 3 AoPS In. www.rtofprolemsolving.om 6.5. IMPROPER INTEGRALS 6.5 Improper integrls As we ve seen, we use the definite integrl R f to ompute the re of the region under the grph of y =
More informationCS 311 Homework 3 due 16:30, Thursday, 14 th October 2010
CS 311 Homework 3 due 16:30, Thursdy, 14 th Octoer 2010 Homework must e sumitted on pper, in clss. Question 1. [15 pts.; 5 pts. ech] Drw stte digrms for NFAs recognizing the following lnguges:. L = {w
More informationAlgorithm Design and Analysis
Algorithm Design nd Anlysis LECTURE 5 Supplement Greedy Algorithms Cont d Minimizing lteness Ching (NOT overed in leture) Adm Smith 9/8/10 A. Smith; sed on slides y E. Demine, C. Leiserson, S. Rskhodnikov,
More informationExercise sheet 6: Solutions
Eerise sheet 6: Solutions Cvet emptor: These re merel etended hints, rther thn omplete solutions. 1. If grph G hs hromti numer k > 1, prove tht its verte set n e prtitioned into two nonempt sets V 1 nd
More informationQUADRATIC EQUATION. Contents
QUADRATIC EQUATION Contents Topi Pge No. Theory 0-04 Exerise - 05-09 Exerise - 09-3 Exerise - 3 4-5 Exerise - 4 6 Answer Key 7-8 Syllus Qudrti equtions with rel oeffiients, reltions etween roots nd oeffiients,
More informationSpacetime and the Quantum World Questions Fall 2010
Spetime nd the Quntum World Questions Fll 2010 1. Cliker Questions from Clss: (1) In toss of two die, wht is the proility tht the sum of the outomes is 6? () P (x 1 + x 2 = 6) = 1 36 - out 3% () P (x 1
More informationInequalities of Olympiad Caliber. RSME Olympiad Committee BARCELONA TECH
Ineulities of Olymid Clier José Luis Díz-Brrero RSME Olymid Committee BARCELONA TECH José Luis Díz-Brrero RSME Olymi Committee UPC BARCELONA TECH jose.luis.diz@u.edu Bsi fts to rove ineulities Herefter,
More informationNondeterministic Automata vs Deterministic Automata
Nondeterministi Automt vs Deterministi Automt We lerned tht NFA is onvenient model for showing the reltionships mong regulr grmmrs, FA, nd regulr expressions, nd designing them. However, we know tht n
More information5. Every rational number have either terminating or repeating (recurring) decimal representation.
CHAPTER NUMBER SYSTEMS Points to Rememer :. Numer used for ounting,,,,... re known s Nturl numers.. All nturl numers together with zero i.e. 0,,,,,... re known s whole numers.. All nturl numers, zero nd
More informationEECE 260 Electrical Circuits Prof. Mark Fowler
EECE 60 Electicl Cicuits Pof. Mk Fowle Complex Numbe Review /6 Complex Numbes Complex numbes ise s oots of polynomils. Definition of imginy # nd some esulting popeties: ( ( )( ) )( ) Recll tht the solution
More informationPreviously. Extensions to backstepping controller designs. Tracking using backstepping Suppose we consider the general system
436-459 Advnced contol nd utomtion Extensions to bckstepping contolle designs Tcking Obseves (nonline dmping) Peviously Lst lectue we looked t designing nonline contolles using the bckstepping technique
More informationset is not closed under matrix [ multiplication, ] and does not form a group.
Prolem 2.3: Which of the following collections of 2 2 mtrices with rel entries form groups under [ mtrix ] multipliction? i) Those of the form for which c d 2 Answer: The set of such mtrices is not closed
More informationCoalgebra, Lecture 15: Equations for Deterministic Automata
Colger, Lecture 15: Equtions for Deterministic Automt Julin Slmnc (nd Jurrin Rot) Decemer 19, 2016 In this lecture, we will study the concept of equtions for deterministic utomt. The notes re self contined
More informationArrow s Impossibility Theorem
Rep Fun Gme Properties Arrow s Theorem Arrow s Impossiility Theorem Leture 12 Arrow s Impossiility Theorem Leture 12, Slide 1 Rep Fun Gme Properties Arrow s Theorem Leture Overview 1 Rep 2 Fun Gme 3 Properties
More informationINTEGRATION. 1 Integrals of Complex Valued functions of a REAL variable
INTEGRATION NOTE: These notes re supposed to supplement Chpter 4 of the online textbook. 1 Integrls of Complex Vlued funtions of REAL vrible If I is n intervl in R (for exmple I = [, b] or I = (, b)) nd
More informationBisimulation, Games & Hennessy Milner logic
Bisimultion, Gmes & Hennessy Milner logi Leture 1 of Modelli Mtemtii dei Proessi Conorrenti Pweł Soboiński Univeristy of Southmpton, UK Bisimultion, Gmes & Hennessy Milner logi p.1/32 Clssil lnguge theory
More informationProject 6: Minigoals Towards Simplifying and Rewriting Expressions
MAT 51 Wldis Projet 6: Minigols Towrds Simplifying nd Rewriting Expressions The distriutive property nd like terms You hve proly lerned in previous lsses out dding like terms ut one prolem with the wy
More informationCS 373, Spring Solutions to Mock midterm 1 (Based on first midterm in CS 273, Fall 2008.)
CS 373, Spring 29. Solutions to Mock midterm (sed on first midterm in CS 273, Fll 28.) Prolem : Short nswer (8 points) The nswers to these prolems should e short nd not complicted. () If n NF M ccepts
More informationHarvard University Computer Science 121 Midterm October 23, 2012
Hrvrd University Computer Science 121 Midterm Octoer 23, 2012 This is closed-ook exmintion. You my use ny result from lecture, Sipser, prolem sets, or section, s long s you quote it clerly. The lphet is
More informationAddition & Subtraction of Polynomials
Addiion & Sucion of Polynomil Addiion of Polynomil: Adding wo o moe olynomil i imly me of dding like em. The following ocedue hould e ued o dd olynomil 1. Remove enhee if hee e enhee. Add imil em. Wie
More informationPhysics 505 Fall 2005 Midterm Solutions. This midterm is a two hour open book, open notes exam. Do all three problems.
Physics 55 Fll 5 Midtem Solutions This midtem is two hou open ook, open notes exm. Do ll thee polems. [35 pts] 1. A ectngul ox hs sides of lengths, nd c z x c [1] ) Fo the Diichlet polem in the inteio
More informationa) Read over steps (1)- (4) below and sketch the path of the cycle on a P V plot on the graph below. Label all appropriate points.
Prole 3: Crnot Cyle of n Idel Gs In this prole, the strting pressure P nd volue of n idel gs in stte, re given he rtio R = / > of the volues of the sttes nd is given Finlly onstnt γ = 5/3 is given You
More informationCMPSCI 250: Introduction to Computation. Lecture #31: What DFA s Can and Can t Do David Mix Barrington 9 April 2014
CMPSCI 250: Introduction to Computtion Lecture #31: Wht DFA s Cn nd Cn t Do Dvid Mix Brrington 9 April 2014 Wht DFA s Cn nd Cn t Do Deterministic Finite Automt Forml Definition of DFA s Exmples of DFA
More informationU>, and is negative. Electric Potential Energy
Electic Potentil Enegy Think of gvittionl potentil enegy. When the lock is moved veticlly up ginst gvity, the gvittionl foce does negtive wok (you do positive wok), nd the potentil enegy (U) inceses. When
More informationSurds and Indices. Surds and Indices. Curriculum Ready ACMNA: 233,
Surs n Inies Surs n Inies Curriulum Rey ACMNA:, 6 www.mthletis.om Surs SURDS & & Inies INDICES Inies n surs re very losely relte. A numer uner (squre root sign) is lle sur if the squre root n t e simplifie.
More informationIllustrating the space-time coordinates of the events associated with the apparent and the actual position of a light source
Illustting the spe-time oointes of the events ssoite with the ppent n the tul position of light soue Benh Rothenstein ), Stefn Popesu ) n Geoge J. Spi 3) ) Politehni Univesity of Timiso, Physis Deptment,
More informationDuke Math Meet
Duke Mth Meet 01-14 Power Round Qudrtic Residues nd Prime Numers For integers nd, we write to indicte tht evenly divides, nd to indicte tht does not divide For exmle, 4 nd 4 Let e rime numer An integer
More information1 Nondeterministic Finite Automata
1 Nondeterministic Finite Automt Suppose in life, whenever you hd choice, you could try oth possiilities nd live your life. At the end, you would go ck nd choose the one tht worked out the est. Then you
More informationSolutions to Assignment 1
MTHE 237 Fll 2015 Solutions to Assignment 1 Problem 1 Find the order of the differentil eqution: t d3 y dt 3 +t2 y = os(t. Is the differentil eqution liner? Is the eqution homogeneous? b Repet the bove
More informationImproper Integrals. The First Fundamental Theorem of Calculus, as we ve discussed in class, goes as follows:
Improper Integrls The First Fundmentl Theorem of Clculus, s we ve discussed in clss, goes s follows: If f is continuous on the intervl [, ] nd F is function for which F t = ft, then ftdt = F F. An integrl
More informationAnalysis of Variance for Multiple Factors
Multiple Fto ANOVA Notes Pge wo Fto Anlsis Anlsis of Vine fo Multiple Ftos Conside two ftos (tetments) A nd B with A done t levels nd B done t levels. Within given tetment omintion of A nd B levels, leled
More informationAlgorithm Design and Analysis
Algorithm Design nd Anlysis LECTURE 8 Mx. lteness ont d Optiml Ching Adm Smith 9/12/2008 A. Smith; sed on slides y E. Demine, C. Leiserson, S. Rskhodnikov, K. Wyne Sheduling to Minimizing Lteness Minimizing
More informationIndividual Group. Individual Events I1 If 4 a = 25 b 1 1. = 10, find the value of.
Answers: (000-0 HKMO Het Events) Creted y: Mr. Frnis Hung Lst udted: July 0 00-0 33 3 7 7 5 Individul 6 7 7 3.5 75 9 9 0 36 00-0 Grou 60 36 3 0 5 6 7 7 0 9 3 0 Individul Events I If = 5 = 0, find the vlue
More informationπ,π is the angle FROM a! TO b
Mth 151: 1.2 The Dot Poduct We hve scled vectos (o, multiplied vectos y el nume clled scl) nd dded vectos (in ectngul component fom). Cn we multiply vectos togethe? The nswe is YES! In fct, thee e two
More informationLecture 6: Coding theory
Leture 6: Coing theory Biology 429 Crl Bergstrom Ferury 4, 2008 Soures: This leture loosely follows Cover n Thoms Chpter 5 n Yeung Chpter 3. As usul, some of the text n equtions re tken iretly from those
More informationNon Right Angled Triangles
Non Right ngled Tringles Non Right ngled Tringles urriulum Redy www.mthletis.om Non Right ngled Tringles NON RIGHT NGLED TRINGLES sin i, os i nd tn i re lso useful in non-right ngled tringles. This unit
More informationIntroduction to Olympiad Inequalities
Introdution to Olympid Inequlities Edutionl Studies Progrm HSSP Msshusetts Institute of Tehnology Snj Simonovikj Spring 207 Contents Wrm up nd Am-Gm inequlity 2. Elementry inequlities......................
More informationPropositional models. Historical models of computation. Application: binary addition. Boolean functions. Implementation using switches.
Propositionl models Historil models of omputtion Steven Lindell Hverford College USA 1/22/2010 ISLA 2010 1 Strt with fixed numer of oolen vriles lled the voulry: e.g.,,. Eh oolen vrile represents proposition,
More informationCS 2204 DIGITAL LOGIC & STATE MACHINE DESIGN SPRING 2014
S 224 DIGITAL LOGI & STATE MAHINE DESIGN SPRING 214 DUE : Mrh 27, 214 HOMEWORK III READ : Relte portions of hpters VII n VIII ASSIGNMENT : There re three questions. Solve ll homework n exm prolems s shown
More informationNondeterministic Finite Automata
Nondeterministi Finite utomt The Power of Guessing Tuesdy, Otoer 4, 2 Reding: Sipser.2 (first prt); Stoughton 3.3 3.5 S235 Lnguges nd utomt eprtment of omputer Siene Wellesley ollege Finite utomton (F)
More informationQuality control. Final exam: 2012/1/12 (Thur), 9:00-12:00 Q1 Q2 Q3 Q4 Q5 YOUR NAME
Qulity contol Finl exm: // (Thu), 9:-: Q Q Q3 Q4 Q5 YOUR NAME NOTE: Plese wite down the deivtion of you nswe vey clely fo ll questions. The scoe will be educed when you only wite nswe. Also, the scoe will
More informationCS311 Computational Structures Regular Languages and Regular Grammars. Lecture 6
CS311 Computtionl Strutures Regulr Lnguges nd Regulr Grmmrs Leture 6 1 Wht we know so fr: RLs re losed under produt, union nd * Every RL n e written s RE, nd every RE represents RL Every RL n e reognized
More informationActivities. 4.1 Pythagoras' Theorem 4.2 Spirals 4.3 Clinometers 4.4 Radar 4.5 Posting Parcels 4.6 Interlocking Pipes 4.7 Sine Rule Notes and Solutions
MEP: Demonstrtion Projet UNIT 4: Trigonometry UNIT 4 Trigonometry tivities tivities 4. Pythgors' Theorem 4.2 Spirls 4.3 linometers 4.4 Rdr 4.5 Posting Prels 4.6 Interloking Pipes 4.7 Sine Rule Notes nd
More informationPart 4. Integration (with Proofs)
Prt 4. Integrtion (with Proofs) 4.1 Definition Definition A prtition P of [, b] is finite set of points {x 0, x 1,..., x n } with = x 0 < x 1
More informationCS 330 Formal Methods and Models
CS 330 Forml Methods nd Models Dn Richrds, George Mson University, Spring 2017 Quiz Solutions Quiz 1, Propositionl Logic Dte: Ferury 2 1. Prove ((( p q) q) p) is tutology () (3pts) y truth tle. p q p q
More informationQUADRATIC EQUATION EXERCISE - 01 CHECK YOUR GRASP
QUADRATIC EQUATION EXERCISE - 0 CHECK YOUR GRASP. Sine sum of oeffiients 0. Hint : It's one root is nd other root is 8 nd 5 5. tn other root 9. q 4p 0 q p q p, q 4 p,,, 4 Hene 7 vlues of (p, q) 7 equtions
More informationThe University of Nottingham SCHOOL OF COMPUTER SCIENCE A LEVEL 2 MODULE, SPRING SEMESTER MACHINES AND THEIR LANGUAGES ANSWERS
The University of ottinghm SCHOOL OF COMPUTR SCIC A LVL 2 MODUL, SPRIG SMSTR 2015 2016 MACHIS AD THIR LAGUAGS ASWRS Time llowed TWO hours Cndidtes my omplete the front over of their nswer ook nd sign their
More informationUniversity of Sioux Falls. MAT204/205 Calculus I/II
University of Sioux Flls MAT204/205 Clulus I/II Conepts ddressed: Clulus Textook: Thoms Clulus, 11 th ed., Weir, Hss, Giordno 1. Use stndrd differentition nd integrtion tehniques. Differentition tehniques
More informationCSC2542 State-Space Planning
CSC2542 Stte-Spe Plnning Sheil MIlrith Deprtment of Computer Siene University of Toronto Fll 2010 1 Aknowlegements Some the slies use in this ourse re moifitions of Dn Nu s leture slies for the textook
More informationLecture 14. Protocols. Key Distribution Center (KDC) or Trusted Third Party (TTP) KDC generates R1
Lectue 14 Potocols 1 Key Distiution Cente (KDC) o Tusted Thid Pty (TTP) KDC genetes R1 lice otins R1 Msg1: K () Msg2: K (R1 K (R1) ) Msg3: K (R1) o otins R1 nd knows to use s key fo communicting with lice
More informationGreen s Theorem. (2x e y ) da. (2x e y ) dx dy. x 2 xe y. (1 e y ) dy. y=1. = y e y. y=0. = 2 e
Green s Theorem. Let be the boundry of the unit squre, y, oriented ounterlokwise, nd let F be the vetor field F, y e y +, 2 y. Find F d r. Solution. Let s write P, y e y + nd Q, y 2 y, so tht F P, Q. Let
More informationBehavior Composition in the Presence of Failure
Behvior Composition in the Presene of Filure Sestin Srdin RMIT University, Melourne, Austrli Fio Ptrizi & Giuseppe De Giomo Spienz Univ. Rom, Itly KR 08, Sept. 2008, Sydney Austrli Introdution There re
More informationPolynomials. Polynomials. Curriculum Ready ACMNA:
Polynomils Polynomils Curriulum Redy ACMNA: 66 www.mthletis.om Polynomils POLYNOMIALS A polynomil is mthemtil expression with one vrile whose powers re neither negtive nor frtions. The power in eh expression
More informationChapter Five: Nondeterministic Finite Automata. Formal Language, chapter 5, slide 1
Chpter Five: Nondeterministic Finite Automt Forml Lnguge, chpter 5, slide 1 1 A DFA hs exctly one trnsition from every stte on every symol in the lphet. By relxing this requirement we get relted ut more
More informationClosure Properties of Regular Languages
Closure Properties of Regulr Lnguges Regulr lnguges re closed under mny set opertions. Let L 1 nd L 2 e regulr lnguges. (1) L 1 L 2 (the union) is regulr. (2) L 1 L 2 (the conctention) is regulr. (3) L
More informationMore on automata. Michael George. March 24 April 7, 2014
More on utomt Michel George Mrch 24 April 7, 2014 1 Automt constructions Now tht we hve forml model of mchine, it is useful to mke some generl constructions. 1.1 DFA Union / Product construction Suppose
More informationLogic Synthesis and Verification
Logi Synthesis nd Verifition SOPs nd Inompletely Speified Funtions Jie-Hong Rolnd Jing 江介宏 Deprtment of Eletril Engineering Ntionl Tiwn University Fll 2010 Reding: Logi Synthesis in Nutshell Setion 2 most
More informationAn Analysis of the LRE-Algorithm using Sojourn Times
An Anlysis of the LRE-Algoithm using Sooun Times Nobet Th. Mülle Abteilung Infomtik Univesität Tie D-5486 Tie, Gemny E-mil: muelle@uni-tie.de Tel: ++49-65-0-845 Fx: ++49-65-0-3805 KEYWORDS Disete event
More informationBases for Vector Spaces
Bses for Vector Spces 2-26-25 A set is independent if, roughly speking, there is no redundncy in the set: You cn t uild ny vector in the set s liner comintion of the others A set spns if you cn uild everything
More informationCounting Paths Between Vertices. Isomorphism of Graphs. Isomorphism of Graphs. Isomorphism of Graphs. Isomorphism of Graphs. Isomorphism of Graphs
Isomorphism of Grphs Definition The simple grphs G 1 = (V 1, E 1 ) n G = (V, E ) re isomorphi if there is ijetion (n oneto-one n onto funtion) f from V 1 to V with the property tht n re jent in G 1 if
More informationCSC2542 Representations for Classical Planning
1 Aknowlegements CSC2542 Representtions for Clssil Plnning Sheil MIlrith Deprtment of Computer Siene University of Toronto Winter 2009 Some the slies use in this ourse re moifitions of Dn Nu s leture slies
More information2.4 Linear Inequalities and Interval Notation
.4 Liner Inequlities nd Intervl Nottion We wnt to solve equtions tht hve n inequlity symol insted of n equl sign. There re four inequlity symols tht we will look t: Less thn , Less thn or
More informationBoolean algebra.
http://en.wikipedi.org/wiki/elementry_boolen_lger Boolen lger www.tudorgir.com Computer science is not out computers, it is out computtion nd informtion. computtion informtion computer informtion Turing
More informationAP Calculus AB Unit 4 Assessment
Clss: Dte: 0-04 AP Clulus AB Unit 4 Assessment Multiple Choie Identify the hoie tht best ompletes the sttement or nswers the question. A lultor my NOT be used on this prt of the exm. (6 minutes). The slope
More informationClass Summary. be functions and f( D) , we define the composition of f with g, denoted g f by
Clss Summy.5 Eponentil Functions.6 Invese Functions nd Logithms A function f is ule tht ssigns to ech element D ectly one element, clled f( ), in. Fo emple : function not function Given functions f, g:
More informationCS241 Week 6 Tutorial Solutions
241 Week 6 Tutoril olutions Lnguges: nning & ontext-free Grmmrs Winter 2018 1 nning Exerises 1. 0x0x0xd HEXINT 0x0 I x0xd 2. 0xend--- HEXINT 0xe I nd ER -- MINU - 3. 1234-120x INT 1234 INT -120 I x 4.
More informationSt Andrew s Academy Mathematics Department Higher Mathematics VECTORS
St ndew s cdemy Mthemtics etment Highe Mthemtics VETORS St ndew's cdemy Mths et 0117 1 Vectos sics 1. = nd = () Sketch the vectos nd. () Sketch the vectos nd. (c) Given u = +, sketch the vecto u. (d) Given
More informationMinimal DFA. minimal DFA for L starting from any other
Miniml DFA Among the mny DFAs ccepting the sme regulr lnguge L, there is exctly one (up to renming of sttes) which hs the smllest possile numer of sttes. Moreover, it is possile to otin tht miniml DFA
More informationElectric Potential. and Equipotentials
Electic Potentil nd Euipotentils U Electicl Potentil Review: W wok done y foce in going fom to long pth. l d E dl F W dl F θ Δ l d E W U U U Δ Δ l d E W U U U U potentil enegy electic potentil Potentil
More informationType 2: Improper Integrals with Infinite Discontinuities
mth imroer integrls: tye 6 Tye : Imroer Integrls with Infinite Disontinuities A seond wy tht funtion n fil to be integrble in the ordinry sense is tht it my hve n infinite disontinuity (vertil symtote)
More informationSIMPLE NONLINEAR GRAPHS
S i m p l e N o n l i n e r G r p h s SIMPLE NONLINEAR GRAPHS www.mthletis.om.u Simple SIMPLE Nonliner NONLINEAR Grphs GRAPHS Liner equtions hve the form = m+ where the power of (n ) is lws. The re lle
More informationSection 6.1 INTRO to LAPLACE TRANSFORMS
Section 6. INTRO to LAPLACE TRANSFORMS Key terms: Improper Integrl; diverge, converge A A f(t)dt lim f(t)dt Piecewise Continuous Function; jump discontinuity Function of Exponentil Order Lplce Trnsform
More information22: Union Find. CS 473u - Algorithms - Spring April 14, We want to maintain a collection of sets, under the operations of:
22: Union Fin CS 473u - Algorithms - Spring 2005 April 14, 2005 1 Union-Fin We wnt to mintin olletion of sets, uner the opertions of: 1. MkeSet(x) - rete set tht ontins the single element x. 2. Fin(x)
More informationMAT 403 NOTES 4. f + f =
MAT 403 NOTES 4 1. Fundmentl Theorem o Clulus We will proo more generl version o the FTC thn the textook. But just like the textook, we strt with the ollowing proposition. Let R[, ] e the set o Riemnn
More informationLESSON 11: TRIANGLE FORMULAE
. THE SEMIPERIMETER OF TRINGLE LESSON : TRINGLE FORMULE In wht follows, will hve sides, nd, nd these will e opposite ngles, nd respetively. y the tringle inequlity, nd..() So ll of, & re positive rel numers.
More informationSolutions for HW9. Bipartite: put the red vertices in V 1 and the black in V 2. Not bipartite!
Solutions for HW9 Exerise 28. () Drw C 6, W 6 K 6, n K 5,3. C 6 : W 6 : K 6 : K 5,3 : () Whih of the following re iprtite? Justify your nswer. Biprtite: put the re verties in V 1 n the lk in V 2. Biprtite:
More information1. For each of the following theorems, give a two or three sentence sketch of how the proof goes or why it is not true.
York University CSE 2 Unit 3. DFA Clsses Converting etween DFA, NFA, Regulr Expressions, nd Extended Regulr Expressions Instructor: Jeff Edmonds Don t chet y looking t these nswers premturely.. For ech
More informationTopic II.1: Frequent Subgraph Mining
Topi II.1: Fequent Sugph Mining Disete Topis in Dt Mining Univesität des Slndes, Süken Winte Semeste 2012/13 T II.1-1 TII.1: Fequent Sugph Mining 1. Definitions nd Polems 1.1. Gph Isomophism 2. Apioi-Bsed
More information