The Semantics of Graph Programs

Size: px
Start display at page:

Download "The Semantics of Graph Programs"

Transcription

1 The Semntics of Grph Progrms Detlef Plump Deprtment of Computer Science The University of York, UK Sndr Steinert Deprtment of Computer Science The University of York, UK GP (for Grph Progrms) is rule-bsed, nondeterministic progrmming lnguge for solving grph problems t high level of bstrction, freeing progrmmers from hndling low-level dt structures. The core of GP consists of four constructs: single-step ppliction of set of conditionl grphtrnsformtion rules, sequentil composition, brnching nd itertion. We present forml semntics for GP in the style of structurl opertionl semntics. A specil feture of our semntics is the use of finitely filing progrms to define GP s powerful brnching nd itertion commnds. Introduction This pper defines the semntics of GP, n experimentl nondeterministic progrmming lnguge for high-level problem solving in the domin of grphs. The lnguge is bsed on conditionl rule schemt for grph trnsformtion (introduced in [6]) nd thereby frees progrmmers from hndling low-level dt structures for grphs. The prototype implementtion of GP compiles grph progrms into bytecode for the York bstrct mchine, nd comes with grphicl editor for progrms nd grphs []. GP hs simple syntx s its core contins only four commnds: single-step ppliction of set of rule schemt, sequentil composition, brnching nd s-long-s-possible itertion. Despite its simplicity, GP is computtionlly complete in tht every computble function on grphs cn be progrmmed [8]. A mjor gol of the GP project is the development of prcticl grph-trnsformtion lnguge tht comes with concise forml semntics, to fcilitte progrm verifiction nd other forml resoning on progrms. Also, forml semntics provides implementors with rigorous definition of the lnguge tht does not depend on compiler or mchine. To define the mening of GP progrms, we dopt Plotkin s method of structurl opertionl semntics [4]. This pproch is well estblished for impertive progrmming lnguges [3] but is novel in the field of grph trnsformtion. In brief, the method consists in devising inference rules which inductively define the effect of commnds on progrm sttes. Wheres clssic stte consists of the vlues of ll progrm vribles t certin point in time, the nlogue for grph trnsformtion is the grph on which the rules of progrm operte. As GP is nondeterministic, our semntics ssigns to progrm P nd n input grph G ll grphs tht cn result from executing P on G. A specil feture of the semntics is the use of filing computtions to define powerful brnching nd itertion constructs. (Filure occurs when set of rule schemt to be executed is not pplicble to the current grph.) While the conditions of brnching commnds in trditionl progrmming lnguges re boolen expressions, GP uses rbitrry progrms s conditions. The evlution of condition C succeeds if there exists n execution of C on the current grph tht produces grph. On the other hnd, the evlution of C is unsuccessful if ll executions of C on the current grph result in filure. In this cse C finitely fils on the current grph. In logic progrmming, finite filure (of SLD resolution) is used to define negtion [4]. In the cse of GP, it llows to hide destructive executions of the condition C of sttement if C then Pelse Q. This is becuse fter evluting C, the resulting grph is discrded nd either P or Q is executed on the I. Mckie nd A. Mrtins Moreir (Eds.): Tenth Interntionl Workshop on Rule-Bsed Progrmming (RULE 009) EPTCS, 00, pp. 7 38, doi:0.404/eptcs..3 c D. Plump & S. Steinert

2 8 Semntics of Grph Progrms grph with which the brnching sttement ws entered. Finite filure lso llows to elegntly lift the ppliction of s-long-s-possible itertion from sets of rule schemt (s in [6]) to rbitrry progrms: the body of loop cn no longer be pplied if it finitely fils on the current grph. Control constructs which llow progrmmers to write strtegies for pplying rewrite rules hve long been present in term-rewriting lnguges such s Eln [] nd Strtego [3]. These lnguges llow recursive definitions of strtegies wheres GP is bsed on smll set of built-in, non-recursive constructs. (See [9] for n extension of GP with recursive procedures.) Another difference between GP nd lnguges such s Eln nd Strtego is tht strtegies in the ltter lnguges rely on the structure of the objects tht they mnipulte, tht is, on the tree structure of terms. In both lnguges, term-rewrite rules re pplied t the root of term so tht trversl opertions re needed to pply rules nd strtegies deep inside terms. In contrst, the semntics of GP s control constructs does not depend on the structure of grphs nd is completely orthogonl to the semntics of rule schemt. This provides cler seprtion of concerns between rules nd the control of rules, mking it esy to dpt GP s semntics to different formts of rules or grphs. The contributions of this pper cn be summrised s follows: A grph-trnsformtion lnguge with simple syntx nd semntics, fcilitting understnding by progrmmers nd forml resoning on progrms. Our experience so fr is tht very often short nd esy to understnd progrms cn be written to solve problems on grphs (see [5] for vrious smll cse studies). The first forml opertionl semntics for grph-trnsformtion lnguge (to the best of our knowledge). Well-known lnguges such s AGG [6], Fujb [] nd GrGen [7] hve no forml semntics. The only grph-trnsformtion lnguge with complete forml semntics tht we re wre of is PROGRES [8]. Its semntics, given by Schürr in his disserttion [7], trnsltes progrms into control-flow digrms nd consists of more thn 300 rules (including the definition of the sttic semntics). A powerful brnching construct bsed on the concept of finite filure, llowing to conveniently express complex destructive tests on input grphs. In ddition, finite filure enbles n elegnt definition of s-long-s-possible itertion. These definitions do not depend on the structure of grphs nd cn be used for string- or term-bsed rewriting lnguges, too. The rest of this pper is structured s follows. The next section reviews the grph-trnsformtion formlism underlying GP, the so-clled double-pushout pproch with relbelling. Section 3 introduces conditionl rule schemt s the building blocks of GP progrms. In Section 4, we discuss n exmple progrm for grph colouring nd define the bstrct syntx of grph progrms. Section 5 presents our forml semntics of GP in the style of structurl opertionl semntics. In Section 6, we conclude nd mention some topics for future work. Grph Trnsformtion We briefly review the model of grph trnsformtion underlying GP, the double-pushout pproch with relbelling [9]. Our presenttion is tilored to GP in tht we consider grphs over fixed lbel lphbet, nd rules in which only the interfce my contin unlbelled nodes. GP progrms operte on grphs lbelled with sequences of integers nd strings. (The reson for using sequences will become cler in Section 4.) To formlise this, let Z be the set of integers nd Chr be In the extreme, one could even replce the underlying formlism of grph-trnsformtion with some other rule-bsed frmework, such s string or term rewriting.

3 D. Plump & S. Steinert 9 finite set of chrcters we my think of Chr s the chrcters tht cn be typed on keybord. We fix the lbel lphbet L =(Z Chr ) + consisting of ll nonempty sequences mde up from integers nd chrcter strings. A prtilly lbelled grph over L (or grph for short) is system G=(V G,E G,s G,t G,l G,m G ), where V G nd E G re finite sets of nodes (or vertices) nd edges, s G,t G : E G V G re the source nd trget functions for edges, l G : V G L is the prtil node lbelling function nd m G : E G L is the (totl) edge lbelling function. Given node v, we write l G (v)= to express tht l G (v) is undefined. Grph G is totlly lbelled if l G is totl function. The set of ll totlly lbelled grphs over L is denoted by G. GP progrms operte on the grphs in G, unlbelled nodes occur only in the interfces of rules (see below) nd re necessry in the doublepushout pproch to relbel nodes. There is no need to relbel edges s they cn lwys be deleted nd reinserted with chnged lbels. A grph morphism g: G H between grphs G nd H consists of two functions g V : V G V H nd g E : E G E H tht preserve sources, trgets nd lbels (tht is, s H g E = g V s G, t H g E = g V t G, m H g E = m G, nd l H (g(v))=l G (v) for ll v such tht l G (v) ). Morphism g is n inclusion if g(x)= x for ll nodes nd edges x. It is injective if g V nd g E re injective. A rule r = (L K R) consists of two inclusions K L nd K R where L nd R re totlly lbelled grphs. Grph K is the interfce of r. Intuitively, n ppliction of r to grph will remove the items in L K, preserve K, dd the items in R K, nd relbel the unlbelled nodes in K. Given grph G in G, n injective grph morphism g: L G is mtch for r if it stisfies the dngling condition: no node in g(l) g(k) is incident to n edge in G g(l). In this cse G directly derives the grph H in G tht is constructed from G s follows:. Remove ll nodes nd edges in g(l) g(k).. Add disjointly ll nodes nd edges from R K, keeping their lbels. For e E R E K, s H (e) is s R (e) if s R (e) V R V K, otherwise g V (s R (e)). Trgets re defined nlogously. 3. For ech node v in K with l K (v)=, l H (g V (v)) becomes l R (v). We write G r,g H (or just G r H) if G directly derives H s bove. Figure shows n exmple of direct derivtion. The rule in the upper row is pplied to the left grph of the lower row, resulting in the right grph of the lower row. For simplicity, we do not depict edge lbels nd ssume tht they re ll the sme. The node identifiers nd in the rule specify the inclusions of the interfce. The middle grph of the lower row is n intermedite result (omitted in the bove construction). This digrm represents double-pushout in the ctegory of prtilly lbelled grphs over L. To define conditionl rules, we equip rules with predictes tht restrict sets of mtches. A conditionl rule q=(r,p) consists of rule r nd predicte P on grph morphisms. Given totlly lbelled grphs G, H nd mtch g: L Gfor q, we write G q,g H (or just G q H) if P(g) holds nd G r,g H. For set of conditionl rules R, we write G R H if there is some q in R such tht G q H. 3 Conditionl Rule Schemt A GP progrm is essentilly list of declrtions of conditionl rule schemt together with commnd sequence for controlling the ppliction of the schemt. Rule schemt generlise rules in tht lbels cn contin expressions over prmeters of type integer or string. In this section, we give n bstrct See [9] for n equivlent definition by grph pushouts.

