LPG: A Planner Based on Local Search for Planning Graphs with Action Costs

Size: px
Start display at page:

Download "LPG: A Planner Based on Local Search for Planning Graphs with Action Costs"

Transcription

1 LPG: A Plnner Bsed on Locl Serch for Plnning Grphs with Action Costs Alfonso Gerevini nd Ivn Serin Diprtimento di Elettronic per l Automzione, Università degli Studi di Bresci Vi Brnze 38, I Bresci, Itly {gerevini,serin}@ing.unibs.it Abstrct We present LPG, fst plnner using locl serch for solving plnning grphs. LPG cn use vrious heuristics bsed on prmetrized objective function. These prmeters weight different types of inconsistencies in the prtil pln represented by the current serch stte, nd re dynmiclly evluted during serch using Lgrnge multipliers. LPG s bsic heuristic ws inspired by Wlkst, which in Kutz nd Selmn s Blckbox cn be used to solve the SAT-encoding of plnning grph. An dvntge of LPG is tht its heuristics exploit the structure of the plnning grph, while Blckbox relies on generl heuristics for SAT-problems, nd requires the trnsltion of the plnning grph into propositionl cluses. Another mjor difference is tht LPG cn hndle ction costs to produce good qulity plns. This is chieved by n nytime process minimizing n objective function bsed on the number of inconsistencies in the prtil pln nd on its overll cost. The objective function cn lso tke into ccount the number of prllel steps nd the overll pln durtion. Experimentl results illustrte the efficiency of our pproch showing, in prticulr, tht for set of well-known benchmrk domins LPG is significntly fster thn existing Grphpln-style plnners. Introduction Blum nd Furst s plnning grph nlysis (1997) hs become populr pproch to plnning on which vrious plnners re bsed (e.g., (Blum nd Furst 1997; Fox nd Long 1998; Kutz nd Selmn 1999; Koehler et l. 1997; Kmbhmpti, Minh nd Do 2001; Smith nd Weld 1999)). In this pper we present LPG, plnner bsed on locl serch nd plnning grphs, which considerbly extends preliminry techniques introduced in (Gerevini nd Serin 1999). The serch spce of LPG is formed by prticulr subgrphs of plnning grph, clled ction grphs, representing prtil plns. The opertors for moving from one serch stte to the next one re some grph modifictions corresponding to prticulr revisions of the represented prtil pln. LPG uses vrious heuristics bsed on prmetrized evlution function, where the prmeters weight different types of inconsistencies in n ction grph, nd re dynmiclly Copyright c 2002, Americn Assocition for Artificil Intelligence ( All rights reserved. evluted using Lgrnge multipliers. LPG s bsic heuristic, Wlkpln, ws inspired by Wlkst (Selmn, Kutz, nd Cohen 1994), stochstic locl serch procedure which in Kutz nd Selmn s Blckbox (1999) cn be used to solve the SAT-encoding of plnning grph (Kutz, McAllester, nd Selmn 1996). An dvntge of Wlkpln with respect to Blckbox is tht it opertes directly on the plnning grph. The serch neighborhood of Wlkpln is defined nd evluted by exploiting the structure of the grph, which in the SATtrnsltion of the grph is lost, or hidden. Another difference regrds the number of prllel steps in the pln (length of the pln). LPG cn increment the length of the pln during the serch process, while in SAT-bsed plnners this is done off-line. Most existing plnners hve limited notion of pln qulity tht is bsed on the number of ctions, or prllel time steps. LPG hndles more ccurte notion tking into ccount the execution cost of n ction. Execution costs re represented s numbers ssocited with the ctions. The serch uses this informtion to produce plns of good qulity by minimizing n objective function including term for the evlution of the overll execution cost of pln. This is performed through n nytime process generting succession of plns, ech of which improves the previous ones. A similr process cn be used to generte plns of good qulity in terms of their number of prllel steps or their overll durtion. Experimentl results illustrte the efficiency of our pproch for pln genertion indicting, in prticulr, tht LPG is significntly fster thn four other plnners bsed on plnning grphs: IPP4.1 (Koehler et l. 1997), STAN3s (Fox nd Long 1998), GP-CSP (Kmbhmpti, Minh nd Do 2001), nd the recent version 3.9 of Blckbox. Other experimentl results show the effectiveness of our incrementl process for generting good qulity plns. The second section introduces our bsic locl serch techniques for plnning grphs; the third section presents some techniques improving the serch process; the fourth section concerns pln qulity in LPG; the fifth section gives our experimentl results; the finl section gives conclusions nd mentions further work. AIPS

2 Locl Serch in the Spce of Action Grphs In this section we give the necessry bckground on plnning grphs (Blum nd Furst 1997), ction grphs, nd the bsic locl serch techniques introduced in (Gerevini nd Serin 1999). Plnning Grphs nd Action Grphs A plnning grph is directed cyclic led grph with two kinds of nodes nd three kinds of edges. The s lternte between fct, contining fct nodes, nd n ction contining ction nodes. An ction node t t represents n ction (instntited opertor) tht cn be plnned t time step t. Afct node represents proposition corresponding to precondition of one or more ctions t time step t, ortoneffect of one or more ctions t time step t 1. The fct nodes of 0 represent the positive fcts of the initil stte of the plnning problem (every fct tht is not mentioned in the initil stte is ssumed flse). In the following, we indicte with [u] the proposition (ction) represented by the fct node (ction node) u. The edges in plnning grph connect ction nodes nd fct nodes. In prticulr, n ction node of i is connected by: precondition edges from the fct nodes of i representing the preconditions of []; dd-edges to the fct nodes of i +1representing the positive effects of []; delete-edges to the fct nodes of i +1representing the negtive effects of []. Ech fct node f t l is ssocited with ction node t the sme, which represents dummy ction hving [f] s its only precondition nd effect. Two ction nodes nd b re mrked s mutully exclusive in the grph when one of the ctions deletes precondition or dd-effect of the other (interference), or when precondition node of nd precondition node of b re mrked s mutully exclusive (competing needs). Two proposition nodes p nd q in proposition re mrked s exclusive if ll wys of mking proposition [p] true re exclusive with ll wys of mking [q] true (ech ction node hving n dd-edge to p is mrked s exclusive of ech ction node b hving n dd-edge to q). When two fcts or ctions re mrked s mutully exclusive, we sy tht there is mutex reltion between them. Afct node q of i is supported in subgrph G of plnning grph G if either (i) in G there is n ction node t i 1 representing n ction with (positive) effect [q], or (ii) i =0(i.e., [q]isproposition of the initil stte). Given plnning problem Π, the corresponding plnning grph G cn be incrementlly constructed by strting from 0 using polynomil lgorithm. The lst of the grph is propositionl where the gol nodes re present, nd there is no mutex reltion between them. Without loss of generlity, we will ssume tht the gol nodes of the lst represent preconditions of specil ction [ end ], which is the lst ction in ny vlid pln. An ction grph (A-grph) A of G is subgrph of G contining end nd such tht, if is n ction node of G in A, then lso the fct nodes of G corresponding to the preconditions nd positive effects of [] reina, together with the edges connecting them to. A solution grph for G is n ction grph A s of G such tht ll precondition nodes of the ctions in A s re supported, nd there is no mutex reltion between ction nodes of A s. A solution grph for G represents vlid pln for Π. If the serch for solution grph fils, G cn be itertively expnded by dding n extr, nd performing new serch using the resultnt grph. Bsic Serch Neighborhood nd Heuristics Given plnning grph G, the locl serch process strts from n initil A-grph A of G (i.e., prtil pln), nd trnsforms it into solution grph through the itertive ppliction of some grph modifictions improving the current prtil pln. The two bsic modifictions consist of dding new ction node to the current A-grph, or removing n ction node from it (together with the relevnt edges). At ny step of the serch process, which produces new A-grph, the set of ctions tht cn be dded or removed is determined by the constrint violtions tht re present in the current A-grph. A constrint violtion (or inconsistency) is either mutex reltion involving ction nodes in the current A-grph, or n unsupported fct which is precondition of n ction in the current prtil pln. The generl scheme for serching solution grph ( finl stte of the serch) consists of two min steps. The first step is n initiliztion of the serch in which we construct n initil A-grph. The second step is locl serch process in the spce of ll A-grphs, strting from the initil A-grph. We cn generte n initil A-grph in severl wys. Three possibilities tht cn be performed in polynomil time, nd tht we hve implemented in LPG re: (i) rndomly generted A-grph; (ii) n A-grph where ll precondition fcts re supported (but in which there my be some violted mutex reltions); n A-grph obtined from n existing pln given in input to the process. Once we hve computed n initil A-grph, ech bsic serch step rndomly chooses n inconsistency in the current A-grph. If this is n unsupported fct node, then in order to resolve (eliminte) it, we cn either dd n ction node tht supports it, or we cn remove n ction node which is connected to tht fct node by precondition edge. If the chosen inconsistency is mutex reltion, then we cn remove one of the ction nodes of the mutex reltion. When we dd (remove) n ction node to del with n inconsistency, we lso dd (remove) ll edges connecting the ction node with the corresponding precondition nd effect nodes in the plnning grph. Given plnning grph G, nction grph A of G nd constrint violtion s in A, the neighborhood N(s, A) of s in A is the set of ction grphs obtined from A by pplying grph modifiction tht resolves s. Atech step of the locl serch, the elements in the neighborhood re weighted ccording to n evlution function, nd n element with the best evlution is then chosen s the possible next subgrph (serch stte). Given n ction subgrph A of plnning grph G, the generl evlution function F of A is defined s follows: 14 AIPS 2002

3 F (A) = G mutex(, A)+precond(, A) where: { 0 if A mutex(, A) = me(, A) if A { 0 if A precond(, A) = pre(, A) if A nd me(, A) is the number of ction nodes in A which re mutully exclusive with, while pre(, A) is the number of precondition fcts of which re not supported in A. It is esy to see tht, when the serch reches n A-grph for which F is zero, this is solution grph. The simple use of the generl function to guide the locl serch hs the drwbck tht it cn led to locl minim from which the serch cn not escpe. For this reson, insted of using F,weuse prmetrized ction evlution function E which llows to specify different types of heuristics. This function specifies the cost of inserting (E i ) nd of removing (E r )nction [] inthe prtil pln represented by the current ction subgrph A: E([], A) i = α i pre(, A)+β i me(, A)+γ i unsup(, A) E([], A) r = α r pre(, A)+β r me(, A)+γ r sup(, A), where me(, A) nd pre(, A) re defined s in F ; unsup(, A) is the number of unsupported precondition fcts in A tht become supported by dding to A; sup(, A) is the number of supported precondition fcts in A tht become unsupported by removing from A; α, β nd γ re prmeters specilizing the function. By ppropritely setting the vlues of these coefficients we cn implement different heuristic methods imed t mking the serch less influenced by locl minim. Their vlues hve to stisfy the following constrints: α i, β i > 0 nd γ i 0 in E i ; α r, β r 0 nd γ r > 0 in E r. Note tht the positive coefficients of E (α i,β i nd γ r ) determine n increment of E which is relted to n increment of the number of inconsistencies. Anlogously, the non-positive coefficients of E determines decrement of E which is relted to decrement of the number of inconsistencies. In (Gerevini nd Serin 1999) we proposed three bsic heuristics to guide the locl serch: Wlkpln, Tbupln nd T-Wlkpln. Inthis pper we focus on Wlkpln, which is similr to the heuristic used by Wlkst (Selmn, Kutz, nd Cohen 1994). In Wlkpln we hve γ i =0, α r =0, nd β r =0, i.e., the ction evlution function is E([], A) i = α i pre(, A)+β i me(, A) E([], A) r = γ r sup(, A). The best element in the neighborhood is the A-grph introducing the fewest new constrint violtions (Wlkpln does not consider the constrint violtions of the current A-grph tht re resolved). Like Wlkst, Wlkpln uses noise prmeter p: given n A-grph A nd (rndomly chosen) constrint violtion, if there is modifiction tht does not introduce new constrint violtions, then the corresponding A-grph in N(s, A) is chosen s the next A-grph; otherwise, with probbility p one of the grphs in N(s, A) is chosen rndomly, nd with probbility 1 p the next A-grph is chosen ccording to the minimum vlue of the ction evlution function. Neighborhood Refinements In this section we present some improvements of the bsic locl serch technique described in the previous section. Dynmic Heuristics Bsed on Lgrnge Multipliers As shown in (Gerevini nd Serin 2001) the vlues of the coefficients α, β nd γ in E cn significntly ffect the efficiency of the serch. Since their vlue is sttic, the optiml performnce cn be obtined only when their vlues re ppropritely tuned before serch. Moreover, the best prmeter setting cn be different for different plnning domins, or even for different problems in the sme domin. In order to cope with this drwbck, we hve revised the evlution functions by weighting their terms with dynmic coefficients similr to the Lgrnge multipliers for discrete problems tht hve been used for solving SAT problems (Shng nd Wh 1998; Wh nd Wu 1999; Wu nd Wh 2000). The use of these multipliers gives two importnt improvements to our locl serch. First, the revised cost function is more informtive, nd cn discriminte more ccurtely the elements in the neighborhood. Secondly, the new cost function does not depend on ny sttic coefficient (the α, β nd γ coefficients cn be omitted, nd the initil defult vlue of ll new multipliers is scrcely importnt). The generl ide is tht ech constrint violtion is ssocited with dynmic multiplier tht weights it. If the vlue of the multiplier is high, then the corresponding constrint violtion is considered difficult, while if the vlue is low it is considered esy. Using these multipliers, the qulity of n A-grph will be estimted not only in terms of the number of constrint violtions tht re present in it, but lso in terms of n estimtion of the difficulty to solve the prticulr constrint violtions tht re present. Since the number of constrint violtions tht cn rise during the serch cn be very high, insted of mintining distinct multiplier for ech of them, our technique ssigns multiplier to set of constrint violtions ssocited with the sme ction. Specificlly, for ech ction,wehve multi- plier λ m for ll mutex reltions involving, nd multiplier λ p for ll preconditions of. Intuitively, these multipliers estimte the difficulty of stisfying ll preconditions of n ction, nd of voiding to hve tht is mutully exclusive with ny other ction in the A-grph. The multipliers cn be used to refine the cost E([], A) i of inserting the ction node nd the cost E([], A) r of removing. Inprticulr, the evlution function for Wlkpln becomes E λ ([], A) i = λ p pre(, A)+λ m me(, A) E λ ([], A) r =, AIPS

4 where is the sum of the supported preconditions in A tht become unsupported by removing, weighted by λ j p, i.e., = (pre( j, A []) pre( j, A)). j A {} λ j p The multipliers hve ll the sme defult initil vlue, which is dynmiclly updted during the serch. Intuitively, we wnt to increse the multipliers ssocited with ctions introducing constrint violtions tht turn out to be difficult to solve, while we wnt to decrese the multipliers ssocited with ctions whose constrint violtions tend to be esier. These will led to prefer grphs in the neighborhood tht pper to be globlly esier so solve (i.e., tht re closer to solution grph). The updte of the multipliers is performed whenever the locl serch reches locl minimum or plteu (i.e., when ll the elements in the neighborhood hve E λ greter thn zero). The vlues of the multipliers of the ctions tht re responsible of the constrint violtions present in the current ction grph re then incresed by certin smll quntity δ +, while the multipliers of the ctions tht do not determine ny constrint violtion re decresed by δ.for exmple, if is in the current A-grph nd is involved in mutex reltion with nother ction in the grph, then λ m is incresed by predefined positive smll quntity δ + (otherwise it is decresed by δ ). 1 No-op Propgtion This technique is bsed on the observtion tht, whenever n ction is dded to the current pln (ction grph), its effects cn be propgted to the next time steps (s), unless there is n ction interfering with them. Suppose tht P is one of the effects of n ction t time step () t. Pis propgted to the next s by dding the corresponding no-ops, until we rech where the no-op for P is mutully exclusive with some other ction in the current pln. Notice tht in order to gurntee soundness, whenever we dd n ction t some time step fter t which is mutex with propgted no-op, it is necessry to block this no-op t t. Similrly, when n ction tht blocks no-op is removed, this no-op cn be further propgted (unless there is nother ction blocking it). The no-op propgtion cn be efficiently mintined by exploiting the dt structures of the plnning grph. Clerly, the propgtion is useful becuse it cn eliminte further inconsistencies (n ction is dded to support specific precondition, but the effects of this ction could lso 1 In order to mke the increment of λ p more ccurte, in our implementtion δ + is weighted by tking into ccount the proportion k of unsupported preconditions of with respect to the totl number of unsupported preconditions in the ction grph (i.e, λ p is incresed by k δ + ). Similrly, when we increse λ m, δ + is weighted by the proportion of mutex involving with respect to the totl number of mutex in the grph. Moreover, the unbounded increse or decrese of multiplier is prevented by imposing mximum nd minimum vlues to them. The defult vlues for δ + nd δ used in our tests re 10 3 nd respectively. support dditionl preconditions through the propgtion of their no-ops). Moreover, the no-op propgtion cn be exploited to extend the serch neighborhood, nd possibly reduce the number of serch steps. Given n unsupported precondition Q of nd ction t l of n A-grph A, the bsic neighborhood of A for Q consists of the grphs derived from A by either removing or dding n ction t l 1 which supports Q. In principle, mong these ctions we could use the no-op for Q (if vilble), which corresponds to ssuming tht Q is chieved by n erlier ction (possibly the initil stte), nd persists up to the time step when is executed. Insted of using this no-op, we use n ction t n erlier which hs Q s one of its effects, nd such tht Q cn be propgted up to l. When there is more thn one of such ctions, the neighborhood includes ll corresponding ction grphs derived by dding ny one of them. Experimentl results showed tht the use of the no-op propgtion cn significntly reduce both the number of serch steps nd the CPU-time required to find solution grph. Action Ordering nd Incrementl Grph Length In generl, locl serch methods do not exmine the serch spce in n exhustive wy, nd the hence lso the serch techniques described in the previous section cn not determine when it is necessry to increse the length (number of s) of the current plnning grph. Originlly, we overcme this limittion by utomticlly expnding the grph fter certin number of serch steps. However, this hs the drwbck tht, when the grph is extended severl times, significnt mount of CPU-time is wsted for serching the sequence of expnded grphs tht re generted before the lst expnsion. Recently, we hve developed n lterntive method for expnding the grph during serch tht leds to better performnce. In prticulr, we hve extended the serch neighborhood with A-grphs derived by two new types of grph modifictions tht re bsed on ordering mutex ctions nd possibly expnding the grph. Given two ctions tht re mutex t time step i, weexmine if this inconsistency cn be eliminted by postponing to time step i +1one of the ctions, or by nticipting it step i 1. Wesy tht n ction t step i cn be postponed to step i +1of A if the ction grph obtined by moving from i to i +1does not contin new inconsistencies with respect to A. 2 The condition for nticipting to i 1 is nlogous. When one of the ctions involved in mutex reltion cn be postponed or nticipted, the corresponding ction grph is lwys chosen from the neighborhood. If more thn one of these modifictions is possible, we choose rndomly one of the corresponding A-grphs. If none of the two ctions cn be postponed (or nticipted), we try to postpone (nticipte) one of them in combintion with grph extension. 2 In order to simplify the nottion, in this nd the next sections we indicte with (f) both n ction node (fct node) nd the corresponding represented ction (fct). The ctul mening of the nottion will be cler from the context. 16 AIPS 2002

5 () i+1 i (b) i+1 i P1 P1 P1 P6 P6 P7 P3 P8 mutex P6 1 P2 P2 P2 P7 P10 P P3 P8 P11 P11 P4 2 3 P4 (c) i+2 i+1 i P1 4 1 P7 P3 P8 P8 2 3 P1 P6 P6 P2 P2 P10 P11 P4 Figure 1: Exmples of ction ordering nd increment of grph length to del with mutex reltion. Specificlly, first we extend the plnning grph of one ; then we shift forwrd ll ctions from step i +1(i 1); finlly we move one of the two ctions to step i +1(i 1), provided tht this move does not introduce new inconsistencies (e.g., the moved ction blocks no-op tht is used to support precondition t lter step). If none of the two ctions cn be moved even fter grph extension, the ction grphs of the neighborhood re those derived by simply removing one of the two ctions. For exmple, in Figure 1() we hve tht ctions 1 nd 2 re mutex t i. Assume tht 1 hs two supported preconditions P 1 nd P 2, nd one dditive effect P 6 tht is needed by other ctions in the following s of the grph. Fct P 8 is supported by 2 nd is precondition of 4 ;fct P 7 is not used to support ny precondition. Figure 1(b) illustrtes cse in which 1 cn be postponed to i+1. This is possible becuse there is no mutex reltion between (1) 1 nd 4, (2) 1 nd the no-ops for P 5 nd P 9, (3) the no-ops supporting the preconditions of 1 nd ny other ction t i. Figure 1(c) illustrtes cse in which 1 cn not be postponed to i +1(becuse, for exmple, 4 deletes precondition of 1 ), but it cn be postponed in combintion with grph expnsion. This is possible becuse there is no mutex reltion between (1) 1 nd the no-ops of P 5,P 8,P 9, (2) between the no-ops supporting the preconditions of 1 nd ny other ction of i. Heuristic Precondition Costs The heuristic functions E nd E λ previously described evlute the A-grphs in the neighborhood by considering their number of unsupported preconditions nd unstisfied mutex reltions. An experimentl nlysis reveled tht, while computing this functions is quite fst, sometimes more ccurte evlution cn be very useful. In fct, it cn be the cse tht, lthough the insertion of new ction 1 leds to fewer new unsupported preconditions thn those introduced by n lterntive ction 2, the unsupported preconditions of 1 re more difficult to stisfy (support) thn those of 2 (i.e., the inconsistencies tht 1 would introduce require more serch steps thn the inconsistencies of 2 ). For this reson we hve refined E λ by using n heuristic estimtion (H) ofthe difficulty of supporting precondition which exploits informtion stored in the structure of the underlying plnning grph. More precisely, E λ (, A) i becomes E H (, A) i = λ p MAX f pre() H(f,A)+λ m me(, A), where H(f,A) is the heuristic cost of supporting f, nd is recursively defined in the following wy: 0 if f is supported H(f,A) = H(f, A) if f is no-op with precondition f MAX H(f, A)+me( f, A)+1otherw. f pre( f ) where f = ARGMIN { A f } { E(, A) i} nd A f is the set of ction nodes of the plnning grph t the preceding the of f, tht hve f s one their effects nodes. Informlly, the heuristic cost of n unsupported fct f is determined by considering ll ctions t the preceding the of f whose insertion would support f. Among these ctions, we choose the one with the best evlution ( f ) ccording to the originl ction evlution function E. 3 H(f,A) is recursively computed by summing the number of mutex reltions introduced by f to the mximum of the heuristic costs of its unsupported preconditions (H(f, A)). The lst term +1 tkes into ccount the insertion of f to support f. Similrly, we refine the cost of removing n ction from A by considering the mximum heuristic cost of supporting fct tht becomes unsupported when is removed. More precisely, E H (, A) r = MAX f, λj p H(f,A ) j K where K is the set of pirs f, j such tht f is precondition of n ction node j which becomes unsupported by removing from A. In Figure 2 we give n exmple illustrting H. Ech ction node is ssocited with pir of numbers (in brckets) indicting the number of unsupported preconditions nd the number of mutex reltions involving the node. For exmple, 3 t l +1hs two unsupported preconditions nd is involved in 5 mutex reltions. Ech fct node is ssocited with number specifying the heuristic cost of supporting it. Suppose we wnt to determine the heuristic cost of the unsupported precondition P 1 t l +2. The ction with 3 When more thn one ction with minimum cost exists, if the no-op is one of these ctions, then we choose it, otherwise we choose rndomly mong them. AIPS

6 Grph s l+2 l+1 l 1 (3,1) 4 (3,1) [0] P1 [5] 2 (1,1) 3 (2,5) 7 (3,3) P3 [3] P4 [0] 5 (0,2) 6 (2,1) (0, 0) P6 [0] P4 [0] (2,0) P2 [3] 8 (0,2) 9 (2,4) Figure 2: Exmple illustrting the heuristic cost of unsupported preconditions. Dshed boxes correspond to ctions/fcts which do not belong to A minimum cost chieving P 1 is 2. The ction with minimum cost chieving P 3 is 5, which hs ll preconditions supported. Thus we hve H(P 3, A) = MAX f pre( 5) H(f, A)+me( 5, A)+1 = Since H(P 4, A) =0,wehve H(P 1, A) = MAX f pre( 2) H(f, A)+me( 2, A)+1 = Modelling Pln Qulity In this section we extend our techniques to mnge plns where ech ction hs n rbitrry number ssocited with it representing, for exmple, its execution cost. While tking this informtion into ccount is prcticlly very importnt to produce good qulity plns, most of the domin-independent plnners in the literture neglect it, nd use the number of ctions (or prllel steps) s simple mesure of pln qulity. In our frmework execution costs cn be esily modelled by extending the objective function of the locl serch with term evluting the overll execution cost of pln (ction grph), which is nturlly defined s the sum of the costs of its ctions. Similrly, we cn esily model the number of prllel steps in pln, nd use this criterion s mesure of pln qulity. The user cn weight the optimiztion terms of the revised objective function (execution cost nd number of steps) ccording to the reltive importnce. More formlly, the generl evlution function F cn be revised to F + (A) =µ C Cost()+µ S Steps(A)+ A + A(λ m mutex(, A)+λ p precond(, A)) where Cost() is the execution cost of, µ C nd µ S re non-negtive coefficients set by the user to weight the reltive importnce of execution cost nd number of prllel steps (µ C +µ S 1), nd Steps(A) is the number of steps in the A-grph A contining t lest one ction different from no-ops. The evlution function E H defined in the previous section is refined to E + H in the following wy (U denotes the set of preconditions chieved by tht become unsupported by removing ): E + H (, A)i = E + H (, A)r = µ C mx CS (Cost() + MAX f pre() H C(f,A)) + + µ S (Steps(A + ) Steps(A) + mx CS MAX H S(f,A)) + f pre() + 1 mx E E H (, A) i µ C mx CS ( Cost()+MAX f U H C(f,A )) + + µ S (Steps(A ) Steps(A)+ mx CS MAX H S(f,A )) + f U + 1 E H (, A) r mx E where H C (f,a) nd H S (f,a) re n estimtion of the increse of the overll execution cost nd prllel steps, respectively, tht is required to support the fct f in A. H C nd H S re recursively defined in wy similr to the definition of H given in the previous section: if f is supported in A, then H C (f,a) =0nd H S (f,a) =0, otherwise H C (f,a) =Cost( f )+MAX f pre( f ) H C(f, A) H S (f,a) =Steps(A+ f ) Steps(A)+ MAX H S(f, A) f pre( f ) in which f is defined s in the definition of H. For exmple, consider gin Figure 2 nd suppose tht Cost( 2 )=10 nd Cost( 5 )=30.Wehve tht H C (P 1, A) =40. The fctors 1/mx CS, nd 1/mx E re used to normlize ech term of E + H to vlue less thn or equl to 1. Without this normliztion the vlues of the terms corresponding to the execution cost (first term) could be much higher thn the vlue corresponding to the constrint violtions (third term). This would guide the serch towrds good qulity plns without pying sufficient ttention to their vlidity. On the contrry, especilly when the current prtil pln contins mny constrint violtions, we would like tht the serch give more importnce to stisfying these logicl constrints. The vlue of mx CS is defined s µ C mx C + µ S mx S, where mx C (mx S )is the mximum vlue of the first (second) term of E + H over ll A-grphs (prtil plns) in the neighborhood, multiplied by the number κ of constrint violtions in the current ction 18 AIPS 2002

7 grph; mx E is defined s the mximum vlue of E H over ll possible ction insertions/removls tht eliminte the inconsistency under considertion. 4 The revised heuristic function E + H cn be used to produce succession of vlid plns where ech pln is n improvement of the previous ones in terms of execution cost or prllel steps. The first of these plns is the first pln π without constrint violtions tht is generted (i.e., the third term of F + is zero). π is then used to initilize second serch which is terminted when new vlid pln π tht is better thn π is generted. π is then used to initilize third serch, nd so on. This is n nytime process tht incrementlly improves the qulity of the plns, nd tht cn be stopped t ny time to give the best pln computed so fr. Ech time we strt new serch some inconsistencies re forced in the initil pln by rndomly removing some of its ctions. Similrly, some rndom inconsistencies re introduced during serch when vlid pln tht does not improve the pln of the previous serch is reched. This method of modelling pln qulity cn be extended to del with limited form of temporl plnning where ech ction is ssocited with temporl durtion D(). Under the ssumption tht the execution of ll ctions t ech step of the pln termintes before strting executing the ctions t the next step, we cn serch for prllel plns with the shortest possible durtion by including in F + new term tht is proportionl to the sum of the longest ction t ech step of the current prtil pln. Let Dely(, A) be the temporl dely determined by in the A-grph A, i.e., Dely(, A) =MAX(0,D() MAX S D( )), where S is the set of ctions t the sme of in A (except ). The new terms in E + H to hndle pln durtion re proportionl to +Dely(, A) + MAX H D(f,A),inE + H (, A)i f pre() Dely(, A) +MAX f U H D(f,A ),ine + H (, A)r where H D (f,a) is heuristic estimtion of the increse of the overll pln durtion tht is required to support f (the forml definition of H D (f,a) is similr to the definition of H C (f,a)). Despite the previous ssumption could be relxed in the computed pln by considering its cusl structure (dependencies between ction effects nd preconditions), in generl, it is not gurnteed tht minimizing the durtion term of F + lwys leds to the shortest possible prllel plns. On the other hnd, when the domin dmits only liner plns, minimizing the durtion term corresponds to serching for optiml plns. Hence, our simple pproch for durtion optimiztion should be seen s n pproximte technique. 4 The role of κ is to decrese the importnce of the first two optimiztion terms when the current pln contins mny constrint violtions, nd to increse it when the serch pproches vlid pln. For lck of spce we omit further detils on the formliztion of mx C, mx S nd mx E. Experimentl Results Our techniques re implemented in system clled LPG (Locl serch for Plnning Grphs). Using LPG we hve conducted three experiments. The first experiment ws imed t compring the performnce of Wlkpln in LPG nd other plnners bsed on plnning grphs for some well-known benchmrk problems. We considered Blckbox 3.9 with solvers Wlkst nd Chff (Moskewicz et l. 2001); GP-CSP (Kmbhmpti, Minh nd Do 2001); IPP4.1 (Koehler et l. 1997); nd STAN3s (Fox nd Long 1998; 1999). 5 The results of this experiment re in Tble 1. The 2nd nd the 3rd columns of the tble give the totl time required by LPG, nd the serch time of Wlkst for the SAT-encoding of the plnning grph with the minimum number of s tht is sufficient to solve the problem. 6 Wlkpln performed lwys better thn Wlkst, nd ws up to four orders of mgnitude fster. The fourth column of Tble 1 gives the results for Blckbox using the recent solver Chff insted of Wlkst, which currently is the fstest systemtic SAT solver. LPG ws significntly fster thn Blckbox lso in this cse. The remining columns of the tble give the CPUtimes for GP-CSP, IPP nd STAN, which were up to 3 or 4 orders of mgnitude slower thn LPG. (However, it should be noted tht these plnners, s well s Blckbox with Chff, compute plns with miniml number of steps.) In the second experiment we tested the performnce of LPG for some problems of the AIPS-98/00 competition set with respect to the plnner tht won the lst competition, FF (Hoffmnn nd Nebel 2001). The results re in Tble 2. 7 In terms of CPU-time LPG ws comprble to FF. In Logistics LPG performed better thn FF; in Elevtor (m10-problems) FF performed better thn LPG; while in Mprime we hve mixed results. 8 For mprime-05 FF required more thn 600 seconds, while LPG determined tht the problem is not solvble without serch (this ws detected during the construction of the plnning grph). In terms of number of ctions 5 All tests were run on Pentium II 400 MHz with 768 Mbytes. We did not use version 4 of STAN becuse it uses methods lterntive to plnning grphs. 6 Without this informtion the times required by Blckbox using Wlkst were significntly higher thn those in the tble. The prmeters of Wlkst (noise nd cutoff) were set to the combintion of vlues tht gve the best performnce over mny tries. For Blocks-world nd Gripper we used cutoff , vrious vlues of noise nd severl restrts. For log-d nd bw-lrge-/b we used the the option compct -b 8, becuse it mde the problems esier to solve. In this nd in the next experiments the noise fctor for Wlkpln ws lwys 0.1; the cutoff ws initilly set to 500, nd then utomticlly incremented t ech restrt by fctor of However, note tht compring these two systems is not completely fir, becuse FF computes liner plns while LPG computes prllel plns, nd hence they solve (computtionlly) different problems. 8 We considered slight modifiction of Mprime where opertor prmeters with different nmes re bound to different constnts, which is n implicit ssumption in the implementtion of both FF nd LPG. AIPS

8 () 0 Source City_8_1 pckge_4 pckge_3 City_1_3 Airplne1 Arplne2 City_5_9 pckge_2 City_9_8 pckge_1 Globl cost = (b) 0 Source City_8_1 pckge_4 pckge_3 City_1_3 Airplne1 Arplne2 City_5_9 pckge_2 City_9_8 pckge_1 Globl cost = (c) Source pckge_3 City_1_3 City_8_1 pckge_4 Airplne1 Arplne2 City_5_9 pckge_2 City_9_8 pckge_1 Globl cost = 2369 Figure 3: Three plns nd the reltive execution costs computed by FF (1st picture) nd by LPG (2nd nd 3rd pictures) for simple logistics problem with ction costs. Plnning LPG Blckbox GP- IPP STAN problem Wpln Wst Chff CSP rocket rocket-b log log-b log-c log-d bw-lrge bw-lrge-b TSP TSP TSP TSP out 11.9 gripper gripper Tble 1: Averge CPU-seconds over 25 runs required by LPG using Wlkpln (Wpln) with E H nd other plnners bsed on plnning grph (Wst indictes Wlkst). The times for LPG re totl serch times; the times for Wlkst refer only to the plnning grph with the minimum number of s where solution exists; the times for Chff nd GP-CSP re the totl times using the reltive defult settings, except for Gripper nd the hrdest TSP problems, where for Chff we used the settings suggested by Blckbox for hrd problems. mens tht the plnner did not find solution fter 1500 seconds (in these cses the verge ws over 8runs); out tht the system went out of memory. for the problems of Tble 2, FF-plns re better thn LPGplns except in 2 cses. We believe there re severl resons for this: LPG considers only one inconsistency t ech serch step, nd in this sense its serch is more locl thn FF serch, whose heuristic considers ll the problem gols; Wlkpln, like Wlkst, does not distinguish elements in the serch neighborhood tht improve the current A-grph; in this experiment the coefficient of the ction cost term in E H ws set to low vlue, becuse we were interested in the fst Plnning LPG FF problem Time Steps Act. Time Act. log (4.76) log (4.79) log (7.36) log (7.46) log (7.49) m10-s (0.81) m10-s (0.94) m10-s (1.10) m10-s (1.26) m10-s (1.45) mprime (1.92) mprime (8.72) mprime (3.90) mprime (1.56) mprime (2.43) > 600 Tble 2: CPU-seconds, number of steps nd number of ctions for LPG (Wlkpln) nd FF for some problems of the AIPS competitions. The dt for LPG re verges over 25 runs. The CPU-time in brckets is the time required for constructing the grph. This is lrgely dominted by the instntition of the opertors (especilly for Mprime), which in FF s implementtion is very fst nd in LPG cn be drsticlly reduced by using similr implementtion. computtion of the first solution. However, s we hve described in the previous section, LPG cn generte good qulity plns in more generl sense by minimizing the heuristic evlution function E + H. The third experiment tht we hve conducted concerns the use of E + H in LPG to produce plns of good qulity. In prticulr, we hve tested LPG with modifiction of the Logistics domin where ech ction hs n execution cost ssocited with it. Figure 3 shows three plns computed by FF nd LPG for simple problem in this domin (for the ske of clrity we show only the fly ctions). We hve two irplnes, four pckges, nd four cities, ech of which hs n irport, 20 AIPS 2002

9 Pln cost for TSP FF solution Pln cost for Logistics-b Pln cost for Logistics-b with connections Optiml cost CPU-SECONDS (log scle) FF solution Optiml cost CPU-SECONDS (log scle) FF solution Optiml cost CPU-SECONDS (log scle) Pln cost for Logistics Pln durtion for Logistics-16 in mixed optimiztion Pln cost for Logistics-16 in mixed optimiztion CPU-SECONDS (log scle) CPU-SECONDS (log scle) CPU-SECONDS (log scle) Figure 4: Incrementl qulity of the plns computed by LPG nd reltive CPU-time. The first three pictures plots refer to single problem instnces (10 runs of LPG for ech problem). Ech of the other three pictures plots verge mesures (cost or durtion) for 10 vrints of logistics-16. For ech vrint we considered the sequence of the first 11 plns generted. The points connected refer to the verge cost or durtion for the sme vrint. Averge dt re over 25 runs of the incrementl optimiztion process, for totl of 2750 plns in ech picture. port nd truck. Initilly, ll pckges nd irplnes re t the source city; the finl loctions of the pckges is shown in the pictures of the figure. Cities nd irports re plced in grid, nd the cost of flying between two irports depends the reltive Eucliden distnce in the grid (e.g., the distnce between city 9 8 to city 1 3 in Figure 3() is the distnce between points (9,8) nd (1,3) on the grid). The cost of flying by Airplne1 (fly1) is the trvel distnce times 100, while the cost of flying by Airplne2 (fly2) is the trvel distnce times 50 (i.e., fly1 is twice s expensive s fly2); loding nd unloding pckges on/from trucks or irplnes hve cost 1, driving truck between the port nd the irport of city hs cost 10. Figure 3() shows the fly ctions of the irplnes in the pln computed by FF, which does not tke into ccount ction costs, nd produces pln with overll cost Figures 3(b/c) show the fly ctions in the first two plns computed by run of LPG. The first pln hs overll cost 2664, the second On verge the optiml pln for this problem is computed by LPG in 0.85 seconds. Figure 4 gives results for TSP problem with 7 cities nd further logistics problems. The horizontl lines indicte the optiml execution costs, nd the cost of the solution computed by FF. In TSP-7 nd logistics-b cities nd the reltive irports were rndomly plced in grid of loctions, nd the ction costs were determined s in Figure 3. The third picture regrds modifiction of logistics-b in which only 60% of ll possible pirs of cities re connected by direct flights (in the originl version there is direct flight between ech pir of cities). This problem ws utomticlly generted by progrm tht rndomly genertes vrints of Logistics problem by ugmenting it with flight connections, nd ensuring tht ech pir of cities is connected vi some pth of possible flights. The plots of the first three pictures show the incresing pln qulity in terms of execution cost for 10 runs of LPG (using E + H with µ C = 1.0), indicting tht LPG quickly found the optiml solution, or solution close to the optiml one. The fourth picture of Figure 4 plots the verge execution costs for 10 rndomly generted vrints of more difficult problem from the AIPS-00 competition (logistics-16). The vrints differ in the initil position of the irports nd cities on grid of loctions, which ws rndomly determined. These results show tht the incrementl process for generting better qulity plns on verge significntly AIPS

10 improves the first plns produced (the more time is dedicted to LPG, the better the pln is). The lst two pictures of Figure 4 concern the minimiztion of pln durtion nd execution cost, respectively, when both these terms re included in the evlution function E + H. Action durtions were determined in the following wy: lod/unlod ctions hve durtion 1; the durtion of flying Airplne1 (the expensive one) is the sme s the trvel distnce; the durtion of flying Airplne2 is twice the trvel distnce. Improving pln durtion nd execution cost simultneously led to sequences of plns where these criteri do not lwys decrese monotoniclly, if considered independently. This is becuse in some cses less expensive plns might require longer execution. In generl, when we hve multiple optimiztion criteri, there is trdeoff mong the different criteri to consider. In LPG this trdeoff cn be tken into ccount by ppropritely weighting the optimiztion terms of the evlution function (in the tests of lst 2 plots of Figure 4 µ C ws 0.05 nd the weight for the temporl term 0.5). Conclusions We hve presented collection of techniques for locl serch on plnning grphs tht re implemented in LPG. The bsic serch scheme of LPG is similr to the stochstic serch of Wlkst, but hs different serch spce. While Wlkst uses simple generl heuristics for SAT problems, LPG uses severl techniques to define nd evlute the serch neighborhood tht exploit the structure of the underlying grph. These include Lgrnge multipliers, no-op propgtion, ction ordering nd incrementl grph length, nd heuristic precondition costs. In our frmework ech ction cn be ssocited with number representing its cost. The overll pln cost cn be esily modeled by using n pproprite evlution function, which cn be incrementlly minimized through n nytime process. Similrly, LPG cn produce plns of good qulity in terms of the number of prllel steps in the pln, nd the overll durtion of the pln. Experimentl results in severl benchmrk domins give n empiricl demonstrtion of the efficiency of our pproch, showing, in prticulr, tht LPG cn be orders of mgnitude fster thn other existing plnners bsed on plnning grphs. On the other hnd, the first pln computed by LPG cn be of poor qulity. When this is the cse, LPG produces dditionl plns tht incrementlly improve pln qulity in terms of one or more criteri specified in the evlution function. Current work include further experiments to test other locl serch schemes implemented in LPG (Tbupln nd T-Wlkpln), nd the development of new types of grph modifictions nd heuristics to guide the serch. Finlly, very recently n extended version of LPG hndling complex PDDL2.1 domins involving numericl quntities nd ction durtions ( prticipted in the 3rd Interntionl Plnning Competition, nd it ws wrded for distinguished performnce of the first order References Blum, A., nd Furst, M Fst plnning through plnning grph nlysis. Artificil Intelligence 90: Fox, M., nd Long, D Efficient implementtion of the Pln Grph in STAN. Journl of Artificil Intelligence reserch (JAIR), vol. 10, Fox, M., nd Long, D The detection nd exploittion of symmetry in plnning problems. In Proc. of the 16th Int. Joint Conf. on Artificil Intelligence (IJCAI-99). Gerevini, A., nd Serin, I Fst plnning through greedy ction grphs. In Proc. of the 16th Nt. Conf. of the Am. Assoc. for Artificil Intelligence (AAAI-99). Gerevini, A., nd Serin, I Lgrnge multipliers for locl serch on plnning grphs. In Proc. of the ECAI-2000 Workshop on Locl Serch for Plnning nd Scheduling. Springer-Verlg. Hoffmnn, J., nd Nebel, B The FF plnning system: Fst pln genertion through heuristic serch. Journl of Artificil Intelligence reserch (JAIR) 14: Kutz, H., nd Selmn, B Unifying SAT-bsed nd grph-bsed plnning. In Proc. of the 16th Interntionl Joint Conference on Artificil Intelligence (IJCAI-99). Kutz, H.; McAllester, D.; nd Selmn, B Encoding plns in propositionl logic. In Proc. of the 5th Int. Conf. on Principles of Knowledge Representtion nd Resoning (KR 96). Koehler, J.; Nebel, B.; Hoffmnn, J.; nd Dimopoulos, Y Extending plnning grphs to n ADL subset. In Proc. of Fourth Europen Conference on Plnning (ECP 97). Springer Verlg. Moskewicz, M.; Mdign, C.; Zho, Y.; Zhng, L.; nd Mlik, S Chff: Engineering n efficient SAT solver. In Proc. of 39th Design Automtion Conference. Kmbhmpti, R.; Minh, S.; nd Do, B Plnning s Constrint Stisfction: Solving the plnning grph by compiling it into CSP. Artificil Intelligence 132(2): Selmn, B.; Kutz, H.; nd Cohen, B Noise strtegies for improving locl serch. In Proc. of the Twelfth Nt. Conference of the Americn Assocition for Artificil Intelligence (AAAI-94), Shng, Y., nd Wh, B A discrete Lgrngin-bsed globl-serch method for solving stisfibility problems. Journl of Globl Optimiztion 12,1: Smith, D., nd Weld, D Temporl plnning with mutul exclusion resoning. In Proc. of the 16th Interntionl Joint Conference on Artificil Intelligence (IJCAI-99). Wh, B. W., nd Wu, Z. Oct The Theory of Discrete Lgrnge Multipliers for Nonliner Discrete Optimiztion. In Proc. of Principles nd Prctice of Constrint Progrmming. Springer-Verlg. Wu, Z., nd Wh, B An efficient globl-serch strtegy in discrete Lgrngin methods for solving hrd stisfibility problems. In Proc. of the 17th Nt. Conf. of the Americn Assoc. for Artificil Intelligence (AAAI-00). 22 AIPS 2002

Properties of Integrals, Indefinite Integrals. Goals: Definition of the Definite Integral Integral Calculations using Antiderivatives

Properties of Integrals, Indefinite Integrals. Goals: Definition of the Definite Integral Integral Calculations using Antiderivatives Block #6: Properties of Integrls, Indefinite Integrls Gols: Definition of the Definite Integrl Integrl Clcultions using Antiderivtives Properties of Integrls The Indefinite Integrl 1 Riemnn Sums - 1 Riemnn

More information

p-adic Egyptian Fractions

p-adic Egyptian Fractions p-adic Egyptin Frctions Contents 1 Introduction 1 2 Trditionl Egyptin Frctions nd Greedy Algorithm 2 3 Set-up 3 4 p-greedy Algorithm 5 5 p-egyptin Trditionl 10 6 Conclusion 1 Introduction An Egyptin frction

More information

1 Online Learning and Regret Minimization

1 Online Learning and Regret Minimization 2.997 Decision-Mking in Lrge-Scle Systems My 10 MIT, Spring 2004 Hndout #29 Lecture Note 24 1 Online Lerning nd Regret Minimiztion In this lecture, we consider the problem of sequentil decision mking in

More information

Review of Calculus, cont d

Review of Calculus, cont d Jim Lmbers MAT 460 Fll Semester 2009-10 Lecture 3 Notes These notes correspond to Section 1.1 in the text. Review of Clculus, cont d Riemnn Sums nd the Definite Integrl There re mny cses in which some

More information

The Regulated and Riemann Integrals

The Regulated and Riemann Integrals Chpter 1 The Regulted nd Riemnn Integrls 1.1 Introduction We will consider severl different pproches to defining the definite integrl f(x) dx of function f(x). These definitions will ll ssign the sme vlue

More information

Reinforcement Learning

Reinforcement Learning Reinforcement Lerning Tom Mitchell, Mchine Lerning, chpter 13 Outline Introduction Comprison with inductive lerning Mrkov Decision Processes: the model Optiml policy: The tsk Q Lerning: Q function Algorithm

More information

Duality # Second iteration for HW problem. Recall our LP example problem we have been working on, in equality form, is given below.

Duality # Second iteration for HW problem. Recall our LP example problem we have been working on, in equality form, is given below. Dulity #. Second itertion for HW problem Recll our LP emple problem we hve been working on, in equlity form, is given below.,,,, 8 m F which, when written in slightly different form, is 8 F Recll tht we

More information

Administrivia CSE 190: Reinforcement Learning: An Introduction

Administrivia CSE 190: Reinforcement Learning: An Introduction Administrivi CSE 190: Reinforcement Lerning: An Introduction Any emil sent to me bout the course should hve CSE 190 in the subject line! Chpter 4: Dynmic Progrmming Acknowledgment: A good number of these

More information

Advanced Calculus: MATH 410 Notes on Integrals and Integrability Professor David Levermore 17 October 2004

Advanced Calculus: MATH 410 Notes on Integrals and Integrability Professor David Levermore 17 October 2004 Advnced Clculus: MATH 410 Notes on Integrls nd Integrbility Professor Dvid Levermore 17 October 2004 1. Definite Integrls In this section we revisit the definite integrl tht you were introduced to when

More information

Acceptance Sampling by Attributes

Acceptance Sampling by Attributes Introduction Acceptnce Smpling by Attributes Acceptnce smpling is concerned with inspection nd decision mking regrding products. Three spects of smpling re importnt: o Involves rndom smpling of n entire

More information

Goals: Determine how to calculate the area described by a function. Define the definite integral. Explore the relationship between the definite

Goals: Determine how to calculate the area described by a function. Define the definite integral. Explore the relationship between the definite Unit #8 : The Integrl Gols: Determine how to clculte the re described by function. Define the definite integrl. Eplore the reltionship between the definite integrl nd re. Eplore wys to estimte the definite

More information

Reinforcement learning II

Reinforcement learning II CS 1675 Introduction to Mchine Lerning Lecture 26 Reinforcement lerning II Milos Huskrecht milos@cs.pitt.edu 5329 Sennott Squre Reinforcement lerning Bsics: Input x Lerner Output Reinforcement r Critic

More information

THE EXISTENCE-UNIQUENESS THEOREM FOR FIRST-ORDER DIFFERENTIAL EQUATIONS.

THE EXISTENCE-UNIQUENESS THEOREM FOR FIRST-ORDER DIFFERENTIAL EQUATIONS. THE EXISTENCE-UNIQUENESS THEOREM FOR FIRST-ORDER DIFFERENTIAL EQUATIONS RADON ROSBOROUGH https://intuitiveexplntionscom/picrd-lindelof-theorem/ This document is proof of the existence-uniqueness theorem

More information

CS 188: Artificial Intelligence Spring 2007

CS 188: Artificial Intelligence Spring 2007 CS 188: Artificil Intelligence Spring 2007 Lecture 3: Queue-Bsed Serch 1/23/2007 Srini Nrynn UC Berkeley Mny slides over the course dpted from Dn Klein, Sturt Russell or Andrew Moore Announcements Assignment

More information

Math 1B, lecture 4: Error bounds for numerical methods

Math 1B, lecture 4: Error bounds for numerical methods Mth B, lecture 4: Error bounds for numericl methods Nthn Pflueger 4 September 0 Introduction The five numericl methods descried in the previous lecture ll operte by the sme principle: they pproximte the

More information

Chapter 5 Plan-Space Planning

Chapter 5 Plan-Space Planning Lecture slides for Automted Plnning: Theory nd Prctice Chpter 5 Pln-Spce Plnning Dn S. Nu CMSC 722, AI Plnning University of Mrylnd, Spring 2008 1 Stte-Spce Plnning Motivtion g 1 1 g 4 4 s 0 g 5 5 g 2

More information

Chapter 4 Contravariance, Covariance, and Spacetime Diagrams

Chapter 4 Contravariance, Covariance, and Spacetime Diagrams Chpter 4 Contrvrince, Covrince, nd Spcetime Digrms 4. The Components of Vector in Skewed Coordintes We hve seen in Chpter 3; figure 3.9, tht in order to show inertil motion tht is consistent with the Lorentz

More information

New data structures to reduce data size and search time

New data structures to reduce data size and search time New dt structures to reduce dt size nd serch time Tsuneo Kuwbr Deprtment of Informtion Sciences, Fculty of Science, Kngw University, Hirtsuk-shi, Jpn FIT2018 1D-1, No2, pp1-4 Copyright (c)2018 by The Institute

More information

7.2 The Definite Integral

7.2 The Definite Integral 7.2 The Definite Integrl the definite integrl In the previous section, it ws found tht if function f is continuous nd nonnegtive, then the re under the grph of f on [, b] is given by F (b) F (), where

More information

19 Optimal behavior: Game theory

19 Optimal behavior: Game theory Intro. to Artificil Intelligence: Dle Schuurmns, Relu Ptrscu 1 19 Optiml behvior: Gme theory Adversril stte dynmics hve to ccount for worst cse Compute policy π : S A tht mximizes minimum rewrd Let S (,

More information

Recitation 3: More Applications of the Derivative

Recitation 3: More Applications of the Derivative Mth 1c TA: Pdric Brtlett Recittion 3: More Applictions of the Derivtive Week 3 Cltech 2012 1 Rndom Question Question 1 A grph consists of the following: A set V of vertices. A set E of edges where ech

More information

4.4 Areas, Integrals and Antiderivatives

4.4 Areas, Integrals and Antiderivatives . res, integrls nd ntiderivtives 333. Ares, Integrls nd Antiderivtives This section explores properties of functions defined s res nd exmines some connections mong res, integrls nd ntiderivtives. In order

More information

Bayesian Networks: Approximate Inference

Bayesian Networks: Approximate Inference pproches to inference yesin Networks: pproximte Inference xct inference Vrillimintion Join tree lgorithm pproximte inference Simplify the structure of the network to mkxct inferencfficient (vritionl methods,

More information

Unit #9 : Definite Integral Properties; Fundamental Theorem of Calculus

Unit #9 : Definite Integral Properties; Fundamental Theorem of Calculus Unit #9 : Definite Integrl Properties; Fundmentl Theorem of Clculus Gols: Identify properties of definite integrls Define odd nd even functions, nd reltionship to integrl vlues Introduce the Fundmentl

More information

SUMMER KNOWHOW STUDY AND LEARNING CENTRE

SUMMER KNOWHOW STUDY AND LEARNING CENTRE SUMMER KNOWHOW STUDY AND LEARNING CENTRE Indices & Logrithms 2 Contents Indices.2 Frctionl Indices.4 Logrithms 6 Exponentil equtions. Simplifying Surds 13 Opertions on Surds..16 Scientific Nottion..18

More information

Jim Lambers MAT 169 Fall Semester Lecture 4 Notes

Jim Lambers MAT 169 Fall Semester Lecture 4 Notes Jim Lmbers MAT 169 Fll Semester 2009-10 Lecture 4 Notes These notes correspond to Section 8.2 in the text. Series Wht is Series? An infinte series, usully referred to simply s series, is n sum of ll of

More information

5.7 Improper Integrals

5.7 Improper Integrals 458 pplictions of definite integrls 5.7 Improper Integrls In Section 5.4, we computed the work required to lift pylod of mss m from the surfce of moon of mss nd rdius R to height H bove the surfce of the

More information

KNOWLEDGE-BASED AGENTS INFERENCE

KNOWLEDGE-BASED AGENTS INFERENCE AGENTS THAT REASON LOGICALLY KNOWLEDGE-BASED AGENTS Two components: knowledge bse, nd n inference engine. Declrtive pproch to building n gent. We tell it wht it needs to know, nd It cn sk itself wht to

More information

Review of Gaussian Quadrature method

Review of Gaussian Quadrature method Review of Gussin Qudrture method Nsser M. Asi Spring 006 compiled on Sundy Decemer 1, 017 t 09:1 PM 1 The prolem To find numericl vlue for the integrl of rel vlued function of rel vrile over specific rnge

More information

Encoding Partial Plans for Heuristic Search

Encoding Partial Plans for Heuristic Search Encoding Prtil Plns for Heuristic Serch Pscl Bercher nd Susnne Biundo Institute of Artificil Intelligence, Ulm University, D-89069 Ulm, Germny, firstnme.lstnme@uni-ulm.de Abstrct We propose technique tht

More information

Credibility Hypothesis Testing of Fuzzy Triangular Distributions

Credibility Hypothesis Testing of Fuzzy Triangular Distributions 666663 Journl of Uncertin Systems Vol.9, No., pp.6-74, 5 Online t: www.jus.org.uk Credibility Hypothesis Testing of Fuzzy Tringulr Distributions S. Smpth, B. Rmy Received April 3; Revised 4 April 4 Abstrct

More information

THERMAL EXPANSION COEFFICIENT OF WATER FOR VOLUMETRIC CALIBRATION

THERMAL EXPANSION COEFFICIENT OF WATER FOR VOLUMETRIC CALIBRATION XX IMEKO World Congress Metrology for Green Growth September 9,, Busn, Republic of Kore THERMAL EXPANSION COEFFICIENT OF WATER FOR OLUMETRIC CALIBRATION Nieves Medin Hed of Mss Division, CEM, Spin, mnmedin@mityc.es

More information

W. We shall do so one by one, starting with I 1, and we shall do it greedily, trying

W. We shall do so one by one, starting with I 1, and we shall do it greedily, trying Vitli covers 1 Definition. A Vitli cover of set E R is set V of closed intervls with positive length so tht, for every δ > 0 nd every x E, there is some I V with λ(i ) < δ nd x I. 2 Lemm (Vitli covering)

More information

Chapter 0. What is the Lebesgue integral about?

Chapter 0. What is the Lebesgue integral about? Chpter 0. Wht is the Lebesgue integrl bout? The pln is to hve tutoril sheet ech week, most often on Fridy, (to be done during the clss) where you will try to get used to the ides introduced in the previous

More information

Improper Integrals, and Differential Equations

Improper Integrals, and Differential Equations Improper Integrls, nd Differentil Equtions October 22, 204 5.3 Improper Integrls Previously, we discussed how integrls correspond to res. More specificlly, we sid tht for function f(x), the region creted

More information

Math 8 Winter 2015 Applications of Integration

Math 8 Winter 2015 Applications of Integration Mth 8 Winter 205 Applictions of Integrtion Here re few importnt pplictions of integrtion. The pplictions you my see on n exm in this course include only the Net Chnge Theorem (which is relly just the Fundmentl

More information

NUMERICAL INTEGRATION. The inverse process to differentiation in calculus is integration. Mathematically, integration is represented by.

NUMERICAL INTEGRATION. The inverse process to differentiation in calculus is integration. Mathematically, integration is represented by. NUMERICAL INTEGRATION 1 Introduction The inverse process to differentition in clculus is integrtion. Mthemticlly, integrtion is represented by f(x) dx which stnds for the integrl of the function f(x) with

More information

Numerical Integration

Numerical Integration Chpter 1 Numericl Integrtion Numericl differentition methods compute pproximtions to the derivtive of function from known vlues of the function. Numericl integrtion uses the sme informtion to compute numericl

More information

Bases for Vector Spaces

Bases 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 information

Numerical Integration

Numerical Integration Chpter 5 Numericl Integrtion Numericl integrtion is the study of how the numericl vlue of n integrl cn be found. Methods of function pproximtion discussed in Chpter??, i.e., function pproximtion vi the

More information

The Minimum Label Spanning Tree Problem: Illustrating the Utility of Genetic Algorithms

The Minimum Label Spanning Tree Problem: Illustrating the Utility of Genetic Algorithms The Minimum Lel Spnning Tree Prolem: Illustrting the Utility of Genetic Algorithms Yupei Xiong, Univ. of Mrylnd Bruce Golden, Univ. of Mrylnd Edwrd Wsil, Americn Univ. Presented t BAE Systems Distinguished

More information

Lecture 14: Quadrature

Lecture 14: Quadrature Lecture 14: Qudrture This lecture is concerned with the evlution of integrls fx)dx 1) over finite intervl [, b] The integrnd fx) is ssumed to be rel-vlues nd smooth The pproximtion of n integrl by numericl

More information

State space systems analysis (continued) Stability. A. Definitions A system is said to be Asymptotically Stable (AS) when it satisfies

State space systems analysis (continued) Stability. A. Definitions A system is said to be Asymptotically Stable (AS) when it satisfies Stte spce systems nlysis (continued) Stbility A. Definitions A system is sid to be Asymptoticlly Stble (AS) when it stisfies ut () = 0, t > 0 lim xt () 0. t A system is AS if nd only if the impulse response

More information

2D1431 Machine Learning Lab 3: Reinforcement Learning

2D1431 Machine Learning Lab 3: Reinforcement Learning 2D1431 Mchine Lerning Lb 3: Reinforcement Lerning Frnk Hoffmnn modified by Örjn Ekeberg December 7, 2004 1 Introduction In this lb you will lern bout dynmic progrmming nd reinforcement lerning. It is ssumed

More information

New Expansion and Infinite Series

New Expansion and Infinite Series Interntionl Mthemticl Forum, Vol. 9, 204, no. 22, 06-073 HIKARI Ltd, www.m-hikri.com http://dx.doi.org/0.2988/imf.204.4502 New Expnsion nd Infinite Series Diyun Zhng College of Computer Nnjing University

More information

ARITHMETIC OPERATIONS. The real numbers have the following properties: a b c ab ac

ARITHMETIC OPERATIONS. The real numbers have the following properties: a b c ab ac REVIEW OF ALGEBRA Here we review the bsic rules nd procedures of lgebr tht you need to know in order to be successful in clculus. ARITHMETIC OPERATIONS The rel numbers hve the following properties: b b

More information

1B40 Practical Skills

1B40 Practical Skills B40 Prcticl Skills Comining uncertinties from severl quntities error propgtion We usully encounter situtions where the result of n experiment is given in terms of two (or more) quntities. We then need

More information

Bernoulli Numbers Jeff Morton

Bernoulli Numbers Jeff Morton Bernoulli Numbers Jeff Morton. We re interested in the opertor e t k d k t k, which is to sy k tk. Applying this to some function f E to get e t f d k k tk d k f f + d k k tk dk f, we note tht since f

More information

Nenofex: Expanding NNF for QBF Solving

Nenofex: Expanding NNF for QBF Solving Institute for Forml Models nd Verifiction (FMV) Johnnes Kepler University, Linz, Austri Nenofex Negtion Norml Form Expnsion Solver for Quntified Boolen Formule (QBF) propositionl formul + quntified vribles

More information

CMDA 4604: Intermediate Topics in Mathematical Modeling Lecture 19: Interpolation and Quadrature

CMDA 4604: Intermediate Topics in Mathematical Modeling Lecture 19: Interpolation and Quadrature CMDA 4604: Intermedite Topics in Mthemticl Modeling Lecture 19: Interpoltion nd Qudrture In this lecture we mke brief diversion into the res of interpoltion nd qudrture. Given function f C[, b], we sy

More information

MIXED MODELS (Sections ) I) In the unrestricted model, interactions are treated as in the random effects model:

MIXED MODELS (Sections ) I) In the unrestricted model, interactions are treated as in the random effects model: 1 2 MIXED MODELS (Sections 17.7 17.8) Exmple: Suppose tht in the fiber breking strength exmple, the four mchines used were the only ones of interest, but the interest ws over wide rnge of opertors, nd

More information

Infinite Geometric Series

Infinite Geometric Series Infinite Geometric Series Finite Geometric Series ( finite SUM) Let 0 < r < 1, nd let n be positive integer. Consider the finite sum It turns out there is simple lgebric expression tht is equivlent to

More information

SOLUTIONS FOR ADMISSIONS TEST IN MATHEMATICS, COMPUTER SCIENCE AND JOINT SCHOOLS WEDNESDAY 5 NOVEMBER 2014

SOLUTIONS FOR ADMISSIONS TEST IN MATHEMATICS, COMPUTER SCIENCE AND JOINT SCHOOLS WEDNESDAY 5 NOVEMBER 2014 SOLUTIONS FOR ADMISSIONS TEST IN MATHEMATICS, COMPUTER SCIENCE AND JOINT SCHOOLS WEDNESDAY 5 NOVEMBER 014 Mrk Scheme: Ech prt of Question 1 is worth four mrks which re wrded solely for the correct nswer.

More information

UNIFORM CONVERGENCE. Contents 1. Uniform Convergence 1 2. Properties of uniform convergence 3

UNIFORM CONVERGENCE. Contents 1. Uniform Convergence 1 2. Properties of uniform convergence 3 UNIFORM CONVERGENCE Contents 1. Uniform Convergence 1 2. Properties of uniform convergence 3 Suppose f n : Ω R or f n : Ω C is sequence of rel or complex functions, nd f n f s n in some sense. Furthermore,

More information

Math 270A: Numerical Linear Algebra

Math 270A: Numerical Linear Algebra Mth 70A: Numericl Liner Algebr Instructor: Michel Holst Fll Qurter 014 Homework Assignment #3 Due Give to TA t lest few dys before finl if you wnt feedbck. Exercise 3.1. (The Bsic Liner Method for Liner

More information

Reversals of Signal-Posterior Monotonicity for Any Bounded Prior

Reversals of Signal-Posterior Monotonicity for Any Bounded Prior Reversls of Signl-Posterior Monotonicity for Any Bounded Prior Christopher P. Chmbers Pul J. Hely Abstrct Pul Milgrom (The Bell Journl of Economics, 12(2): 380 391) showed tht if the strict monotone likelihood

More information

We will see what is meant by standard form very shortly

We will see what is meant by standard form very shortly THEOREM: For fesible liner progrm in its stndrd form, the optimum vlue of the objective over its nonempty fesible region is () either unbounded or (b) is chievble t lest t one extreme point of the fesible

More information

CS 275 Automata and Formal Language Theory

CS 275 Automata and Formal Language Theory CS 275 Automt nd Forml Lnguge Theory Course Notes Prt II: The Recognition Problem (II) Chpter II.5.: Properties of Context Free Grmmrs (14) Anton Setzer (Bsed on book drft by J. V. Tucker nd K. Stephenson)

More information

1.9 C 2 inner variations

1.9 C 2 inner variations 46 CHAPTER 1. INDIRECT METHODS 1.9 C 2 inner vritions So fr, we hve restricted ttention to liner vritions. These re vritions of the form vx; ǫ = ux + ǫφx where φ is in some liner perturbtion clss P, for

More information

Review of basic calculus

Review of basic calculus Review of bsic clculus This brief review reclls some of the most importnt concepts, definitions, nd theorems from bsic clculus. It is not intended to tech bsic clculus from scrtch. If ny of the items below

More information

Lecture 1. Functional series. Pointwise and uniform convergence.

Lecture 1. Functional series. Pointwise and uniform convergence. 1 Introduction. Lecture 1. Functionl series. Pointwise nd uniform convergence. In this course we study mongst other things Fourier series. The Fourier series for periodic function f(x) with period 2π is

More information

Concepts of Concurrent Computation Spring 2015 Lecture 9: Petri Nets

Concepts of Concurrent Computation Spring 2015 Lecture 9: Petri Nets Concepts of Concurrent Computtion Spring 205 Lecture 9: Petri Nets Sebstin Nnz Chris Poskitt Chir of Softwre Engineering Petri nets Petri nets re mthemticl models for describing systems with concurrency

More information

Recitation 3: Applications of the Derivative. 1 Higher-Order Derivatives and their Applications

Recitation 3: Applications of the Derivative. 1 Higher-Order Derivatives and their Applications Mth 1c TA: Pdric Brtlett Recittion 3: Applictions of the Derivtive Week 3 Cltech 013 1 Higher-Order Derivtives nd their Applictions Another thing we could wnt to do with the derivtive, motivted by wht

More information

CMSC 330: Organization of Programming Languages

CMSC 330: Organization of Programming Languages CMSC 330: Orgniztion of Progrmming Lnguges Finite Automt 2 CMSC 330 1 Types of Finite Automt Deterministic Finite Automt (DFA) Exctly one sequence of steps for ech string All exmples so fr Nondeterministic

More information

N 0 completions on partial matrices

N 0 completions on partial matrices N 0 completions on prtil mtrices C. Jordán C. Mendes Arújo Jun R. Torregros Instituto de Mtemátic Multidisciplinr / Centro de Mtemátic Universidd Politécnic de Vlenci / Universidde do Minho Cmino de Ver

More information

Lecture 20: Numerical Integration III

Lecture 20: Numerical Integration III cs4: introduction to numericl nlysis /8/0 Lecture 0: Numericl Integrtion III Instructor: Professor Amos Ron Scribes: Mrk Cowlishw, Yunpeng Li, Nthnel Fillmore For the lst few lectures we hve discussed

More information

Vyacheslav Telnin. Search for New Numbers.

Vyacheslav Telnin. Search for New Numbers. Vycheslv Telnin Serch for New Numbers. 1 CHAPTER I 2 I.1 Introduction. In 1984, in the first issue for tht yer of the Science nd Life mgzine, I red the rticle "Non-Stndrd Anlysis" by V. Uspensky, in which

More information

Physics 116C Solution of inhomogeneous ordinary differential equations using Green s functions

Physics 116C Solution of inhomogeneous ordinary differential equations using Green s functions Physics 6C Solution of inhomogeneous ordinry differentil equtions using Green s functions Peter Young November 5, 29 Homogeneous Equtions We hve studied, especilly in long HW problem, second order liner

More information

Entropy and Ergodic Theory Notes 10: Large Deviations I

Entropy and Ergodic Theory Notes 10: Large Deviations I Entropy nd Ergodic Theory Notes 10: Lrge Devitions I 1 A chnge of convention This is our first lecture on pplictions of entropy in probbility theory. In probbility theory, the convention is tht ll logrithms

More information

Line and Surface Integrals: An Intuitive Understanding

Line and Surface Integrals: An Intuitive Understanding Line nd Surfce Integrls: An Intuitive Understnding Joseph Breen Introduction Multivrible clculus is ll bout bstrcting the ides of differentition nd integrtion from the fmilir single vrible cse to tht of

More information

P 3 (x) = f(0) + f (0)x + f (0) 2. x 2 + f (0) . In the problem set, you are asked to show, in general, the n th order term is a n = f (n) (0)

P 3 (x) = f(0) + f (0)x + f (0) 2. x 2 + f (0) . In the problem set, you are asked to show, in general, the n th order term is a n = f (n) (0) 1 Tylor polynomils In Section 3.5, we discussed how to pproximte function f(x) round point in terms of its first derivtive f (x) evluted t, tht is using the liner pproximtion f() + f ()(x ). We clled this

More information

3.4 Numerical integration

3.4 Numerical integration 3.4. Numericl integrtion 63 3.4 Numericl integrtion In mny economic pplictions it is necessry to compute the definite integrl of relvlued function f with respect to "weight" function w over n intervl [,

More information

Nondeterminism and Nodeterministic Automata

Nondeterminism and Nodeterministic Automata Nondeterminism nd Nodeterministic Automt 61 Nondeterminism nd Nondeterministic Automt The computtionl mchine models tht we lerned in the clss re deterministic in the sense tht the next move is uniquely

More information

Riemann Sums and Riemann Integrals

Riemann Sums and Riemann Integrals Riemnn Sums nd Riemnn Integrls Jmes K. Peterson Deprtment of Biologicl Sciences nd Deprtment of Mthemticl Sciences Clemson University August 26, 2013 Outline 1 Riemnn Sums 2 Riemnn Integrls 3 Properties

More information

APPROXIMATE INTEGRATION

APPROXIMATE INTEGRATION APPROXIMATE INTEGRATION. Introduction We hve seen tht there re functions whose nti-derivtives cnnot be expressed in closed form. For these resons ny definite integrl involving these integrnds cnnot be

More information

Convert the NFA into DFA

Convert the NFA into DFA Convert the NF into F For ech NF we cn find F ccepting the sme lnguge. The numer of sttes of the F could e exponentil in the numer of sttes of the NF, ut in prctice this worst cse occurs rrely. lgorithm:

More information

Fig. 1. Open-Loop and Closed-Loop Systems with Plant Variations

Fig. 1. Open-Loop and Closed-Loop Systems with Plant Variations ME 3600 Control ystems Chrcteristics of Open-Loop nd Closed-Loop ystems Importnt Control ystem Chrcteristics o ensitivity of system response to prmetric vritions cn be reduced o rnsient nd stedy-stte responses

More information

Best Approximation. Chapter The General Case

Best Approximation. Chapter The General Case Chpter 4 Best Approximtion 4.1 The Generl Cse In the previous chpter, we hve seen how n interpolting polynomil cn be used s n pproximtion to given function. We now wnt to find the best pproximtion to given

More information

CBE 291b - Computation And Optimization For Engineers

CBE 291b - Computation And Optimization For Engineers The University of Western Ontrio Fculty of Engineering Science Deprtment of Chemicl nd Biochemicl Engineering CBE 9b - Computtion And Optimiztion For Engineers Mtlb Project Introduction Prof. A. Jutn Jn

More information

1 Nondeterministic Finite Automata

1 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 information

CS 188 Introduction to Artificial Intelligence Fall 2018 Note 7

CS 188 Introduction to Artificial Intelligence Fall 2018 Note 7 CS 188 Introduction to Artificil Intelligence Fll 2018 Note 7 These lecture notes re hevily bsed on notes originlly written by Nikhil Shrm. Decision Networks In the third note, we lerned bout gme trees

More information

Numerical integration

Numerical integration 2 Numericl integrtion This is pge i Printer: Opque this 2. Introduction Numericl integrtion is problem tht is prt of mny problems in the economics nd econometrics literture. The orgniztion of this chpter

More information

Riemann Sums and Riemann Integrals

Riemann Sums and Riemann Integrals Riemnn Sums nd Riemnn Integrls Jmes K. Peterson Deprtment of Biologicl Sciences nd Deprtment of Mthemticl Sciences Clemson University August 26, 203 Outline Riemnn Sums Riemnn Integrls Properties Abstrct

More information

Euler, Ioachimescu and the trapezium rule. G.J.O. Jameson (Math. Gazette 96 (2012), )

Euler, Ioachimescu and the trapezium rule. G.J.O. Jameson (Math. Gazette 96 (2012), ) Euler, Iochimescu nd the trpezium rule G.J.O. Jmeson (Mth. Gzette 96 (0), 36 4) The following results were estblished in recent Gzette rticle [, Theorems, 3, 4]. Given > 0 nd 0 < s

More information

Types of Finite Automata. CMSC 330: Organization of Programming Languages. Comparing DFAs and NFAs. Comparing DFAs and NFAs (cont.) Finite Automata 2

Types of Finite Automata. CMSC 330: Organization of Programming Languages. Comparing DFAs and NFAs. Comparing DFAs and NFAs (cont.) Finite Automata 2 CMSC 330: Orgniztion of Progrmming Lnguges Finite Automt 2 Types of Finite Automt Deterministic Finite Automt () Exctly one sequence of steps for ech string All exmples so fr Nondeterministic Finite Automt

More information

Data Assimilation. Alan O Neill Data Assimilation Research Centre University of Reading

Data Assimilation. Alan O Neill Data Assimilation Research Centre University of Reading Dt Assimiltion Aln O Neill Dt Assimiltion Reserch Centre University of Reding Contents Motivtion Univrite sclr dt ssimiltion Multivrite vector dt ssimiltion Optiml Interpoltion BLUE 3d-Vritionl Method

More information

Section 6.1 INTRO to LAPLACE TRANSFORMS

Section 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 information

LECTURE NOTE #12 PROF. ALAN YUILLE

LECTURE NOTE #12 PROF. ALAN YUILLE LECTURE NOTE #12 PROF. ALAN YUILLE 1. Clustering, K-mens, nd EM Tsk: set of unlbeled dt D = {x 1,..., x n } Decompose into clsses w 1,..., w M where M is unknown. Lern clss models p(x w)) Discovery of

More information

Section 14.3 Arc Length and Curvature

Section 14.3 Arc Length and Curvature Section 4.3 Arc Length nd Curvture Clculus on Curves in Spce In this section, we ly the foundtions for describing the movement of n object in spce.. Vector Function Bsics In Clc, formul for rc length in

More information

Student Activity 3: Single Factor ANOVA

Student Activity 3: Single Factor ANOVA MATH 40 Student Activity 3: Single Fctor ANOVA Some Bsic Concepts In designed experiment, two or more tretments, or combintions of tretments, is pplied to experimentl units The number of tretments, whether

More information

We partition C into n small arcs by forming a partition of [a, b] by picking s i as follows: a = s 0 < s 1 < < s n = b.

We partition C into n small arcs by forming a partition of [a, b] by picking s i as follows: a = s 0 < s 1 < < s n = b. Mth 255 - Vector lculus II Notes 4.2 Pth nd Line Integrls We begin with discussion of pth integrls (the book clls them sclr line integrls). We will do this for function of two vribles, but these ides cn

More information

Tech. Rpt. # UMIACS-TR-99-31, Institute for Advanced Computer Studies, University of Maryland, College Park, MD 20742, June 3, 1999.

Tech. Rpt. # UMIACS-TR-99-31, Institute for Advanced Computer Studies, University of Maryland, College Park, MD 20742, June 3, 1999. Tech. Rpt. # UMIACS-TR-99-3, Institute for Advnced Computer Studies, University of Mrylnd, College Prk, MD 20742, June 3, 999. Approximtion Algorithms nd Heuristics for the Dynmic Storge Alloction Problem

More information

Where did dynamic programming come from?

Where did dynamic programming come from? Where did dynmic progrmming come from? String lgorithms Dvid Kuchk cs302 Spring 2012 Richrd ellmn On the irth of Dynmic Progrmming Sturt Dreyfus http://www.eng.tu.c.il/~mi/cd/ or50/1526-5463-2002-50-01-0048.pdf

More information

Operations with Polynomials

Operations with Polynomials 38 Chpter P Prerequisites P.4 Opertions with Polynomils Wht you should lern: How to identify the leding coefficients nd degrees of polynomils How to dd nd subtrct polynomils How to multiply polynomils

More information

Uninformed Search Lecture 4

Uninformed Search Lecture 4 Lecture 4 Wht re common serch strtegies tht operte given only serch problem? How do they compre? 1 Agend A quick refresher DFS, BFS, ID-DFS, UCS Unifiction! 2 Serch Problem Formlism Defined vi the following

More information

MAA 4212 Improper Integrals

MAA 4212 Improper Integrals Notes by Dvid Groisser, Copyright c 1995; revised 2002, 2009, 2014 MAA 4212 Improper Integrls The Riemnn integrl, while perfectly well-defined, is too restrictive for mny purposes; there re functions which

More information

Model Reduction of Finite State Machines by Contraction

Model Reduction of Finite State Machines by Contraction Model Reduction of Finite Stte Mchines y Contrction Alessndro Giu Dip. di Ingegneri Elettric ed Elettronic, Università di Cgliri, Pizz d Armi, 09123 Cgliri, Itly Phone: +39-070-675-5892 Fx: +39-070-675-5900

More information

More on automata. Michael George. March 24 April 7, 2014

More 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 information

Types of Finite Automata. CMSC 330: Organization of Programming Languages. Comparing DFAs and NFAs. NFA for (a b)*abb.

Types of Finite Automata. CMSC 330: Organization of Programming Languages. Comparing DFAs and NFAs. NFA for (a b)*abb. CMSC 330: Orgniztion of Progrmming Lnguges Finite Automt 2 Types of Finite Automt Deterministic Finite Automt () Exctly one sequence of steps for ech string All exmples so fr Nondeterministic Finite Automt

More information

A027 Uncertainties in Local Anisotropy Estimation from Multi-offset VSP Data

A027 Uncertainties in Local Anisotropy Estimation from Multi-offset VSP Data A07 Uncertinties in Locl Anisotropy Estimtion from Multi-offset VSP Dt M. Asghrzdeh* (Curtin University), A. Bon (Curtin University), R. Pevzner (Curtin University), M. Urosevic (Curtin University) & B.

More information