4 30 Semntics of Grph Progrms 3 3 Figure : A direct derivtion syntx for the textul components of conditionl rule schemt nd interpret them s sets of conditionl rules. Figure shows n exmple for the declrtion of conditionl rule schem. It consists of the identifier bridge followed by the declrtion of forml prmeters, the left nd right grphs of the schem which re lbelled with expressions over the prmeters, the node identifiers,, 3 determining the interfce of the schem, nd the keyword where followed by the condition. bridge(,b,x,y,z: int) +b x y b z x y b z 3 3 where>=0 nd b>=0 nd notedge(,3) Figure : A conditionl rule schem In the GP progrmming system [], rule schemt re constructed with grphicl editor. Figure 3 gives grmmr in Extended Bckus-Nur Form for node nd edge lbels in the left nd right grph of rule schem (ctegories LeftLbel nd RightLbel). 3 Lbels cn be sequences of expressions seprted by underscores, s will be demonstrted by Exmple in Section 4. We require tht lbels in the left grph must be simple expressions becuse their vlues t execution time re determined by grph mtching. All vrible identifiers in the right grph must lso occur in the left grph. Every expression in ctegory Exp hs typeint orstring, where rithmeticl opertors expect rguments of typeint nd the type of vrible identifiers is determined by their declrtions. The condition of rule schem is boolen expression built from expressions of ctegory Exp nd the specil predicte edge, see Figure 4. Agin, ll vrible identifiers occurring in the condition must 3 The grmmrs in Figure 3 nd Figure 4 re mbiguous, we use prentheses to dismbigute expressions where necessry.

5 D. Plump & S. Steinert 3 LeftLbel ::= SimpleExp [ LeftLbel] RightLbel ::= Exp [ RightLbel] SimpleExp ::= [ - ] Num String VrId Exp ::= SimpleExp Exp ArithOp Exp ArithOp ::= + - / Num ::= Digit {Digit} String ::= {Chr} Figure 3: Syntx of node nd edge lbels BoolExp ::= edge ( Node, Node ) Exp RelOp Exp not BoolExp BoolExp BoolOp BoolExp Node ::= Digit {Digit} RelOp ::= = \= > < >= <= BoolOp ::= nd or Figure 4: Syntx of conditions lso occur in the left grph of the schem. The predicte edge demnds the (non-)existence of n edge between two nodes in the grph to which the rule schem is pplied. For exmple, the expression notedge(,3) in the condition of Figure forbids n edge from node to node 3 when the left grph is mtched. We interpret conditionl rule schem s the (possibly infinite) set of conditionl rules tht is obtined by instntiting vribles with ny vlues nd evluting expressions. To define this, consider declrtion D of conditionl rule-schem. Let L nd R be the left nd right grphs of D, nd c the condition. We write Vr(D) for the set of vrible identifiers occurring in D. Given x in Vr(D), type(x) denotes the type ssocited with x. An ssignment is mpping α : Vr(D) (Z Chr ) such tht for ech x in Vr(D), type(x)=int implies α(x) Z, nd type(x)=string implies α(x) Chr. Given lbel l of ctegory RightLbel occuring in D nd n ssignment α, the vlue l α L is inductively defined. If l is numerl or sequence of chrcters, then l α is the integer or chrcter string represented by l (which is independent of α). If l is vrible identifier, then l α = α(l). Otherwise, l α is obtined from the vlues of l s components. If l hs the form e e with in ArithOp nd e,e in Exp, then l α = e α Z e α where Z is the integer opertion represented by. 4 If l hs the form e m with e in Exp nd m in RightLbel, then l α = e α m α (the conctention of e α nd m α ). Note tht our definition of l α covers ll lbels in D since LeftLbel is subctegory of RightLbel. The vlue of the condition c in D not only depends on n ssignment but lso on grph morphism. For, if c contins the predicte edge, we need to consider the structure of the grph to which we wnt to pply the rule schem. Consider n ssignment α nd let L α be obtined from L by replcing ech lbel l with l α. Let g: L α G be grph morphism with G G. Then for ech Boolen subexpression b of c, the vlue b α,g in B={tt,ff} is inductively defined. If b hs the form e e with in RelOp nd e,e in Exp, then b α,g =tt if nd only if e α Z e α where Z is the reltion on integers represented by 4 For simplicity, we consider division by zero s n implementtion-level issue.

6 3 Semntics of Grph Progrms. If b hs the form notb with b in BoolExp, then b α,g =tt if nd only if b α,g =ff. If b hs the form b b with in BoolOp nd b,b in BoolExp, then b α,g = b α,g B b α,g where B is the Boolen opertion on B represented by. A specil cse is given if b hs the form edge(v,w) where v,w re identifiers of interfce nodes in D. We then hve { b α,g tt if there is n edge from g(v) to g(w), = ff otherwise. Let now r be the rule-schem identifier ssocited with declrtion D. For every ssignment α, let r α =(L α K R α, P α ) be the conditionl rule given s follows: L α nd R α re obtined from L nd R by replcing ech lbel l with l α. K is the discrete subgrph of L nd R determined by the node identifiers for the interfce, where ll nodes re unlbelled. P α is defined by: P α (g) if nd only if g is grph morphism L α G such tht G G nd c α,g =tt. The interprettion of r is the rule set I(r) ={r α α is n ssignment}. For nottionl convenience, we sometimes denote the reltion I(r) by r. Note tht I(r) is (possibly infinite) set of conditionl rules in the sense of Section, grounding rule schemt in the theory of the double-pushout pproch with relbelling [9]. For exmple, the upper rows of Figure 5 show the rule schem bridge of Figure (without condition) nd its instnce bridge α, where α(x) = 0, α(y) = α(z) =, α() = 3 nd α(b) =. The condition c of bridge evlutes to the predicte P α which is true for mtch g of the left-hnd grph if nd only if there is no edge from g() to g(3). (The subexpressions >=0 nd b>=0 evlute to tt nd hence cn be ignored.) The lower rows of Figure 5 show n ppliction of bridge α by grph morphism stisfying P α. +b Schem: x y b z x y b z 3 3 α α 5 Instnce: Figure 5: Appliction of rule schem using instntition

7 D. Plump & S. Steinert 33 4 Grph Progrms We strt by discussing n exmple progrm for grph colouring. Exmple (Computing -colouring). A colouring for grph is n ssignment of colours (integers) to nodes such tht the source nd trget of ech edge hve different colours. A grph is -colourble (or biprtite) if it possesses colouring with t most two colours. The progrm -colouring in Figure 6 genertes -colouring for nonempty, connected input grphs without loops if such colouring exists otherwise the input grph is returned. The progrm consists of five rule-schem declrtions, the mcro colour representing the rule-schem set{colour, colour}, nd the min commnd sequence following the key wordmin. min=choose; colour!; if illegl then undo! colour ={colour, colour} choose(x: int) illegl(,i,x,y: int) x x 0 x i y i x i y i colour(,i,x,y: int) undo(i,x: int) x i y x i y i x i x colour(,i,x,y: int) x i y x i y i Figure 6: The progrm -colouring Given n integer-lbelled input grph, the progrm first uses the rule schem choose to pick ny node nd replce its lbel x with x 0. The underscore opertor llows to dd tg to lbel, used here to dd colours to lbels. In generl, tgged lbel consists of sequence of expressions joined by underscores. After the first node hs been coloured, the commnd colour! pplies the rule schemt colour nd colour nondeterministiclly s long s possible to colour ll remining nodes. In ech itertion of the loop, n uncoloured node djcent to n lredy coloured node v gets the colour in{0,} tht is complementry to v s colour. If the input grph is connected, the grph resulting from colour! is correctly coloured if nd only if the rule schem illegl is not pplicble. The ltter is checked by the if-sttement. If illegl is pplicble, then the input must contin n undirected cycle of odd length nd hence is not -colourble (see for exmple [0]). In this cse the loopundo! removes ll tgs to return the input grph unmodified. Note tht the number of rule-schem pplictions performed by -colouring is liner in the number of input nodes. To mke -colouring pplicble to grphs tht re possibly empty or disconnected, we cn insert

8 34 Semntics of Grph Progrms nested loop: min = (choose; colour!)!; if illegl then undo!. Now if the input grph is empty, choose fils which cuses the outer loop to terminte nd return the current (empty) grph. On the other hnd, if the input consists of severl connected components, the body of the outer loop is repetedly clled to colour ech component. Figure 7 shows the bstrct syntx of GP progrms. 5 A progrm consists of number of declrtions of conditionl rule schemt nd mcros, nd exctly one declrtion of min commnd sequence. The rule-schem identifiers (ctegory RuleId) occurring in cll of ctegory RuleSetCll refer to declrtions of conditionl rule schemt in ctegory RuleDecl (see Section 3). Semnticlly, ech rule-schem identifier r stnds for the set I(r) of conditionl rules induced by tht identifier. A cll of the form {r,...,r n } stnds for the union n i= I(r i ). Prog ::= Decl {Decl} Decl ::= RuleDecl McroDecl MinDecl McroDecl ::= McroId = ComSeq MinDecl ::= min = ComSeq ComSeq ::= Com{ ; Com} Com ::= RuleSetCll McroCll if ComSeq then ComSeq [else ComSeq] ComSeq! skip fil RuleSetCll ::= RuleId { [RuleId {, RuleId}] } McroCll ::= McroId Figure 7: Abstrct syntx of GP Mcros re simple mens to structure progrms nd thereby to mke them more redble. Every progrm cn be trnsformed into n equivlent mcro-free progrm by replcing mcro clls with their ssocited commnd sequences (recursive mcros re not llowed). In the next section we use the terms progrm nd commnd sequence synonymously, ssuming tht ll mcro clls hve been replced. The commnds skip nd fil cn be expressed through the other commnds (see next section), hence the core of GP includes only the cll of set of conditionl rule schemt (RuleSetCll), sequentil composition ( ; ), the if-then-else sttement nd s-long-s-possible itertion (! ). 5 Semntics of Grph Progrms We present forml semntics of GP in the style of Plotkin s structurl opertionl semntics [4]. As usul for this pproch, inference rules inductively define smll-step trnsition reltion on configurtions. In our setting, configurtion is either commnd sequence together with grph, just grph or the specil element fil: (ComSeq G) ((ComSeq G) G {fil}). 5 Where necessry we use prentheses to dismbigute progrms.

9 D. Plump & S. Steinert 35 Configurtions in ComSeq G represent unfinished computtions, given by rest progrm nd stte in the form of grph, while grphs in G re proper results of computtions. In ddition, the element fil represents filure stte. A configurtion γ is terminl if there is no configurtion δ such tht γ δ. Ech inference rule in Figure 8 consists of premise nd conclusion seprted by horizontl br. Both prts contin met-vribles for commnd sequences nd grphs, where R stnds for cll in ctegory RuleSetCll, C,P,P,Q stnd for commnd sequences in ctegory ComSeq nd G,H stnd for grphs in G. Given rule-set cll R, let I(R) = {I(r) r is rule-schem identifier in R} (see Section 3 for the definition of I(r)). The domin of I(R), denoted by Dom( I(R) ), is the set of ll grphs G in G such tht G I(R) H for some grph H. Met-vribles re considered to be universlly quntified. For exmple, the rule [Cll ] should be red s: For ll R in RuleSetCll nd ll G,H in G, G I(R) H implies R, G H. Figure 8 shows the inference rules for the core constructs of GP. We write + nd for the trnsitive nd reflexive-trnsitive closures of. A commnd sequence C finitely fils on grph G G if () there does not exist n infinite sequence C, G C, G... nd () for ech terminl configurtion γ such tht C, G γ, γ = fil. In other words, C finitely fils on G if ll computtions strting from (C, G) eventully end in the configurtion fil. [Cll ] [Seq ] G I(R) H R, G H P, G P, H P;Q, G P ;Q, H [Cll ] G Dom( I(R)) R, G fil [Seq ] P, G H P;Q, G Q, H [Seq 3 ] P, G fil P;Q, G fil [If ] [Alp ] C, G + H if C then Pelse Q, G P, G P, G + H P!, G P!, H [If ] [Alp ] C finitely fils on G if C then Pelse Q, G Q, G P finitely fils on G P!, G G Figure 8: Inference rules for core commnds The concept of finite filure stems from logic progrmming where it is used to define negtion s filure [4]. In the cse of GP, we use it to define powerful brnching nd itertion constructs. In prticulr, our definition of the if-then-else commnd llows to hide destructive tests. Exmple (Recognizing series-prllel grphs). A grph is series-prllel if it reduces to grph consisting of two nodes nd n edge between them by the following two opertions [, 5]: () Replce pir of prllel edges by n edge from their source to their trget. () Given node v with exctly one incoming edge e nd exctly one outgoing edge e such tht the source of e nd the trget of e re distinct, replce e, e nd v by n edge from the source of e to the trget of e. Suppose tht we wnt to check whether connected, integer-lbelled grph G is series-prllel nd, depending on the result, execute either progrm P or progrm Q on G. We cn do this with the progrm min = if {pr,seq}!;bsethen Pelse Q whose rule schemt pr, seq nd bse re shown in Figure 9. The subprogrm {pr,seq}! pplies

10 36 Semntics of Grph Progrms s long s possible the opertions () nd () to the input grph G, then the rule schem bse checks if the resulting grph consists of two nodes connected by n edge. Grph G is series-prllel if nd only ifbse is pplicble to the reduced grph. (Note tht {pr,seq}! preserves connectedness nd tht, by the dngling condition, bse is pplicble only if the imges of its left-hnd nodes hve degree one.) It is importnt to note tht by the inference rules [If ] nd [If ], the min progrm executes P or Q on the input grph G wheres the grph resulting from the test is discrded. pr(,b,x,y: int) x y b 0 x y seq(,b,x,y,z: int) x y b z 0 x z bse(,x,y: int) x y /0 Figure 9: Rule schemt for recognizing series-prllel grphs The mening of the remining GP commnds is defined in terms of the mening of the core commnds, see Figure 0. We refer to these commnds s derived commnds. [Skip] skip, G r, G whereris n identifier for the rule schem /0 /0 [[Fil] fil, G {}, G [If 3 ] if C then P, G if C then Pelseskip, G Figure 0: Inference rules for derived commnds We cn now summrise the mening of GP progrms by semntic function which ssigns to ech progrm P the function P mpping n input grph G to the set of ll possible results of running P on G. The result set my contin, besides proper results in the form of grphs, the specil vlue which indictes nonterminting or stuck computtion. The semntic function : ComSeq (G G { } ) is defined by 6 P G = {H G P, G + H} { P cn diverge or get stuck from G} where P cn diverge from G if there is n infinite sequence P, G P, G P, G..., nd P cn get stuck from G if there is terminl configurtion Q, H such tht P, G Q, H. 6 We write P G for the ppliction of P to grph G.

11 D. Plump & S. Steinert 37 Note tht P G = /0 if nd only if P finitely fils on G. In Exmple, for instnce, we hve {pr,seq}!;bse G= /0 for every connected grph G contining cycle. This is becuse the grph resulting from {pr,seq}! is still connected nd cyclic, so the rule schembse is not pplicble. A progrm cn get stuck only in two situtions: either it contins subprogrm if C then P else Q where C both cn diverge from some grph nd cnnot produce proper result from tht grph, or it contins subprogrm B! where the loop s body B possesses the sid property of C. The evlution of these subprogrms will get stuck becuse the inference rules for brnching nd itertion re not pplicble. 6 Conclusion GP is n experimentl rule-bsed lnguge for high-level problem solving in the domin of grphs, freeing progrmmers from hndling low-level dt structures. The hllmrk of GP is syntctic nd semntic simplicity. Conditionl rule schemt for grph trnsformtion llow to express ppliction conditions nd computtions on lbels, in ddition to structurl chnges. The semntics of rule schemt is orthogonl to the semntics of control constructs, mking it esy to chnge the formt of rules or grphs. The opertionl semntics of progrms describes the effect of GP s control constructs in nturl wy nd cptures the nondeterminism of the lnguge. In prticulr, powerful brnching nd itertion commnds hve been defined using the concept of finite filure. Destructive tests on the current grph cn be hidden in the condition of the brnching commnd, nd nested loops cn be coded since rbitrry subprogrms cn be iterted s long s possible. Future extensions of GP my include recursive procedures for writing complex lgorithms (see [9]), nd type concept for restricting the shpe of grphs. Our gol is to support forml resoning on grph progrms by developing sttic nlyses for properties such s termintion nd confluence (uniqueness of results), nd clculus nd tool support for progrm verifiction. References [] Jørgen Bng-Jensen nd Gregory Gutin. Digrphs: Theory, Algorithms nd Applictions. Springer-Verlg, 000. [] Peter Borovnský, Clude Kirchner, Hélène Kirchner, nd Pierre-Etienne Moreu. ELAN from rewriting logic point of view. Theoreticl Computer Science, 85():55 85, 00. [3] Mrtin Brvenboer, Arthur vn Dm, Krin Olmos, nd Eelco Visser. Progrm trnsformtion with scoped dynmic rewrite rules. Fundment Informtice, 69( ):3 78, 006. [4] Keith L. Clrk. Negtion s filure. In Herve Gllire nd Jck Minker, editors, Logic nd Dt Bses, pges Plenum Press, 978. [5] R. J. Duffin. Topology of series-prllel networks. Journl of Mthemticl Anlysis nd Applictions, 0:303 38, 965. [6] Cludi Ermel, Michel Rudolf, nd Gbi Tentzer. The AGG pproch: Lnguge nd environment. In H. Ehrig, G. Engels, H.-J. Kreowski, nd G. Rozenberg, editors, Hndbook of Grph Grmmrs nd Computing by Grph Trnsformtion, volume, chpter 4, pges World Scientific, 999. [7] Rubino Geiß, Gernot Veit Btz, Dniel Grund, Sebstin Hck, nd Adm M. Szlkowski. GrGen: A fst SPO-bsed grph rewriting tool. In Proc. Interntionl Conference on Grph Trnsformtion (ICGT 006), volume 478 of Lecture Notes in Computer Science, pges Springer-Verlg, 006.

12 38 Semntics of Grph Progrms [8] Annegret Hbel nd Detlef Plump. Computtionl completeness of progrmming lnguges bsed on grph trnsformtion. In Proc. Foundtions of Softwre Science nd Computtion Structures (FOSSACS 00), volume 030 of Lecture Notes in Computer Science, pges Springer-Verlg, 00. [9] Annegret Hbel nd Detlef Plump. Relbelling in grph trnsformtion. In Proc. Interntionl Conference on Grph Trnsformtion (ICGT 00), volume 505 of Lecture Notes in Computer Science, pges Springer-Verlg, 00. [0] Jon Kleinberg nd Év Trdos. Algorithm Design. Addison Wesley, 006. [] Greg Mnning nd Detlef Plump. The GP progrmming system. In Proc. Grph Trnsformtion nd Visul Modelling Techniques (GT-VMT 008), volume 0 of Electronic Communictions of the EASST, 008. [] Ulrich Nickel, Jörg Niere, nd Albert Zündorf. The FUJABA environment. In Proc. Interntionl Conference on Softwre Engineering (ICSE 000), pges ACM Press, 000. [3] Hnne Riis Nielson nd Flemming Nielson. Semntics with Applictions: An Appetizer. Springer-Verlg, 007. [4] Gordon D. Plotkin. A structurl pproch to opertionl semntics. Journl of Logic nd Algebric Progrmming, 60 6:7 39, 004. [5] Detlef Plump. The grph progrmming lnguge GP. In Proc. Algebric Informtics (CAI 009), volume 575 of Lecture Notes in Computer Science, pges 99. Springer-Verlg, 009. [6] Detlef Plump nd Sndr Steinert. Towrds grph progrms for grph lgorithms. In Proc. Interntionl Conference on Grph Trnsformtion (ICGT 004), volume 356 of Lecture Notes in Computer Science, pges Springer-Verlg, 004. [7] Andy Schürr. Opertionles Spezifizieren mit progrmmierten Grphersetzungssystemen. Deutscher Universitäts-Verlg, 99. In Germn. [8] Andy Schürr, Andres Winter, nd Albert Zündorf. The PROGRES pproch: Lnguge nd environment. In H. Ehrig, G. Engels, H.-J. Kreowski, nd G. Rozenberg, editors, Hndbook of Grph Grmmrs nd Computing by Grph Trnsformtion, volume, chpter 3, pges World Scientific, 999. [9] Sndr Steinert. The Grph Progrmming Lnguge GP. PhD thesis, The University of York, 007.

Virtual Machine. Part II: Program Control. Building a Modern Computer From First Principles. www.nand2tetris.org

Virtual Machine. Part II: Program Control. Building a Modern Computer From First Principles. www.nand2tetris.org Virtul Mchine Prt II: Progrm Control Building Modern Computer From First Principles www.nnd2tetris.org Elements of Computing Systems, Nisn & Schocken, MIT Press, www.nnd2tetris.org, Chpter 8: Virtul Mchine,

More information

Regular Sets and Expressions

Regular Sets and Expressions Regulr Sets nd Expressions Finite utomt re importnt in science, mthemtics, nd engineering. Engineers like them ecuse they re super models for circuits (And, since the dvent of VLSI systems sometimes finite

More information

Polynomial Functions. Polynomial functions in one variable can be written in expanded form as ( )

Polynomial Functions. Polynomial functions in one variable can be written in expanded form as ( ) Polynomil Functions Polynomil functions in one vrible cn be written in expnded form s n n 1 n 2 2 f x = x + x + x + + x + x+ n n 1 n 2 2 1 0 Exmples of polynomils in expnded form re nd 3 8 7 4 = 5 4 +

More information

LINEAR TRANSFORMATIONS AND THEIR REPRESENTING MATRICES

LINEAR TRANSFORMATIONS AND THEIR REPRESENTING MATRICES LINEAR TRANSFORMATIONS AND THEIR REPRESENTING MATRICES DAVID WEBB CONTENTS Liner trnsformtions 2 The representing mtrix of liner trnsformtion 3 3 An ppliction: reflections in the plne 6 4 The lgebr of

More information

Protocol Analysis. 17-654/17-764 Analysis of Software Artifacts Kevin Bierhoff

Protocol Analysis. 17-654/17-764 Analysis of Software Artifacts Kevin Bierhoff Protocol Anlysis 17-654/17-764 Anlysis of Softwre Artifcts Kevin Bierhoff Tke-Awys Protocols define temporl ordering of events Cn often be cptured with stte mchines Protocol nlysis needs to py ttention

More information

Homework 3 Solutions

Homework 3 Solutions CS 341: Foundtions of Computer Science II Prof. Mrvin Nkym Homework 3 Solutions 1. Give NFAs with the specified numer of sttes recognizing ech of the following lnguges. In ll cses, the lphet is Σ = {,1}.

More information

Modular Generic Verification of LTL Properties for Aspects

Modular Generic Verification of LTL Properties for Aspects Modulr Generic Verifiction of LTL Properties for Aspects Mx Goldmn Shmuel Ktz Computer Science Deprtment Technion Isrel Institute of Technology {mgoldmn, ktz}@cs.technion.c.il ABSTRACT Aspects re seprte

More information

Hillsborough Township Public Schools Mathematics Department Computer Programming 1

Hillsborough Township Public Schools Mathematics Department Computer Programming 1 Essentil Unit 1 Introduction to Progrmming Pcing: 15 dys Common Unit Test Wht re the ethicl implictions for ming in tody s world? There re ethicl responsibilities to consider when writing computer s. Citizenship,

More information

4.11 Inner Product Spaces

4.11 Inner Product Spaces 314 CHAPTER 4 Vector Spces 9. A mtrix of the form 0 0 b c 0 d 0 0 e 0 f g 0 h 0 cnnot be invertible. 10. A mtrix of the form bc d e f ghi such tht e bd = 0 cnnot be invertible. 4.11 Inner Product Spces

More information

FAULT TREES AND RELIABILITY BLOCK DIAGRAMS. Harry G. Kwatny. Department of Mechanical Engineering & Mechanics Drexel University

FAULT TREES AND RELIABILITY BLOCK DIAGRAMS. Harry G. Kwatny. Department of Mechanical Engineering & Mechanics Drexel University SYSTEM FAULT AND Hrry G. Kwtny Deprtment of Mechnicl Engineering & Mechnics Drexel University OUTLINE SYSTEM RBD Definition RBDs nd Fult Trees System Structure Structure Functions Pths nd Cutsets Reliility

More information

Reasoning to Solve Equations and Inequalities

Reasoning to Solve Equations and Inequalities Lesson4 Resoning to Solve Equtions nd Inequlities In erlier work in this unit, you modeled situtions with severl vriles nd equtions. For exmple, suppose you were given usiness plns for concert showing

More information

All pay auctions with certain and uncertain prizes a comment

All pay auctions with certain and uncertain prizes a comment CENTER FOR RESEARC IN ECONOMICS AND MANAGEMENT CREAM Publiction No. 1-2015 All py uctions with certin nd uncertin prizes comment Christin Riis All py uctions with certin nd uncertin prizes comment Christin

More information

On decidability of LTL model checking for process rewrite systems

On decidability of LTL model checking for process rewrite systems Act Informtic (2009) 46:1 28 DOI 10.1007/s00236-008-0082-3 ORIGINAL ARTICLE On decidbility of LTL model checking for process rewrite systems Lur Bozzelli Mojmír Křetínský Vojtěch Řehák Jn Strejček Received:

More information

Network Configuration Independence Mechanism

Network Configuration Independence Mechanism 3GPP TSG SA WG3 Security S3#19 S3-010323 3-6 July, 2001 Newbury, UK Source: Title: Document for: AT&T Wireless Network Configurtion Independence Mechnism Approvl 1 Introduction During the lst S3 meeting

More information

JaERM Software-as-a-Solution Package

JaERM Software-as-a-Solution Package JERM Softwre-s--Solution Pckge Enterprise Risk Mngement ( ERM ) Public listed compnies nd orgnistions providing finncil services re required by Monetry Authority of Singpore ( MAS ) nd/or Singpore Stock

More information

Babylonian Method of Computing the Square Root: Justifications Based on Fuzzy Techniques and on Computational Complexity

Babylonian Method of Computing the Square Root: Justifications Based on Fuzzy Techniques and on Computational Complexity Bbylonin Method of Computing the Squre Root: Justifictions Bsed on Fuzzy Techniques nd on Computtionl Complexity Olg Koshelev Deprtment of Mthemtics Eduction University of Texs t El Pso 500 W. University

More information

Basic Analysis of Autarky and Free Trade Models

Basic Analysis of Autarky and Free Trade Models Bsic Anlysis of Autrky nd Free Trde Models AUTARKY Autrky condition in prticulr commodity mrket refers to sitution in which country does not engge in ny trde in tht commodity with other countries. Consequently

More information

5.2. LINE INTEGRALS 265. Let us quickly review the kind of integrals we have studied so far before we introduce a new one.

5.2. LINE INTEGRALS 265. Let us quickly review the kind of integrals we have studied so far before we introduce a new one. 5.2. LINE INTEGRALS 265 5.2 Line Integrls 5.2.1 Introduction Let us quickly review the kind of integrls we hve studied so fr before we introduce new one. 1. Definite integrl. Given continuous rel-vlued

More information

Graphs on Logarithmic and Semilogarithmic Paper

Graphs on Logarithmic and Semilogarithmic Paper 0CH_PHClter_TMSETE_ 3//00 :3 PM Pge Grphs on Logrithmic nd Semilogrithmic Pper OBJECTIVES When ou hve completed this chpter, ou should be ble to: Mke grphs on logrithmic nd semilogrithmic pper. Grph empiricl

More information

9.3. The Scalar Product. Introduction. Prerequisites. Learning Outcomes

9.3. The Scalar Product. Introduction. Prerequisites. Learning Outcomes The Sclr Product 9.3 Introduction There re two kinds of multipliction involving vectors. The first is known s the sclr product or dot product. This is so-clled becuse when the sclr product of two vectors

More information

Section 7-4 Translation of Axes

Section 7-4 Translation of Axes 62 7 ADDITIONAL TOPICS IN ANALYTIC GEOMETRY Section 7-4 Trnsltion of Aes Trnsltion of Aes Stndrd Equtions of Trnslted Conics Grphing Equtions of the Form A 2 C 2 D E F 0 Finding Equtions of Conics In the

More information

PROF. BOYAN KOSTADINOV NEW YORK CITY COLLEGE OF TECHNOLOGY, CUNY

PROF. BOYAN KOSTADINOV NEW YORK CITY COLLEGE OF TECHNOLOGY, CUNY MAT 0630 INTERNET RESOURCES, REVIEW OF CONCEPTS AND COMMON MISTAKES PROF. BOYAN KOSTADINOV NEW YORK CITY COLLEGE OF TECHNOLOGY, CUNY Contents 1. ACT Compss Prctice Tests 1 2. Common Mistkes 2 3. Distributive

More information

Integration. 148 Chapter 7 Integration

Integration. 148 Chapter 7 Integration 48 Chpter 7 Integrtion 7 Integrtion t ech, by supposing tht during ech tenth of second the object is going t constnt speed Since the object initilly hs speed, we gin suppose it mintins this speed, but

More information

MODULE 3. 0, y = 0 for all y

MODULE 3. 0, y = 0 for all y Topics: Inner products MOULE 3 The inner product of two vectors: The inner product of two vectors x, y V, denoted by x, y is (in generl) complex vlued function which hs the following four properties: i)

More information

Operations with Polynomials

Operations with Polynomials 38 Chpter P Prerequisites P.4 Opertions with Polynomils Wht you should lern: Write polynomils in stndrd form nd identify the leding coefficients nd degrees of polynomils Add nd subtrct polynomils Multiply

More information

1.00/1.001 Introduction to Computers and Engineering Problem Solving Fall 2011 - Final Exam

1.00/1.001 Introduction to Computers and Engineering Problem Solving Fall 2011 - Final Exam 1./1.1 Introduction to Computers nd Engineering Problem Solving Fll 211 - Finl Exm Nme: MIT Emil: TA: Section: You hve 3 hours to complete this exm. In ll questions, you should ssume tht ll necessry pckges

More information

Concept Formation Using Graph Grammars

Concept Formation Using Graph Grammars Concept Formtion Using Grph Grmmrs Istvn Jonyer, Lwrence B. Holder nd Dine J. Cook Deprtment of Computer Science nd Engineering University of Texs t Arlington Box 19015 (416 Ytes St.), Arlington, TX 76019-0015

More information

Experiment 6: Friction

Experiment 6: Friction Experiment 6: Friction In previous lbs we studied Newton s lws in n idel setting, tht is, one where friction nd ir resistnce were ignored. However, from our everydy experience with motion, we know tht

More information

and thus, they are similar. If k = 3 then the Jordan form of both matrices is

and thus, they are similar. If k = 3 then the Jordan form of both matrices is Homework ssignment 11 Section 7. pp. 249-25 Exercise 1. Let N 1 nd N 2 be nilpotent mtrices over the field F. Prove tht N 1 nd N 2 re similr if nd only if they hve the sme miniml polynomil. Solution: If

More information

Lecture 3 Gaussian Probability Distribution

Lecture 3 Gaussian Probability Distribution Lecture 3 Gussin Probbility Distribution Introduction l Gussin probbility distribution is perhps the most used distribution in ll of science. u lso clled bell shped curve or norml distribution l Unlike

More information

Example 27.1 Draw a Venn diagram to show the relationship between counting numbers, whole numbers, integers, and rational numbers.

Example 27.1 Draw a Venn diagram to show the relationship between counting numbers, whole numbers, integers, and rational numbers. 2 Rtionl Numbers Integers such s 5 were importnt when solving the eqution x+5 = 0. In similr wy, frctions re importnt for solving equtions like 2x = 1. Wht bout equtions like 2x + 1 = 0? Equtions of this

More information

MATH 150 HOMEWORK 4 SOLUTIONS

MATH 150 HOMEWORK 4 SOLUTIONS MATH 150 HOMEWORK 4 SOLUTIONS Section 1.8 Show tht the product of two of the numbers 65 1000 8 2001 + 3 177, 79 1212 9 2399 + 2 2001, nd 24 4493 5 8192 + 7 1777 is nonnegtive. Is your proof constructive

More information

Bayesian Updating with Continuous Priors Class 13, 18.05, Spring 2014 Jeremy Orloff and Jonathan Bloom

Bayesian Updating with Continuous Priors Class 13, 18.05, Spring 2014 Jeremy Orloff and Jonathan Bloom Byesin Updting with Continuous Priors Clss 3, 8.05, Spring 04 Jeremy Orloff nd Jonthn Bloom Lerning Gols. Understnd prmeterized fmily of distriutions s representing continuous rnge of hypotheses for the

More information

Math 135 Circles and Completing the Square Examples

Math 135 Circles and Completing the Square Examples Mth 135 Circles nd Completing the Squre Exmples A perfect squre is number such tht = b 2 for some rel number b. Some exmples of perfect squres re 4 = 2 2, 16 = 4 2, 169 = 13 2. We wish to hve method for

More information

Decision Rule Extraction from Trained Neural Networks Using Rough Sets

Decision Rule Extraction from Trained Neural Networks Using Rough Sets Decision Rule Extrction from Trined Neurl Networks Using Rough Sets Alin Lzr nd Ishwr K. Sethi Vision nd Neurl Networks Lbortory Deprtment of Computer Science Wyne Stte University Detroit, MI 48 ABSTRACT

More information

Java CUP. Java CUP Specifications. User Code Additions You may define Java code to be included within the generated parser:

Java CUP. Java CUP Specifications. User Code Additions You may define Java code to be included within the generated parser: Jv CUP Jv CUP is prser-genertion tool, similr to Ycc. CUP uilds Jv prser for LALR(1) grmmrs from production rules nd ssocited Jv code frgments. When prticulr production is recognized, its ssocited code

More information

Vectors 2. 1. Recap of vectors

Vectors 2. 1. Recap of vectors Vectors 2. Recp of vectors Vectors re directed line segments - they cn be represented in component form or by direction nd mgnitude. We cn use trigonometry nd Pythgors theorem to switch between the forms

More information

Regular Languages and Finite Automata

Regular Languages and Finite Automata N Lecture Notes on Regulr Lnguges nd Finite Automt for Prt IA of the Computer Science Tripos Mrcelo Fiore Cmbridge University Computer Lbortory First Edition 1998. Revised 1999, 2000, 2001, 2002, 2003,

More information

Source Code verification Using Logiscope and CodeReducer. Christophe Peron Principal Consultant Kalimetrix

Source Code verification Using Logiscope and CodeReducer. Christophe Peron Principal Consultant Kalimetrix Source Code verifiction Using Logiscope nd CodeReducer Christophe Peron Principl Consultnt Klimetrix Agend Introducing Logiscope: Improving confidence nd developer s productivity Bsed on stte-of-the-rt

More information

Module Summary Sheets. C3, Methods for Advanced Mathematics (Version B reference to new book) Topic 2: Natural Logarithms and Exponentials

Module Summary Sheets. C3, Methods for Advanced Mathematics (Version B reference to new book) Topic 2: Natural Logarithms and Exponentials MEI Mthemtics in Ection nd Instry Topic : Proof MEI Structured Mthemtics Mole Summry Sheets C, Methods for Anced Mthemtics (Version B reference to new book) Topic : Nturl Logrithms nd Eponentils Topic

More information

Example A rectangular box without lid is to be made from a square cardboard of sides 18 cm by cutting equal squares from each corner and then folding

Example A rectangular box without lid is to be made from a square cardboard of sides 18 cm by cutting equal squares from each corner and then folding 1 Exmple A rectngulr box without lid is to be mde from squre crdbord of sides 18 cm by cutting equl squres from ech corner nd then folding up the sides. 1 Exmple A rectngulr box without lid is to be mde

More information

SPECIAL PRODUCTS AND FACTORIZATION

SPECIAL PRODUCTS AND FACTORIZATION MODULE - Specil Products nd Fctoriztion 4 SPECIAL PRODUCTS AND FACTORIZATION In n erlier lesson you hve lernt multipliction of lgebric epressions, prticulrly polynomils. In the study of lgebr, we come

More information

Factoring Polynomials

Factoring Polynomials Fctoring Polynomils Some definitions (not necessrily ll for secondry school mthemtics): A polynomil is the sum of one or more terms, in which ech term consists of product of constnt nd one or more vribles

More information

Treatment Spring Late Summer Fall 0.10 5.56 3.85 0.61 6.97 3.01 1.91 3.01 2.13 2.99 5.33 2.50 1.06 3.53 6.10 Mean = 1.33 Mean = 4.88 Mean = 3.

Treatment Spring Late Summer Fall 0.10 5.56 3.85 0.61 6.97 3.01 1.91 3.01 2.13 2.99 5.33 2.50 1.06 3.53 6.10 Mean = 1.33 Mean = 4.88 Mean = 3. The nlysis of vrince (ANOVA) Although the t-test is one of the most commonly used sttisticl hypothesis tests, it hs limittions. The mjor limittion is tht the t-test cn be used to compre the mens of only

More information

AntiSpyware Enterprise Module 8.5

AntiSpyware Enterprise Module 8.5 AntiSpywre Enterprise Module 8.5 Product Guide Aout the AntiSpywre Enterprise Module The McAfee AntiSpywre Enterprise Module 8.5 is n dd-on to the VirusScn Enterprise 8.5i product tht extends its ility

More information

Warm-up for Differential Calculus

Warm-up for Differential Calculus Summer Assignment Wrm-up for Differentil Clculus Who should complete this pcket? Students who hve completed Functions or Honors Functions nd will be tking Differentil Clculus in the fll of 015. Due Dte:

More information

Model Checking for Software Architectures

Model Checking for Software Architectures Model Checking for Softwre Architectures position pper Rdu Mteescu INRIA Rhône-Alpes / VASY 655, venue de l Europe F-38330 Montbonnot Sint Mrtin http://www.inrilpes.fr/vsy 1 Outline Introduction Constructing

More information

In-circuit temporal monitors for runtime verification of reconfigurable designs

In-circuit temporal monitors for runtime verification of reconfigurable designs In-circuit temporl monitors for runtime verifiction of reconfigurble designs Tim Todmn Deprtment of Computing Imperil College London tephn tilkerich Airbus Group Innovtions Willy-Messerschmitt tr., Wyne

More information

Small Business Cloud Services

Small Business Cloud Services Smll Business Cloud Services Summry. We re thick in the midst of historic se-chnge in computing. Like the emergence of personl computers, grphicl user interfces, nd mobile devices, the cloud is lredy profoundly

More information

Vendor Rating for Service Desk Selection

Vendor Rating for Service Desk Selection Vendor Presented By DATE Using the scores of 0, 1, 2, or 3, plese rte the vendor's presenttion on how well they demonstrted the functionl requirements in the res below. Also consider how efficient nd functionl

More information

Space Vector Pulse Width Modulation Based Induction Motor with V/F Control

Space Vector Pulse Width Modulation Based Induction Motor with V/F Control Interntionl Journl of Science nd Reserch (IJSR) Spce Vector Pulse Width Modultion Bsed Induction Motor with V/F Control Vikrmrjn Jmbulingm Electricl nd Electronics Engineering, VIT University, Indi Abstrct:

More information

Algebra Review. How well do you remember your algebra?

Algebra Review. How well do you remember your algebra? Algebr Review How well do you remember your lgebr? 1 The Order of Opertions Wht do we men when we write + 4? If we multiply we get 6 nd dding 4 gives 10. But, if we dd + 4 = 7 first, then multiply by then

More information

6.2 Volumes of Revolution: The Disk Method

6.2 Volumes of Revolution: The Disk Method mth ppliction: volumes of revolution, prt ii Volumes of Revolution: The Disk Method One of the simplest pplictions of integrtion (Theorem ) nd the ccumultion process is to determine so-clled volumes of

More information

An Undergraduate Curriculum Evaluation with the Analytic Hierarchy Process

An Undergraduate Curriculum Evaluation with the Analytic Hierarchy Process An Undergrdute Curriculum Evlution with the Anlytic Hierrchy Process Les Frir Jessic O. Mtson Jck E. Mtson Deprtment of Industril Engineering P.O. Box 870288 University of Albm Tuscloos, AL. 35487 Abstrct

More information

Physics 43 Homework Set 9 Chapter 40 Key

Physics 43 Homework Set 9 Chapter 40 Key Physics 43 Homework Set 9 Chpter 4 Key. The wve function for n electron tht is confined to x nm is. Find the normliztion constnt. b. Wht is the probbility of finding the electron in. nm-wide region t x

More information

Drawing Diagrams From Labelled Graphs

Drawing Diagrams From Labelled Graphs Drwing Digrms From Lbelled Grphs Jérôme Thièvre 1 INA, 4, venue de l Europe, 94366 BRY SUR MARNE FRANCE Anne Verroust-Blondet 2 INRIA Rocquencourt, B.P. 105, 78153 LE CHESNAY Cedex FRANCE Mrie-Luce Viud

More information

Engineer-to-Engineer Note

Engineer-to-Engineer Note Engineer-to-Engineer Note EE-280 Technicl notes on using Anlog Devices DSPs, processors nd development tools Visit our Web resources http://www.nlog.com/ee-notes nd http://www.nlog.com/processors or e-mil

More information

Mathematics. Vectors. hsn.uk.net. Higher. Contents. Vectors 128 HSN23100

Mathematics. Vectors. hsn.uk.net. Higher. Contents. Vectors 128 HSN23100 hsn.uk.net Higher Mthemtics UNIT 3 OUTCOME 1 Vectors Contents Vectors 18 1 Vectors nd Sclrs 18 Components 18 3 Mgnitude 130 4 Equl Vectors 131 5 Addition nd Subtrction of Vectors 13 6 Multipliction by

More information

Assumption Generation for Software Component Verification

Assumption Generation for Software Component Verification Assumption Genertion for Softwre Component Verifiction Dimitr Ginnkopoulou Corin S. Păsărenu RIACS/USRA Kestrel Technologies LLC NASA Ames Reserch Center Moffett Field, CA 94035-1000, USA {dimitr, pcorin}@emil.rc.ns.gov

More information

ClearPeaks Customer Care Guide. Business as Usual (BaU) Services Peace of mind for your BI Investment

ClearPeaks Customer Care Guide. Business as Usual (BaU) Services Peace of mind for your BI Investment ClerPeks Customer Cre Guide Business s Usul (BU) Services Pece of mind for your BI Investment ClerPeks Customer Cre Business s Usul Services Tble of Contents 1. Overview...3 Benefits of Choosing ClerPeks

More information

Or more simply put, when adding or subtracting quantities, their uncertainties add.

Or more simply put, when adding or subtracting quantities, their uncertainties add. Propgtion of Uncertint through Mthemticl Opertions Since the untit of interest in n eperiment is rrel otined mesuring tht untit directl, we must understnd how error propgtes when mthemticl opertions re

More information

Section 5.2, Commands for Configuring ISDN Protocols. Section 5.3, Configuring ISDN Signaling. Section 5.4, Configuring ISDN LAPD and Call Control

Section 5.2, Commands for Configuring ISDN Protocols. Section 5.3, Configuring ISDN Signaling. Section 5.4, Configuring ISDN LAPD and Call Control Chpter 5 Configurtion of ISDN Protocols This chpter provides instructions for configuring the ISDN protocols in the SP201 for signling conversion. Use the sections tht reflect the softwre you re configuring.

More information

A.7.1 Trigonometric interpretation of dot product... 324. A.7.2 Geometric interpretation of dot product... 324

A.7.1 Trigonometric interpretation of dot product... 324. A.7.2 Geometric interpretation of dot product... 324 A P P E N D I X A Vectors CONTENTS A.1 Scling vector................................................ 321 A.2 Unit or Direction vectors...................................... 321 A.3 Vector ddition.................................................

More information

g(y(a), y(b)) = o, B a y(a)+b b y(b)=c, Boundary Value Problems Lecture Notes to Accompany

g(y(a), y(b)) = o, B a y(a)+b b y(b)=c, Boundary Value Problems Lecture Notes to Accompany Lecture Notes to Accompny Scientific Computing An Introductory Survey Second Edition by Michel T Heth Boundry Vlue Problems Side conditions prescribing solution or derivtive vlues t specified points required

More information

2 DIODE CLIPPING and CLAMPING CIRCUITS

2 DIODE CLIPPING and CLAMPING CIRCUITS 2 DIODE CLIPPING nd CLAMPING CIRCUITS 2.1 Ojectives Understnding the operting principle of diode clipping circuit Understnding the operting principle of clmping circuit Understnding the wveform chnge of

More information

trademark and symbol guidelines FOR CORPORATE STATIONARY APPLICATIONS reviewed 01.02.2007

trademark and symbol guidelines FOR CORPORATE STATIONARY APPLICATIONS reviewed 01.02.2007 trdemrk nd symbol guidelines trdemrk guidelines The trdemrk Cn be plced in either of the two usul configurtions but horizontl usge is preferble. Wherever possible the trdemrk should be plced on blck bckground.

More information

Use Geometry Expressions to create a more complex locus of points. Find evidence for equivalence using Geometry Expressions.

Use Geometry Expressions to create a more complex locus of points. Find evidence for equivalence using Geometry Expressions. Lerning Objectives Loci nd Conics Lesson 3: The Ellipse Level: Preclculus Time required: 120 minutes In this lesson, students will generlize their knowledge of the circle to the ellipse. The prmetric nd

More information

2005-06 Second Term MAT2060B 1. Supplementary Notes 3 Interchange of Differentiation and Integration

2005-06 Second Term MAT2060B 1. Supplementary Notes 3 Interchange of Differentiation and Integration Source: http://www.mth.cuhk.edu.hk/~mt26/mt26b/notes/notes3.pdf 25-6 Second Term MAT26B 1 Supplementry Notes 3 Interchnge of Differentition nd Integrtion The theme of this course is bout vrious limiting

More information

EQUATIONS OF LINES AND PLANES

EQUATIONS OF LINES AND PLANES EQUATIONS OF LINES AND PLANES MATH 195, SECTION 59 (VIPUL NAIK) Corresponding mteril in the ook: Section 12.5. Wht students should definitely get: Prmetric eqution of line given in point-direction nd twopoint

More information

One Minute To Learn Programming: Finite Automata

One Minute To Learn Programming: Finite Automata Gret Theoreticl Ides In Computer Science Steven Rudich CS 15-251 Spring 2005 Lecture 9 Fe 8 2005 Crnegie Mellon University One Minute To Lern Progrmming: Finite Automt Let me tech you progrmming lnguge

More information

9 CONTINUOUS DISTRIBUTIONS

9 CONTINUOUS DISTRIBUTIONS 9 CONTINUOUS DISTIBUTIONS A rndom vrible whose vlue my fll nywhere in rnge of vlues is continuous rndom vrible nd will be ssocited with some continuous distribution. Continuous distributions re to discrete

More information

Lectures 8 and 9 1 Rectangular waveguides

Lectures 8 and 9 1 Rectangular waveguides 1 Lectures 8 nd 9 1 Rectngulr wveguides y b x z Consider rectngulr wveguide with 0 < x b. There re two types of wves in hollow wveguide with only one conductor; Trnsverse electric wves

More information

Database-Backed Program Analysis for Scalable Error Propagation

Database-Backed Program Analysis for Scalable Error Propagation Dtbse-Bcked Progrm Anlysis for Sclble Error Propgtion Cthrin Weiss cthrin.weiss@gmil.com Cindy Rubio-González University of Cliforni, Dvis crubio@ucdvis.edu Ben Liblit University of Wisconsin Mdison liblit@cs.wisc.edu

More information

flex Regular Expressions and Lexical Scanning Regular Expressions and flex Examples on Alphabet A = {a,b} (Standard) Regular Expressions on Alphabet A

flex Regular Expressions and Lexical Scanning Regular Expressions and flex Examples on Alphabet A = {a,b} (Standard) Regular Expressions on Alphabet A flex Regulr Expressions nd Lexicl Scnning Using flex to Build Scnner flex genertes lexicl scnners: progrms tht discover tokens. Tokens re the smllest meningful units of progrm (or other string). flex is

More information

GFI MilArchiver 6 vs C2C Archive One Policy Mnger GFI Softwre www.gfi.com GFI MilArchiver 6 vs C2C Archive One Policy Mnger GFI MilArchiver 6 C2C Archive One Policy Mnger Who we re Generl fetures Supports

More information

DlNBVRGH + Sickness Absence Monitoring Report. Executive of the Council. Purpose of report

DlNBVRGH + Sickness Absence Monitoring Report. Executive of the Council. Purpose of report DlNBVRGH + + THE CITY OF EDINBURGH COUNCIL Sickness Absence Monitoring Report Executive of the Council 8fh My 4 I.I...3 Purpose of report This report quntifies the mount of working time lost s result of

More information

COMPONENTS: COMBINED LOADING

COMPONENTS: COMBINED LOADING LECTURE COMPONENTS: COMBINED LOADING Third Edition A. J. Clrk School of Engineering Deprtment of Civil nd Environmentl Engineering 24 Chpter 8.4 by Dr. Ibrhim A. Asskkf SPRING 2003 ENES 220 Mechnics of

More information

Novel Methods of Generating Self-Invertible Matrix for Hill Cipher Algorithm

Novel Methods of Generating Self-Invertible Matrix for Hill Cipher Algorithm Bibhudendr chry, Girij Snkr Rth, Srt Kumr Ptr, nd Sroj Kumr Pnigrhy Novel Methods of Generting Self-Invertible Mtrix for Hill Cipher lgorithm Bibhudendr chry Deprtment of Electronics & Communiction Engineering

More information

Value Function Approximation using Multiple Aggregation for Multiattribute Resource Management

Value Function Approximation using Multiple Aggregation for Multiattribute Resource Management Journl of Mchine Lerning Reserch 9 (2008) 2079-2 Submitted 8/08; Published 0/08 Vlue Function Approximtion using Multiple Aggregtion for Multittribute Resource Mngement Abrhm George Wrren B. Powell Deprtment

More information

ASG Techniques of Adaptivity

ASG Techniques of Adaptivity ASG Techniques of Adptivity Hrld Meyer nd Dominik Kuropk nd Peter Tröger Hsso-Plttner-Institute for IT-Systems-Engineering t the University of Potsdm Prof.-Dr.-Helmert-Strsse 2-3, 14482 Potsdm, Germny

More information

P.3 Polynomials and Factoring. P.3 an 1. Polynomial STUDY TIP. Example 1 Writing Polynomials in Standard Form. What you should learn

P.3 Polynomials and Factoring. P.3 an 1. Polynomial STUDY TIP. Example 1 Writing Polynomials in Standard Form. What you should learn 33337_0P03.qp 2/27/06 24 9:3 AM Chpter P Pge 24 Prerequisites P.3 Polynomils nd Fctoring Wht you should lern Polynomils An lgeric epression is collection of vriles nd rel numers. The most common type of

More information

Binary Representation of Numbers Autar Kaw

Binary Representation of Numbers Autar Kaw Binry Representtion of Numbers Autr Kw After reding this chpter, you should be ble to: 1. convert bse- rel number to its binry representtion,. convert binry number to n equivlent bse- number. In everydy

More information

On the Robustness of Most Probable Explanations

On the Robustness of Most Probable Explanations On the Robustness of Most Probble Explntions Hei Chn School of Electricl Engineering nd Computer Science Oregon Stte University Corvllis, OR 97330 chnhe@eecs.oregonstte.edu Adnn Drwiche Computer Science

More information

FUNCTIONS AND EQUATIONS. xεs. The simplest way to represent a set is by listing its members. We use the notation

FUNCTIONS AND EQUATIONS. xεs. The simplest way to represent a set is by listing its members. We use the notation FUNCTIONS AND EQUATIONS. SETS AND SUBSETS.. Definition of set. A set is ny collection of objects which re clled its elements. If x is n element of the set S, we sy tht x belongs to S nd write If y does

More information

5 a LAN 6 a gateway 7 a modem

5 a LAN 6 a gateway 7 a modem STARTER With the help of this digrm, try to descrie the function of these components of typicl network system: 1 file server 2 ridge 3 router 4 ckone 5 LAN 6 gtewy 7 modem Another Novell LAN Router Internet

More information

Orthogonally modeling video structuration and annotation: exploiting the concept of granularity

Orthogonally modeling video structuration and annotation: exploiting the concept of granularity From: I Technicl Report WS-00-08. Compiltion copyright 2000, I (www.i.org). ll rights reserved. Orthogonlly modeling video structurtion nd nnottion: exploiting the concept of grnulrity M. Dums, R. Lozno,M.-C.Fuvet,H.MrtinndP.-C.Scholl

More information

Generating In-Line Monitors For Rabin Automata

Generating In-Line Monitors For Rabin Automata Generting In-Line Monitors For Rin Automt Hugues Chot, Rphel Khoury, nd Ndi Twi Lvl University, Deprtment of Computer Science nd Softwre Engineering, Pvillon Adrien-Pouliot, 1065, venue de l Medecine Queec

More information

Small Business Networking

Small Business Networking Why network is n essentil productivity tool for ny smll business Effective technology is essentil for smll businesses looking to increse the productivity of their people nd business. Introducing technology

More information

Small Business Networking

Small Business Networking Why network is n essentil productivity tool for ny smll business Effective technology is essentil for smll businesses looking to increse the productivity of their people nd processes. Introducing technology

More information

SyGEMe: Integrated Municipal Facilities Management of Water Ressources Swiss Geoscience Meeting, Neuchâtel, 21 novembre 2009 k

SyGEMe: Integrated Municipal Facilities Management of Water Ressources Swiss Geoscience Meeting, Neuchâtel, 21 novembre 2009 k SyGEMe: Integrted Municipl Fcilities Mngement of Wter Ressources Tool presenttion, choice of technology, mn-mchine mchine interfce, business opportunities nd prospects 1. Introduction 2. Mn-mchine interfce

More information

Understanding Basic Analog Ideal Op Amps

Understanding Basic Analog Ideal Op Amps Appliction Report SLAA068A - April 2000 Understnding Bsic Anlog Idel Op Amps Ron Mncini Mixed Signl Products ABSTRACT This ppliction report develops the equtions for the idel opertionl mplifier (op mp).

More information

Unambiguous Recognizable Two-dimensional Languages

Unambiguous Recognizable Two-dimensional Languages Unmbiguous Recognizble Two-dimensionl Lnguges Mrcell Anselmo, Dor Gimmrresi, Mri Mdoni, Antonio Restivo (Univ. of Slerno, Univ. Rom Tor Vergt, Univ. of Ctni, Univ. of Plermo) W2DL, My 26 REC fmily I REC

More information

Chapter 6. Logic and Action. 6.1 Actions in General

Chapter 6. Logic and Action. 6.1 Actions in General Chpter 6 Logic nd Action Overview An ction is something tht tkes plce in the world, nd tht mkes difference to wht the world looks like. Thus, ctions re mps from sttes of the world to new sttes of the world.

More information

ORBITAL MANEUVERS USING LOW-THRUST

ORBITAL MANEUVERS USING LOW-THRUST Proceedings of the 8th WSEAS Interntionl Conference on SIGNAL PROCESSING, ROBOICS nd AUOMAION ORBIAL MANEUVERS USING LOW-HRUS VIVIAN MARINS GOMES, ANONIO F. B. A. PRADO, HÉLIO KOII KUGA Ntionl Institute

More information

Learning Workflow Petri Nets

Learning Workflow Petri Nets Lerning Workflow Petri Nets Jvier Esprz, Mrtin Leucker, nd Mximilin Schlund Technische Universität München, Boltzmnnstr. 3, 85748 Grching, Germny {esprz,leucker,schlund}@in.tum.de Abstrct. Workflow mining

More information

Online Multicommodity Routing with Time Windows

Online Multicommodity Routing with Time Windows Konrd-Zuse-Zentrum für Informtionstechnik Berlin Tkustrße 7 D-14195 Berlin-Dhlem Germny TOBIAS HARKS 1 STEFAN HEINZ MARC E. PFETSCH TJARK VREDEVELD 2 Online Multicommodity Routing with Time Windows 1 Institute

More information

Small Business Networking

Small Business Networking Why network is n essentil productivity tool for ny smll business Effective technology is essentil for smll businesses looking to increse the productivity of their people nd business. Introducing technology

More information

CHAPTER 11 Numerical Differentiation and Integration

CHAPTER 11 Numerical Differentiation and Integration CHAPTER 11 Numericl Differentition nd Integrtion Differentition nd integrtion re bsic mthemticl opertions with wide rnge of pplictions in mny res of science. It is therefore importnt to hve good methods

More information

www.mathsbox.org.uk e.g. f(x) = x domain x 0 (cannot find the square root of negative values)

www.mathsbox.org.uk e.g. f(x) = x domain x 0 (cannot find the square root of negative values) www.mthsbo.org.uk CORE SUMMARY NOTES Functions A function is rule which genertes ectl ONE OUTPUT for EVERY INPUT. To be defined full the function hs RULE tells ou how to clculte the output from the input

More information

Automated Grading of DFA Constructions

Automated Grading of DFA Constructions Automted Grding of DFA Constructions Rjeev Alur nd Loris D Antoni Sumit Gulwni Dileep Kini nd Mhesh Viswnthn Deprtment of Computer Science Microsoft Reserch Deprtment of Computer Science University of

More information