Ternary Directed Acyclic Word Graphs

Size: px
Start display at page:

Download "Ternary Directed Acyclic Word Graphs"

Transcription

1 Ternry Direted Ayli Wrd Grphs Stru Miymt, Shunsuke Ineng,, Msyuki Tked,, nd Ayumi Shinhr, Deprtment f Infrmtis, Kyushu University 33, Fukuk , Jpn PRESTO, Jpn Siene nd Tehnlgy Crprtin (JST) E-mil: {s-miy, s-ine, tked, yumi}@i.kyushu-u..jp Abstrt. Given set S f strings, DFA epting S ffers very time-effiient slutin t the pttern mthing prblem ver S. The key is hw t implement suh DFA in the trde-ff between time nd spe, nd espeilly the hie f hw t implement the trnsitins f eh stte is ritil. Bentley nd Sedgewik prpsed n effetive tree struture lled ternry trees. The ide f ternry trees is t implnt the press f binry serh fr trnsitins int the struture f the trees themselves. This wy the press f binry serh bemes visible, nd the implementtin f the trees bemes quite esy. The direted yli wrd grph (DAWG) f string w is the smllest DFA tht epts ll suffixes f w, nd requires nly liner spe. We pply the sheme f ternry trees t DAWGs, intrduing new dt struture nmed ternry DAWGs (TDAWGs). We perfrm sme experiments tht shw the effiieny f TDAWGs, mpred t DAWGs in whih trnsitins re implemented by tbles nd linked lists. 1 Intrdutin Due t rpid dvne in infrmtin tehnlgy nd glbl grwth f mputer netwrks, we n utilize lrge munt f dt tdy. In mst ses, dt re stred nd mnipulted s strings. Therefre the develpment f effiient dt strutures fr serhing strings hs fr dedes been prtiulrly tive reserh re in mputer siene. Given set S f strings, we wnt sme effiient dt struture tht enbles us t serh S very quikly. Obviusly DFA tht epts S is the ne. The prblem rising in implementing suh n utmtn is hw t stre the infrmtin f the trnsitins in eh stte. The mst bsi ide is t use tbles, with whih serhing S fr given pttern p is fesible in O( p ) time, where p dentes the length f p. Hwever, the signifint drwbk is tht the size f the tbles is prprtinl t the size f the lphbet Σ used. In prtiulr, it is ruil when the size f Σ is thusnds lrge like in Asin lnguges suh s Jpnese, Kren, Chinese, nd s n. Using linked lists is ne pprent mens f espe frm this wste f memry spe by tbles. Althugh this surely redues spe requirement, serhing fr pttern p tkes O( Σ p ) time in bth wrst nd verge ses. It is esy t imgine tht this shuld be serius disdvntge when serhing texts f lrge lphbet.

2 Bentley nd Sedgewik [3] intrdued n effetive tree struture lled ternry serh trees (t be simply lled ternry trees in this pper), fr string set f strings. The ide f ternry trees is t implnt the press f binry serh fr trnsitins int the struture f the trees themselves. This wy the press f binry serh bemes visible, nd the implementtin f the trees bemes quite esy sine eh nd every stte f ternry trees hs t mst three trnsitins. Bentley nd Sedgewik gve n lgrithm tht, fr ny set S f strings, nstruts its ternry tree in O( Σ S ) time with O( S ) spe, where S dentes the ttl length f the strings in S. They ls shwed severl nie pplitins f ternry trees [2]. We in this pper nsider the mst fundmentl pttern mthing prblem n strings, the substring pttern mthing prblem, whih is desribed s fllws: Given text string w nd pttern string p, exmine whether r nt p is substring f w. Clerly, DFA tht regnizes the set f ll suffixes f w permits us t slve this prblem very quikly. The smllest DFA f this kind ws intrdued by Blumer et l. [4], lled the direted yli wrd grph (DAWG) f string w, tht nly requires O( w ) spe. In this pper, we pply the sheme f ternry trees t DAWGs, yielding new dt struture lled ternry DAWGs (TDAWGs). By the use f TDAWG f w, serhing text w fr ptten p tkes O( Σ p ) time in the wrst se, but the time mplexity fr the verge se is O(lg Σ p ), whih is n dvntge ver DAWGs implemented with linked lists tht require O( Σ p ) expeted time. Therefre, the key is hw t nstrut TDAWGs quikly. Nte tht the set f ll suffixes f string w is f size qudrti in w. Nmely, simply pplying the lgrithm by Bentley nd Sedgewik [3] merely llws us t nstrut TDAWG f w in O( Σ w 2 ) time. Hwever, using mdifitin f the n-line lgrithm f Blumer et l. [4], plesingly, the TDAWG f w n be nstruted in O( Σ w ) time. We ls perfrmed sme mputtinl experiments t evlute the effiieny f TDAWGs, using English texts, by the mprisn with DAWGs implemented by tbles nd linked lists. The mst interesting result is tht the nstrutin time f TDAWGs is drmtilly fster thn thse f DAWGs with tbles nd linked lists. Plus, it is evluted tht serh time by TDAWGs is ls fster thn tht by DAWGs with linked lists. 2 Direted Ayli Wrd Grphs Let Σ be finite lphbet. An element f Σ is lled string. Strings x, y, nd z re sid t be prefix, substring, nd suffix f string w = xyz, respetively. The sets f prefixes, substrings, nd suffixes f string w re dented by Prefix(w), Substr(w), nd Suffix(w), respetively. The length f string w is dented by w. The empty string is dented by ε, tht is, ε = 0. Let Σ + = Σ {ε}. Let S Σ. The number f strings in S is dented by S, nd the sum f the lengths f strings in S by S. The fllwing prblem is the mst fundmentl nd imprtnt in string pressing.

3 Fig. 1. STrie() is shwn n the left, where ll the sttes re epting. By minimizing this utmtn we btin DAWG(), n the right. Definitin 1 (Substring Pttern Mthing Prblem). Instne: text string w Σ nd pttern string p Σ. Determine: whether p is substring f w. It is ler tht this prblem is slvble in time prprtinl t the length f p, by using n utmtn tht epts Substr(w). The mst bsi utmtn f this kind is the suffix trie. The suffix trie f string w Σ is dented by STrie(w). Wht is btined by minimizing STrie(w) is lled the direted yli wrd grph (DAWG)fw [9], dented by DAWG(w). In Fig. 1 we shw STrie(w) nd DAWG(w) with w =. The initil stte f DAWG(w) is ls lled the sure stte, nd the stte epting w is lled the sink stte f DAWG(w). Eh stte f DAWG(w) ther thn the sure stte hs suffix link. Assume x 1,...,x k re the substrings f w epted in ne stte f DAWG(w), rrnged in the deresing rder f their lengths. Let y = x k, where y Σ nd Σ. Then the suffix link f the stte epting x 1,...,x k pints t the stte in whih y is epted. DAWGs were first intrdued by Blumer et l. [4], nd hve widely been used fr slving the substring pttern mthing prblem, nd in vrius pplitins [7, 8, 15]. Therem 1 (Crhemre [6]). Fr ny string w Σ,DAWG(w) is the smllest (prtil) DFA tht regnizes Suffix(w). Therem 2 (Blumer et l. [4]). Fr ny string w Σ with w > 1, DAWG(w) hs t mst 2 w 1 sttes nd 3 w 3 trnsitins. It is trivil ft tht DAWG(w) n be nstruted in time prprtinl t the number f trnsitins in STrie(w) by the DAG-minimiztin lgrithm by Revuz [13]. Hwever, the number f trnsitins f STrie(w) is unfrtuntely qudrti in w. The diret nstrutin f DAWG(w) in liner time is therefre signifint, in rder t vid reting redundnt sttes nd trnsitins tht re

4 ε Fig. 2. The n-line nstrutin f DAWG(w) with w =. The slid rrws re the trnsitins, nd the dshed rrws re the suffix links. Nte tht the stte pinted by the suffix link f the sink stte will be the tive stte f the next phse. In the press f updting DAWG() t DAWG(), the stte epting {, } is seprted int tw sttes fr {} nd {}. deleted in the press f minimizing STrie(w). Blumer et l. [4] indeed presented n lgrithm tht diretly nstruts DAWG(w) nd runs in liner time if Σ is fixed, by mens f suffix links. Their lgrithm is n-line, nmely, fr ny w Σ nd Σ it llws us t updte DAWG(w) tdawg(w) in mrtized nstnt time, mening tht we need nt nstrut DAWG(w) frm srth. We here briefly rell the n-line lgrithm by Blumer et l. It updtes DAWG(w) t DAWG(w) by inserting suffixes f w int DAWG(w) in deresing rder f their lengths. Let z be the lngest string in Substr(w) Suffix(w). Then z is lled the lngest repeted suffix f w nd dented by LRS (w). Let z = LRS (w). Let w = l nd u 1,u 2,...,u l,u l+1 be the suffixes f w rdered in their lengths, tht is, u 1 = w nd u l+1 = ε. We tegrize these suffixes f w int the fllwing three grups.

5 (Grup 1) u 1,...,u i 1 (Grup 2) u i,...,u j 1 where u i = z (Grup 3) u j,...,u l+1 where u j = z Nte ll suffixes in Grup 3 re lredy represented in DAWG(w). We n insert ll the suffixes f Grup 1 int DAWG(w) by reting new trnsitin lbeled by frm the urrent sink stte t the new sink stte. It bviusly tkes nly nstnt time. Therefre, we hve nly t re but thse in Grup 2. Let v i,...,v j 1 be the suffixes f w suh tht, fr ny i k j 1, v k = u k.we strt frm the stte rrespnding t LRS(w) =z = v i in DAWG(w), whih is lled the tive stte f the urrent phse. A new trnsitin lbeled by is inserted frm the tive stte t the new sink stte. The stte t be the next tive stte is fund simply by trversing the suffix link f the stte fr v i,in nstnt time, nd new trnsitin lbeled by is reted frm the new tive stte t the sink stte. After we insert ll the suffixes f Grup 2 this wy, the utmtn represents ll the suffixes f w. We nw py ttentin t LRS (w) =z = u j. Let x be the lngest string in the stte where u j is epted. We then hve t hek whether x = u j r nt. If nt, the stte is seprted int tw sttes, where ne epts the lnger strings thn u j, nd the ther epts the rest. Assiting eh stte with the length f the lngest string epted in it, we n del with this stte seprtin in nstnt time. The n-line nstrutin f DAWG() is shwn in Fig Ternry Direted Ayli Wrd Grphs Bentley nd Sedgewik [3, 2] intrdued new dt struture lled ternry trees, whih re quite useful fr string set f strings, frm bth viewpints f spe effiieny nd serh speed. The ide f ternry trees is t implnt the press f binry serh fr linked lists int the trees themselves. This wy the press f binry serh bemes visible, nd the implementtin f the trees bemes quite esy sine eh nd every stte f ternry trees hs t mst three trnsitins. The left figure in Fig. 3 is ternry tree fr Suffix(w) with w =. We n see tht this rrespnds t STrie(w) in Fig. 1, nd therefre, the tree is lled ternry suffix trie (TSTrie) f string. Fr substring x f string w Σ, we nsider set ChrSet w (x) ={ Σ x Substr(w)} f hrters. In STrie(w), eh hrter f ChrSet w (x) is ssited with trnsitin frm stte x (see STrie() in Fig. 1). Hwever, in TSTrie f w, eh hrter in ChrSet w (x) rrespnds t stte. This mens tht we n regrd ChrSet w (x) s set f the sttes tht immeditely fllws string x in the TSTrie f w, where elements f ChrSet w (x) re rrnged in lexigrphil rder, tp-dwn. There re mny vritins f the rrngement f elements in ChrSet w (x), but we rrnge them in inresing rder f their leftmst urrenes in w, tp-dwn. Thus the rrngement f the sttes

6 Fig. 3. TSTrie(w) is n the left, nd TDAWG(w) n the right, with w =. is uniquely determined, nd the resulting struture is lled the TSTrie f w, dented by TSTrie(w). The stte rrespnding t the hrter in ChrSet w (x) with the erliest urrene, is lled the tp stte with respet t ChrSet w (x), sine it is rrnged n the tp f the sttes fr hrters in ChrSet w (x). Given pttern p, t ny nde f TSTrie(w) we exmine if the hrter in p we urrently fus n is lexigrphilly lrger thn the hrter b stred in the stte. If <b, then we tke the left trnsitin frm the stte nd mpre t the hrter in the next stte. If >b, then we tke the right trnsitin frm the stte nd mpre t the hrter in the next stte. If = b, then we tke the enter trnsitin frm the stte, nw the hrter is regnized, nd we mpre the next hrter in p t the hrter in the next stte. We give nrete exmple f serhing fr pttern using TSTrie() in Fig. 3. We strt frm the initil stte f the tree nd hve >, nd thus g dwn t the next stte vi the right trnsitin. At the next stte we hve =, nd thus we tke the enter trnsitin frm the stte nd rrive t the next stte, with the hrter regnized. We then mpre the next hrter in the pttern with in the stte where we re. Nw we hve <, we g dwn lng the left trnsitin f the stte nd rrive t the next stte, where we hve =. Then we tke the enter trnsitin nd rrive t the next stte, where finlly is epted. This wy, fr ny pttern p Σ we n slve the substring pttern mthing prblem f Definitin 1 in O(lg Σ p ) expeted time. We nw nsider t pply the bve sheme t DAWG(w). Wht is btined here is the ternry DAWG (TDAWG) f w, dented by TDAWG(w). The right figure in Fig. 3 is TDAWG(). Cmpre it t DAWG() in Fig. 1 nd TSTrie() in Fig. 3. It is quite bvius tht using TDAWG(w) we n exmine if p Substr(w) in O(lg Σ p ) expeted time, s well. Resnbly, TDAWG(w) n be nstruted by the n-line lgrithm f Blumer et l. [4] tht ws relled in Setin 2. In TDAWG(w) nly tp sttes hve suffix links, nd n be direted by suffix links f ther sttes. The n-line nstrutin f TDAWG() is shwn in Fig. 4.

7 ε Fig. 4. The n-line nstrutin f TDAWG(w) with w =. The dshed rrws re the suffix links. Ntie nly tp sttes hve suffix links, nd re pinted by suffix links f ther tp sttes. In the press f updting TDAWG() t TDAWG(), the stte epting {, } is seprted int tw sttes fr {} nd {}, s well s the se f DAWGs shwn in Fig 2. Therem 3. Fr ny string w Σ,TDAWG(w) n be nstruted n-line, in O( Σ w ) time using O( w ) spe. 4 Experiments In this setin we shw sme experimentl results tht revel the dvntge f ur TDAWGs, mpred t DAWGs with tbles (tble DAWGs) nd DAWGs with linked lists (list DAWGs). The tbles were implemented by rrys f length 256. The linked lists were linerly serhed t ny stte f the list DAWGs. All the three lgrithms t nstrut TDAWGs, tble DAWGs nd list DAWGs were implemented in the C lnguge. All lultins were perfrmed n Lptp PC with PentiumIII-650MHz CPU nd 256MB min memry running VineLinux2.6r2. We used the English text hsumed.91 vilble t http: //tre.nist.gv/dt.html.

8 [Mbyte] 30 [se] 200 tble_dawg Memry spe TDAWG list_dawg Time 100 list_dawg TDAWG Text length [Kbyte] Text length [Kbyte] Spe requirements f TDAWG nd list_dawg Cnstrutin times f TDAWG, list_dawg nd tble_dawg [µse] 0.6 list_dawg 0.4 TDAWG Time 0.2 tble_dawg Pttern length Serh times f TDAWG, list_dawg nd tble_dawg Fig. 5. The upper left hrt is the memry requirements (in Mbytes) f TDAWGs nd list DAWGs. The upper right hrt is the nstrutin times (in sends) f TDAWGs, list DAWGs nd tble DAWGs. The lwer hrt is the serhing time (in mir sends) f TDAWGs, list DAWGs nd tble DAWGs. The upper left hrt f Fig. 5 shws memry requirements fr TDAWGs nd list DAWGs, where memry spes fr bth grw linerly, s expeted. One n see tht TDAWGs require but 20% mre memry thn list DAWGs. The memry requirement f tble DAWGs is nt shwn sine it is t muh fr the sle f the hrt. The tble DAWG fr the text f size 64KB required 98.82MB f memry spe, nd tht fr the text f size 128KB needed MB. Thus tble DAWGs re rther unusble in relity. The send test ws the nstrutin times fr TDAWGs, tble TDAWGs, nd list DAWGs, shwn upper right f Fig. 5. One n see tht the TDAWGs were nstruted but twie fster thn the list DAWGs. This seems the effet f binry serh in the TDAWGs, while the linked lists were linerly serhed in the list DAWGs. As fr the tble DAWGs, thugh serhing the trnsitin n

9 be dne in nstnt time, the memry lltin fr the tbles seemed t tke t muh time. The third test ws serhing times fr ptterns f different lengths. We rndmly hse 100 substrings f the text fr eh length, nd serhed fr every f them 1 millin times. The result shwn in the lwer hrt in Fig. 5 is the verge time f serhing fr pttern ne. Remrk tht the TDAWGs re fster thn list DAWGs, even fr lnger ptterns. 5 Cnlusins nd Further Wrk In this pper we intrdued new dt struture lled ternry direted yli wrd grphs (TDAWGs). The press f binry serh fr the trnsitins is implnted in eh stte f TDAWGs. Fr ny string w Σ, TDAWG(w) n be nstruted in O( Σ w ) time using O( w ) spe, in n-line fshin. Our experiments shwed tht TDAWGs n be nstruted muh fster thn bth DAWGs with tbles nd DAWGs with linked lists, fr English texts. Mrever, serhing time f TDAWGs is ls better thn tht f DAWGs with linked lists. Thinking ver the ft tht TDAWGs re better in speed thn the tw ther types f DAWGs thugh the lphbet size f the English text is nly 256, TDAWGs shuld be lt mre effetive when pplied t texts f lrge lphbet suh s Jpnese, Kren, Chinese, nd s n. We emphsize tht the benefit f the ternry-bsed implementtin is nt limited t DAWGs. Nmely, it n be pplied t ny utmt-riented index struture suh s suffix trees [16, 12, 14, 10] nd mpt direted yli wrd grphs (CDAWGs) [5, 9, 11]. Therefre, we n ls nsider ternry suffix trees nd ternry CDAWGs. Cnerning the experimentl results n TDAWGs, ternry suffix trees nd ternry CDAWGs re prmising t perfrm very well in prtie. As previusly mentined, the serh time fr pttern p using DAWGs with linked lists is O( Σ p ) in the wrst se, but there is wy t imprve it t O(lg Σ p ) time with dditinl effrt fr perfrming binry serh. Hwever, it is nt prtil sine the dditinl wrk nsumes nsiderble munt f time, nd is nt implementtin-friendly. Further, it des nt llw us t updte the input text sting sine it is just n ff-line lgrithm. Hwever, s fr TDAWGs, we n pply the tehnique f AVL trees [1] fr blning the sttes f TDAWGs. In this sheme, the sttes fr ChrSet w (x) fr ny substring x re AVL-blned, nd thus the time t serh fr pttern p is O(lg Σ p ) even in the wrst se. The differene frm DAWGs with linked lists is tht we n nstrut AVL-blned TDAWGs in n-line mnner, diretly, nd n updte the input text string esily. Mrever, the nstrutin lgrithm runs in O(lg Σ w ) time unlike the se f linked lists requiring O( Σ w ) time. Therefre, TDAWGs re mre prtil nd flexible fr gurnteeing O(lg Σ p )-time serh in the wrst se. Mrever, there is vritin f TDAWGs tht is mre spe-enmil. Nte tht Fig. 3 f Setin 3 n be minimized by the lgrithm f Revuz [13], nd the resulting struture is shwn in Fig. 6, whih is lled the minimum

10 Fig. 6. The MTDAWG f string. TDAWG (MTDAWG) f the string. T use Revuz s lgrithm we hve t mintin the reversed trnsitin fr every trnsitin, nd it fr sure requires t muh spe. Thus we re nw interested in n n-line lgrithm t nstrut MTDAWGs diretly, but it is still inmplete. We expet tht serhing fr pttern strings using MTDAWGs will be fster thn using TDAWGs, sine memry lltin fr MTDAWGs is likely t be mre quik. Referenes 1. G. M. Andelsn-Velskii nd E. M. Lndis. An lgrithm fr the rgnistin f infrmtin. Sviet. Mth., 3: , J. Bentley nd B. Sedgewik. Ternry serh trees. Dr. Dbb s Jurnl, J. Bentley nd R. Sedgewik. Fst lgrithms fr srting nd serhing strings. In Pr. 8th Annul ACM-SIAM Sympsium n Disrete Algrithms (SODA 97), pges ACM/SIAM, A. Blumer, J. Blumer, D. Hussler, A. Ehrenfeuht, M. T. Chen, nd J. Seifers. The smllest utmtn regnizing the subwrds f text. Theretil Cmputer Siene, 40:31 55, A. Blumer, J. Blumer, D. Hussler, R. MCnnell, nd A. Ehrenfeuht. Cmplete inverted files fr effiient text retrievl nd nlysis. J. ACM, 34(3): , M. Crhemre. Trnsduers nd repetitins. Theretil Cmputer Siene, 45:63 86, M. Crhemre nd W. Rytter. Text Algrithms. Oxfrd University Press, New Yrk, M. Crhemre nd W. Rytter. Jewels f Stringlgy. Wrld Sientifi, M. Crhemre nd R. Vérin. On mpt direted yli wrd grphs. In Strutures in Lgi nd Cmputer Siene, vlume 1261 f LNCS, pges Springer-Verlg, D. Gusfield. Algrithms n Strings, Trees, nd Sequenes. Cmbridge University Press, New Yrk, 1997.

11 11. S. Ineng, H. Hshin, A. Shinhr, M. Tked, S. Arikw, G. Muri, nd G. Pvesi. On-line nstrutin f mpt direted yli wrd grphs. In A. Amir nd G. M. Lndu, editrs, Pr. 12th Annul Sympsium n Cmbintril Pttern Mthing (CPM 01), vlume 2089 f LNCS, pges Springer-Verlg, E. M. MCreight. A spe-enmil suffix tree nstrutin lgrithm. J. ACM, 23(2): , D. Revuz. Minimiztin f yli deterministi utmt in liner time. Theretil Cmputer Siene, 92(1): , E. Ukknen. On-line nstrutin f suffix trees. Algrithmi, 14(3): , E. Ukknen nd D. Wd. Apprximte string mthing with suffix utmt. Algrithmi, 10(5): , P. Weiner. Liner pttern mthing lgrithms. In Pr. 14th Annul Sympsium n Swithing nd Autmt Thery, pges 1 11, 1973.

On-Line Construction. of Suffix Trees. Overview. Suffix Trees. Notations. goo. Suffix tries

On-Line Construction. of Suffix Trees. Overview. Suffix Trees. Notations. goo. Suffix tries On-Line Cnstrutin Overview Suffix tries f Suffix Trees E. Ukknen On-line nstrutin f suffix tries in qudrti time Suffix trees On-line nstrutin f suffix trees in liner time Applitins 1 2 Suffix Trees A suffix

More information

MAT 1275: Introduction to Mathematical Analysis

MAT 1275: Introduction to Mathematical Analysis MAT 75: Intrdutin t Mthemtil Anlysis Dr. A. Rzenlyum Trignmetri Funtins fr Aute Angles Definitin f six trignmetri funtins Cnsider the fllwing girffe prlem: A girffe s shdw is 8 meters. Hw tll is the girffe

More information

MAT 1275: Introduction to Mathematical Analysis

MAT 1275: Introduction to Mathematical Analysis 1 MT 1275: Intrdutin t Mtemtil nlysis Dr Rzenlyum Slving Olique Tringles Lw f Sines Olique tringles tringles tt re nt neessry rigt tringles We re ging t slve tem It mens t find its si elements sides nd

More information

Global alignment. Genome Rearrangements Finding preserved genes. Lecture 18

Global alignment. Genome Rearrangements Finding preserved genes. Lecture 18 Computt onl Biology Leture 18 Genome Rerrngements Finding preserved genes We hve seen before how to rerrnge genome to obtin nother one bsed on: Reversls Knowledge of preserved bloks (or genes) Now we re

More information

Greedy Algorithms. Kye Halsted. Edited by Chuck Cusack. These notes are based on chapter 17 of [1] and lectures from CSCE423/823, Spring 2001.

Greedy Algorithms. Kye Halsted. Edited by Chuck Cusack. These notes are based on chapter 17 of [1] and lectures from CSCE423/823, Spring 2001. #! Greedy Algrithms Kye Halsted Edited by Chuk Cusak These ntes are based n hapter 17 f [1] and letures frm CCE423/823, pring 2001. Greedy algrithms slve prblems by making the hie that seems best at the

More information

11.2. Infinite Series

11.2. Infinite Series .2 Infinite Series 76.2 Infinite Series An infinite series is the sum f n infinite seuence f numbers + 2 + 3 + Á + n + Á The gl f this sectin is t understnd the mening f such n infinite sum nd t develp

More information

SMARANDACHE GROUPOIDS

SMARANDACHE GROUPOIDS SMARANDACHE GROUPOIDS W. B. Vsnth Kndsmy Deprtment f Mthemtics Indin Institute f Technlgy Mdrs Chenni - 6 6 Indi. E-mil: vsntk@md.vsnl.net.in Astrct: In this pper we study the cncept f Smrndche Grupids

More information

CS 573 Automata Theory and Formal Languages

CS 573 Automata Theory and Formal Languages Non-determinism Automt Theory nd Forml Lnguges Professor Leslie Lnder Leture # 3 Septemer 6, 2 To hieve our gol, we need the onept of Non-deterministi Finite Automton with -moves (NFA) An NFA is tuple

More information

Statistical modeling with stochastic processes. Alexandre Bouchard-Côté Lecture 11, Monday April 4

Statistical modeling with stochastic processes. Alexandre Bouchard-Côté Lecture 11, Monday April 4 Sttistil mdeling with sthsti presses Alexndre Buhrd-Côté Leture 11, Mndy April 4 1 Prgrm fr tdy Bet, Pissn nd Gmm presses DDP nd sequene memizer 2 Pitmn-Yr press Pitmn-Yr press: Strt with the CRP, nd bst

More information

NON-DETERMINISTIC FSA

NON-DETERMINISTIC FSA Tw o types of non-determinism: NON-DETERMINISTIC FS () Multiple strt-sttes; strt-sttes S Q. The lnguge L(M) ={x:x tkes M from some strt-stte to some finl-stte nd ll of x is proessed}. The string x = is

More information

On-Line Construction of Compact Directed Acyclic Word Graphs

On-Line Construction of Compact Directed Acyclic Word Graphs On-Line Constrution of Compt Direte Ayli Wor Grphs Shunsuke neng, Hiroms Hoshino, Ayumi Shinohr, Msyuki Tke,SetsuoArikw, Ginrlo Muri 2, n Giulio Pvesi 2 Dept. of nformtis, Kyushu University, Jpn {s-ine,hoshino,yumi,tke,rikw}@i.kyushu-u..jp

More information

Synchronization of regular automata

Synchronization of regular automata Synhrniztin f regulr utmt Didier Cul IM CNRS Université Pris-Est ul@univ-mlv.fr strt. Funtinl grph grmmrs re finite devies whih generte the lss f regulr utmt. We rell the ntin f synhrniztin y grmmrs, nd

More information

CS311 Computational Structures Regular Languages and Regular Grammars. Lecture 6

CS311 Computational Structures Regular Languages and Regular Grammars. Lecture 6 CS311 Computtionl Strutures Regulr Lnguges nd Regulr Grmmrs Leture 6 1 Wht we know so fr: RLs re losed under produt, union nd * Every RL n e written s RE, nd every RE represents RL Every RL n e reognized

More information

The Laws of Sines and Cosines

The Laws of Sines and Cosines The Lws f Sines nd sines I The Lw f Sines We hve redy seen tht with the ute nge hs re: re sin In se is tuse, then we hve re h where sin 80 h 0 h sin 80 S re Thus, the frmu: 0 h sin y the Suppementry nge

More information

Prefix-Free Regular-Expression Matching

Prefix-Free Regular-Expression Matching Prefix-Free Regulr-Expression Mthing Yo-Su Hn, Yjun Wng nd Derik Wood Deprtment of Computer Siene HKUST Prefix-Free Regulr-Expression Mthing p.1/15 Pttern Mthing Given pttern P nd text T, find ll sustrings

More information

Chapter 4 State-Space Planning

Chapter 4 State-Space Planning Leture slides for Automted Plnning: Theory nd Prtie Chpter 4 Stte-Spe Plnning Dn S. Nu CMSC 722, AI Plnning University of Mrylnd, Spring 2008 1 Motivtion Nerly ll plnning proedures re serh proedures Different

More information

22: Union Find. CS 473u - Algorithms - Spring April 14, We want to maintain a collection of sets, under the operations of:

22: Union Find. CS 473u - Algorithms - Spring April 14, We want to maintain a collection of sets, under the operations of: 22: Union Fin CS 473u - Algorithms - Spring 2005 April 14, 2005 1 Union-Fin We wnt to mintin olletion of sets, uner the opertions of: 1. MkeSet(x) - rete set tht ontins the single element x. 2. Fin(x)

More information

OVERVIEW Using Similarity and Proving Triangle Theorems G.SRT.4

OVERVIEW Using Similarity and Proving Triangle Theorems G.SRT.4 OVRVIW Using Similrity nd Prving Tringle Therems G.SRT.4 G.SRT.4 Prve therems ut tringles. Therems include: line prllel t ne side f tringle divides the ther tw prprtinlly, nd cnversely; the Pythgren Therem

More information

Nondeterministic Automata vs Deterministic Automata

Nondeterministic Automata vs Deterministic Automata Nondeterministi Automt vs Deterministi Automt We lerned tht NFA is onvenient model for showing the reltionships mong regulr grmmrs, FA, nd regulr expressions, nd designing them. However, we know tht n

More information

Finite State Automata and Determinisation

Finite State Automata and Determinisation Finite Stte Automt nd Deterministion Tim Dworn Jnury, 2016 Lnguges fs nf re df Deterministion 2 Outline 1 Lnguges 2 Finite Stte Automt (fs) 3 Non-deterministi Finite Stte Automt (nf) 4 Regulr Expressions

More information

Suffix Trees. Philip Bille

Suffix Trees. Philip Bille Suffix Trees Philip Bille Outline String ictinr prlem Tries Suffix trees Applictins f suffix trees Cnstructing suffix trees Suffix srting String Dictinries String Dictinr Prlem The string ictinr prlem:

More information

7. SOLVING OBLIQUE TRIANGLES: THE LAW OF SINES

7. SOLVING OBLIQUE TRIANGLES: THE LAW OF SINES 7 SOLVING OLIQUE TRINGLES: THE LW OF SINES n ique tringe is ne withut n nge f mesure 90 When either tw nges nd side re knwn (S) in the tringe r tw sides nd the nge ppsite ne f them (SS) is given, then

More information

Introduction to Olympiad Inequalities

Introduction to Olympiad Inequalities Introdution to Olympid Inequlities Edutionl Studies Progrm HSSP Msshusetts Institute of Tehnology Snj Simonovikj Spring 207 Contents Wrm up nd Am-Gm inequlity 2. Elementry inequlities......................

More information

Automata and Languages

Automata and Languages Automt nd Lnguges Prof. Mohmed Hmd Softwre Engineering Lb. The University of Aizu Jpn Grmmr Regulr Grmmr Context-free Grmmr Context-sensitive Grmmr Regulr Lnguges Context Free Lnguges Context Sensitive

More information

Compression of Palindromes and Regularity.

Compression of Palindromes and Regularity. Compression of Plinromes n Regulrity. Kyoko Shikishim-Tsuji Center for Lierl Arts Eution n Reserh Tenri University 1 Introution In [1], property of likstrem t t view of tse is isusse n it is shown tht

More information

Ternary Directed Acyclic Word Graphs

Ternary Directed Acyclic Word Graphs Trnry Dirtd Ayli Wrd Grphs Stru Miymt Shunsuk Inng Msyuki Tkd, Ayumi Shinhr, Dprtmnt Inrmtis, Kyushu Univrsity 33, Fukuk 812-8581, Jpn Dprtmnt Cmputr Sin, P.O.Bx 26 (Tllisuusktu 23), FIN-00014 Univrsity

More information

Anatomy of a Deterministic Finite Automaton. Deterministic Finite Automata. A machine so simple that you can understand it in less than one minute

Anatomy of a Deterministic Finite Automaton. Deterministic Finite Automata. A machine so simple that you can understand it in less than one minute Victor Admchik Dnny Sletor Gret Theoreticl Ides In Computer Science CS 5-25 Spring 2 Lecture 2 Mr 3, 2 Crnegie Mellon University Deterministic Finite Automt Finite Automt A mchine so simple tht you cn

More information

CS 477/677 Analysis of Algorithms Fall 2007 Dr. George Bebis Course Project Due Date: 11/29/2007

CS 477/677 Analysis of Algorithms Fall 2007 Dr. George Bebis Course Project Due Date: 11/29/2007 CS 477/677 Analysis f Algrithms Fall 2007 Dr. Gerge Bebis Curse Prject Due Date: 11/29/2007 Part1: Cmparisn f Srting Algrithms (70% f the prject grade) The bjective f the first part f the assignment is

More information

READING STATECHART DIAGRAMS

READING STATECHART DIAGRAMS READING STATECHART DIAGRAMS Figure 4.48 A Statechart diagram with events The diagram in Figure 4.48 shws all states that the bject plane can be in during the curse f its life. Furthermre, it shws the pssible

More information

Algorithm Design and Analysis

Algorithm Design and Analysis Algorithm Design nd Anlysis LECTURE 8 Mx. lteness ont d Optiml Ching Adm Smith 9/12/2008 A. Smith; sed on slides y E. Demine, C. Leiserson, S. Rskhodnikov, K. Wyne Sheduling to Minimizing Lteness Minimizing

More information

Part 4. Integration (with Proofs)

Part 4. Integration (with Proofs) Prt 4. Integrtion (with Proofs) 4.1 Definition Definition A prtition P of [, b] is finite set of points {x 0, x 1,..., x n } with = x 0 < x 1

More information

6.5 Improper integrals

6.5 Improper integrals Eerpt from "Clulus" 3 AoPS In. www.rtofprolemsolving.om 6.5. IMPROPER INTEGRALS 6.5 Improper integrls As we ve seen, we use the definite integrl R f to ompute the re of the region under the grph of y =

More information

1 PYTHAGORAS THEOREM 1. Given a right angled triangle, the square of the hypotenuse is equal to the sum of the squares of the other two sides.

1 PYTHAGORAS THEOREM 1. Given a right angled triangle, the square of the hypotenuse is equal to the sum of the squares of the other two sides. 1 PYTHAGORAS THEOREM 1 1 Pythgors Theorem In this setion we will present geometri proof of the fmous theorem of Pythgors. Given right ngled tringle, the squre of the hypotenuse is equl to the sum of the

More information

Chapter Summary. Mathematical Induction Strong Induction Recursive Definitions Structural Induction Recursive Algorithms

Chapter Summary. Mathematical Induction Strong Induction Recursive Definitions Structural Induction Recursive Algorithms Chapter 5 1 Chapter Summary Mathematical Inductin Strng Inductin Recursive Definitins Structural Inductin Recursive Algrithms Sectin 5.1 3 Sectin Summary Mathematical Inductin Examples f Prf by Mathematical

More information

PRINCE SULTAN UNIVERSITY Department of Mathematical Sciences Final Examination First Semester ( ) STAT 271.

PRINCE SULTAN UNIVERSITY Department of Mathematical Sciences Final Examination First Semester ( ) STAT 271. PRINCE SULTAN UNIVERSITY Deprtment f Mthemticl Sciences Finl Exmintin First Semester (007 008) STAT 71 Student Nme: Mrk Student Number: Sectin Number: Techer Nme: Time llwed is ½ hurs. Attendnce Number:

More information

Medium Scale Integrated (MSI) devices [Sections 2.9 and 2.10]

Medium Scale Integrated (MSI) devices [Sections 2.9 and 2.10] EECS 270, Winter 2017, Lecture 3 Page 1 f 6 Medium Scale Integrated (MSI) devices [Sectins 2.9 and 2.10] As we ve seen, it s smetimes nt reasnable t d all the design wrk at the gate-level smetimes we just

More information

Orthogonal Polynomials

Orthogonal Polynomials Mth 4401 Gussin Qudrture Pge 1 Orthogonl Polynomils Orthogonl polynomils rise from series solutions to differentil equtions, lthough they cn be rrived t in vriety of different mnners. Orthogonl polynomils

More information

Algorithms & Data Structures Homework 8 HS 18 Exercise Class (Room & TA): Submitted by: Peer Feedback by: Points:

Algorithms & Data Structures Homework 8 HS 18 Exercise Class (Room & TA): Submitted by: Peer Feedback by: Points: Eidgenössishe Tehnishe Hohshule Zürih Eole polytehnique fédérle de Zurih Politenio federle di Zurigo Federl Institute of Tehnology t Zurih Deprtement of Computer Siene. Novemer 0 Mrkus Püshel, Dvid Steurer

More information

Fundamentals of Computer Science

Fundamentals of Computer Science Fundmentls of Computer Science Chpter 3: NFA nd DFA equivlence Regulr expressions Henrik Björklund Umeå University Jnury 23, 2014 NFA nd DFA equivlence As we shll see, it turns out tht NFA nd DFA re equivlent,

More information

Hyers-Ulam stability of Pielou logistic difference equation

Hyers-Ulam stability of Pielou logistic difference equation vilble online t wwwisr-publitionsom/jns J Nonliner Si ppl, 0 (207, 35 322 Reserh rtile Journl Homepge: wwwtjnsom - wwwisr-publitionsom/jns Hyers-Ulm stbility of Pielou logisti differene eqution Soon-Mo

More information

STRAND F: GEOMETRY F1 Angles and Symmetry

STRAND F: GEOMETRY F1 Angles and Symmetry PRIMRY Mthemtis SKE, Strn F UNIT F1 ngles n Symmetry: Text STRND F: GEOMETRY F1 ngles n Symmetry Text ntents Setin F1.1 Mesuring ngles F1.2 Line n Rttinl Symmetry F1.3 ngle Gemetry F1.4 ngles with Prllel

More information

Content 1. Introduction 2. The Field s Configuration 3. The Lorentz Force 4. The Ampere Force 5. Discussion References

Content 1. Introduction 2. The Field s Configuration 3. The Lorentz Force 4. The Ampere Force 5. Discussion References Khmelnik S. I. Lrentz Fre, Ampere Fre and Mmentum Cnservatin Law Quantitative. Analysis and Crllaries. Abstrat It is knwn that Lrentz Fre and Ampere fre ntradits the Third Newtn Law, but it des nt ntradit

More information

On-line Linear-time Construction of Word Suffix Trees

On-line Linear-time Construction of Word Suffix Trees On-line Liner-time Construction of Word Suffix Trees Shunsuke Ineng 1,2 nd Msyuki Tked 2,3 1 Jpn Society for the Promotion of Science 2 Deprtment of Informtics, Kyushu University, Fukuok 812-8581, Jpn

More information

Content 1. Introduction 2. The Field s Configuration 3. The Lorentz Force 4. The Ampere Force 5. Discussion References

Content 1. Introduction 2. The Field s Configuration 3. The Lorentz Force 4. The Ampere Force 5. Discussion References Khmelnik. I. Lrentz Fre, Ampere Fre and Mmentum Cnservatin Law Quantitative. Analysis and Crllaries. Abstrat It is knwn that Lrentz Fre and Ampere fre ntradits the Third Newtn Law, but it des nt ntradit

More information

WYSE Academic Challenge Regional Physics 2008 SOLUTION SET

WYSE Academic Challenge Regional Physics 2008 SOLUTION SET WYSE cdemic Chllenge eginl 008 SOLUTION SET. Crrect nswer: E. Since the blck is mving lng circulr rc when it is t pint Y, it hs centripetl ccelertin which is in the directin lbeled c. Hwever, the blck

More information

CONSTRUCTING STATECHART DIAGRAMS

CONSTRUCTING STATECHART DIAGRAMS CONSTRUCTING STATECHART DIAGRAMS The fllwing checklist shws the necessary steps fr cnstructing the statechart diagrams f a class. Subsequently, we will explain the individual steps further. Checklist 4.6

More information

Numbers and indices. 1.1 Fractions. GCSE C Example 1. Handy hint. Key point

Numbers and indices. 1.1 Fractions. GCSE C Example 1. Handy hint. Key point GCSE C Emple 7 Work out 9 Give your nswer in its simplest form Numers n inies Reiprote mens invert or turn upsie own The reiprol of is 9 9 Mke sure you only invert the frtion you re iviing y 7 You multiply

More information

Non Deterministic Automata. Linz: Nondeterministic Finite Accepters, page 51

Non Deterministic Automata. Linz: Nondeterministic Finite Accepters, page 51 Non Deterministic Automt Linz: Nondeterministic Finite Accepters, pge 51 1 Nondeterministic Finite Accepter (NFA) Alphbet ={} q 1 q2 q 0 q 3 2 Nondeterministic Finite Accepter (NFA) Alphbet ={} Two choices

More information

Designing finite automata II

Designing finite automata II Designing finite utomt II Prolem: Design DFA A such tht L(A) consists of ll strings of nd which re of length 3n, for n = 0, 1, 2, (1) Determine wht to rememer out the input string Assign stte to ech of

More information

Data Structures and Algorithm. Xiaoqing Zheng

Data Structures and Algorithm. Xiaoqing Zheng Dt Strutures nd Algorithm Xioqing Zheng zhengxq@fudn.edu.n String mthing prolem Pttern P ours with shift s in text T (or, equivlently, tht pttern P ours eginning t position s + in text T) if T[s +... s

More information

Module 9: Tries and String Matching

Module 9: Tries and String Matching Module 9: Tries nd String Mtching CS 240 - Dt Structures nd Dt Mngement Sjed Hque Veronik Irvine Tylor Smith Bsed on lecture notes by mny previous cs240 instructors Dvid R. Cheriton School of Computer

More information

Module 9: Tries and String Matching

Module 9: Tries and String Matching Module 9: Tries nd String Mtching CS 240 - Dt Structures nd Dt Mngement Sjed Hque Veronik Irvine Tylor Smith Bsed on lecture notes by mny previous cs240 instructors Dvid R. Cheriton School of Computer

More information

Algorithm Design and Analysis

Algorithm Design and Analysis Algorithm Design nd Anlysis LECTURE 5 Supplement Greedy Algorithms Cont d Minimizing lteness Ching (NOT overed in leture) Adm Smith 9/8/10 A. Smith; sed on slides y E. Demine, C. Leiserson, S. Rskhodnikov,

More information

General Suffix Automaton Construction Algorithm and Space Bounds

General Suffix Automaton Construction Algorithm and Space Bounds Generl Suffix Automton Constrution Algorithm nd Spe Bounds Mehryr Mohri,, Pedro Moreno, Eugene Weinstein, Cournt Institute of Mthemtil Sienes 251 Merer Street, New York, NY 10012. Google Reserh 76 Ninth

More information

Project 6: Minigoals Towards Simplifying and Rewriting Expressions

Project 6: Minigoals Towards Simplifying and Rewriting Expressions MAT 51 Wldis Projet 6: Minigols Towrds Simplifying nd Rewriting Expressions The distriutive property nd like terms You hve proly lerned in previous lsses out dding like terms ut one prolem with the wy

More information

Role of Observer & Consciousness on Special Theory of Relativity and Its Influence on Kinetic Energy

Role of Observer & Consciousness on Special Theory of Relativity and Its Influence on Kinetic Energy Interntinl Jurnl f Physis, 07, Vl. 5, N. 4, 99-09 Ailble nline t http://pubs.siepub.m/ijp/5/4/ Siene nd Edutin Publishing DOI:0.69/ijp-5-4- Rle f Obserer & Cnsiusness n Speil Thery f Reltiity nd Its Influene

More information

n f(x i ) x. i=1 In section 4.2, we defined the definite integral of f from x = a to x = b as n f(x i ) x; f(x) dx = lim i=1

n f(x i ) x. i=1 In section 4.2, we defined the definite integral of f from x = a to x = b as n f(x i ) x; f(x) dx = lim i=1 The Fundmentl Theorem of Clculus As we continue to study the re problem, let s think bck to wht we know bout computing res of regions enclosed by curves. If we wnt to find the re of the region below the

More information

Discrete Structures Lecture 11

Discrete Structures Lecture 11 Introdution Good morning. In this setion we study funtions. A funtion is mpping from one set to nother set or, perhps, from one set to itself. We study the properties of funtions. A mpping my not e funtion.

More information

PH2200 Practice Exam I Summer 2003

PH2200 Practice Exam I Summer 2003 PH00 Prctice Exm I Summer 003 INSTRUCTIONS. Write yur nme nd student identifictin number n the nswer sheet.. Plese cver yur nswer sheet t ll times. 3. This is clsed bk exm. Yu my use the PH00 frmul sheet

More information

MODULE 1. e x + c. [You can t separate a demominator, but you can divide a single denominator into each numerator term] a + b a(a + b)+1 = a + b

MODULE 1. e x + c. [You can t separate a demominator, but you can divide a single denominator into each numerator term] a + b a(a + b)+1 = a + b . REVIEW OF SOME BASIC ALGEBRA MODULE () Slving Equatins Yu shuld be able t slve fr x: a + b = c a d + e x + c and get x = e(ba +) b(c a) d(ba +) c Cmmn mistakes and strategies:. a b + c a b + a c, but

More information

Math 32B Discussion Session Week 8 Notes February 28 and March 2, f(b) f(a) = f (t)dt (1)

Math 32B Discussion Session Week 8 Notes February 28 and March 2, f(b) f(a) = f (t)dt (1) Green s Theorem Mth 3B isussion Session Week 8 Notes Februry 8 nd Mrh, 7 Very shortly fter you lerned how to integrte single-vrible funtions, you lerned the Fundmentl Theorem of lulus the wy most integrtion

More information

Co-ordinated s-convex Function in the First Sense with Some Hadamard-Type Inequalities

Co-ordinated s-convex Function in the First Sense with Some Hadamard-Type Inequalities Int. J. Contemp. Mth. Sienes, Vol. 3, 008, no. 3, 557-567 Co-ordinted s-convex Funtion in the First Sense with Some Hdmrd-Type Inequlities Mohmmd Alomri nd Mslin Drus Shool o Mthemtil Sienes Fulty o Siene

More information

Direct construction of compact Directed Acyclic Word Graphs

Direct construction of compact Directed Acyclic Word Graphs Diret onstrution of ompt Direted Ayli Word Grphs Mxime Crohemore, Renud Vérin To ite this version: Mxime Crohemore, Renud Vérin. Diret onstrution of ompt Direted Ayli Word Grphs. Apostolio A nd Hein J.

More information

Lecture 1 - Introduction and Basic Facts about PDEs

Lecture 1 - Introduction and Basic Facts about PDEs * 18.15 - Introdution to PDEs, Fll 004 Prof. Gigliol Stffilni Leture 1 - Introdution nd Bsi Fts bout PDEs The Content of the Course Definition of Prtil Differentil Eqution (PDE) Liner PDEs VVVVVVVVVVVVVVVVVVVV

More information

INTEGRATION. 1 Integrals of Complex Valued functions of a REAL variable

INTEGRATION. 1 Integrals of Complex Valued functions of a REAL variable INTEGRATION NOTE: These notes re supposed to supplement Chpter 4 of the online textbook. 1 Integrls of Complex Vlued funtions of REAL vrible If I is n intervl in R (for exmple I = [, b] or I = (, b)) nd

More information

MA10207B: ANALYSIS SECOND SEMESTER OUTLINE NOTES

MA10207B: ANALYSIS SECOND SEMESTER OUTLINE NOTES MA10207B: ANALYSIS SECOND SEMESTER OUTLINE NOTES CHARLIE COLLIER UNIVERSITY OF BATH These notes hve been typeset by Chrlie Collier nd re bsed on the leture notes by Adrin Hill nd Thoms Cottrell. These

More information

Tutorial Worksheet. 1. Find all solutions to the linear system by following the given steps. x + 2y + 3z = 2 2x + 3y + z = 4.

Tutorial Worksheet. 1. Find all solutions to the linear system by following the given steps. x + 2y + 3z = 2 2x + 3y + z = 4. Mth 5 Tutoril Week 1 - Jnury 1 1 Nme Setion Tutoril Worksheet 1. Find ll solutions to the liner system by following the given steps x + y + z = x + y + z = 4. y + z = Step 1. Write down the rgumented mtrix

More information

8 THREE PHASE A.C. CIRCUITS

8 THREE PHASE A.C. CIRCUITS 8 THREE PHSE.. IRUITS The signls in hpter 7 were sinusoidl lternting voltges nd urrents of the so-lled single se type. n emf of suh type n e esily generted y rotting single loop of ondutor (or single winding),

More information

Technische Universität München Winter term 2009/10 I7 Prof. J. Esparza / J. Křetínský / M. Luttenberger 11. Februar Solution

Technische Universität München Winter term 2009/10 I7 Prof. J. Esparza / J. Křetínský / M. Luttenberger 11. Februar Solution Tehnishe Universität Münhen Winter term 29/ I7 Prof. J. Esprz / J. Křetínský / M. Luttenerger. Ferur 2 Solution Automt nd Forml Lnguges Homework 2 Due 5..29. Exerise 2. Let A e the following finite utomton:

More information

Differentiation Applications 1: Related Rates

Differentiation Applications 1: Related Rates Differentiatin Applicatins 1: Related Rates 151 Differentiatin Applicatins 1: Related Rates Mdel 1: Sliding Ladder 10 ladder y 10 ladder 10 ladder A 10 ft ladder is leaning against a wall when the bttm

More information

Exam Review Trigonometry

Exam Review Trigonometry Exam Review Trignmetry (Tyler, Chris, Hafsa, Nasim, Paniz,Tng) Similar Triangles Prving Similarity (AA, SSS, SAS) ~ Tyler Garfinkle 3 Types f Similarities: 1. Side Side Side Similarity (SSS) If three pairs

More information

Fuzzy Neutrosophic Equivalence Relations

Fuzzy Neutrosophic Equivalence Relations wwwijirdm Jur 6 Vl 5 ssue SS 78 Olie u eutrsphi Equivlee eltis J Mrti Je eserh Shlr Deprtmet f Mthemtis irml Cllege fr Wme Cimtre mil du di rkiri riipl irml Cllege fr Wme Cimtre mil du di strt: his pper

More information

SCHMIDT THEORY FOR STIRLING ENGINES

SCHMIDT THEORY FOR STIRLING ENGINES SHMIDT THOY FO STILING NGINS KOIHI HIATA Musashin-jjutaku 6-10, Gakuen -6-1, Musashimurayama, Tky 08, Japan Phne & Fax: +81-45-67-0086 e-mail: khirata@gem.bekkame.ne.jp url: http://www.bekkame.ne.jp/~khirata

More information

CHAPTER 2 Algebraic Expressions and Fundamental Operations

CHAPTER 2 Algebraic Expressions and Fundamental Operations CHAPTER Algebraic Expressins and Fundamental Operatins OBJECTIVES: 1. Algebraic Expressins. Terms. Degree. Gruping 5. Additin 6. Subtractin 7. Multiplicatin 8. Divisin Algebraic Expressin An algebraic

More information

We can see from the graph above that the intersection is, i.e., [ ).

We can see from the graph above that the intersection is, i.e., [ ). MTH 111 Cllege Algebra Lecture Ntes July 2, 2014 Functin Arithmetic: With nt t much difficulty, we ntice that inputs f functins are numbers, and utputs f functins are numbers. S whatever we can d with

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

Computational Biology Lecture 18: Genome rearrangements, finding maximal matches Saad Mneimneh

Computational Biology Lecture 18: Genome rearrangements, finding maximal matches Saad Mneimneh Computtionl Biology Leture 8: Genome rerrngements, finding miml mthes Sd Mneimneh We hve seen how to rerrnge genome to otin nother one sed on reversls nd the knowledge of the preserved loks or genes. Now

More information

Finite Automata Theory and Formal Languages TMV027/DIT321 LP4 2018

Finite Automata Theory and Formal Languages TMV027/DIT321 LP4 2018 Finite Automt Theory nd Forml Lnguges TMV027/DIT321 LP4 2018 Lecture 10 An Bove April 23rd 2018 Recp: Regulr Lnguges We cn convert between FA nd RE; Hence both FA nd RE ccept/generte regulr lnguges; More

More information

Minimal DFA. minimal DFA for L starting from any other

Minimal DFA. minimal DFA for L starting from any other Miniml DFA Among the mny DFAs ccepting the sme regulr lnguge L, there is exctly one (up to renming of sttes) which hs the smllest possile numer of sttes. Moreover, it is possile to otin tht miniml DFA

More information

Grammar. Languages. Content 5/10/16. Automata and Languages. Regular Languages. Regular Languages

Grammar. Languages. Content 5/10/16. Automata and Languages. Regular Languages. Regular Languages 5//6 Grmmr Automt nd Lnguges Regulr Grmmr Context-free Grmmr Context-sensitive Grmmr Prof. Mohmed Hmd Softwre Engineering L. The University of Aizu Jpn Regulr Lnguges Context Free Lnguges Context Sensitive

More information

Lecture 6: Coding theory

Lecture 6: Coding theory Leture 6: Coing theory Biology 429 Crl Bergstrom Ferury 4, 2008 Soures: This leture loosely follows Cover n Thoms Chpter 5 n Yeung Chpter 3. As usul, some of the text n equtions re tken iretly from those

More information

ALGEBRA 2/TRIGONMETRY TOPIC REVIEW QUARTER 3 LOGS

ALGEBRA 2/TRIGONMETRY TOPIC REVIEW QUARTER 3 LOGS ALGEBRA /TRIGONMETRY TOPIC REVIEW QUARTER LOGS Cnverting frm Epnentil frm t Lgrithmic frm: E B N Lg BN E Americn Ben t French Lg Ben-n Lg Prperties: Lg Prperties lg (y) lg + lg y lg y lg lg y lg () lg

More information

How do scientists measure trees? What is DBH?

How do scientists measure trees? What is DBH? Hw d scientists measure trees? What is DBH? Purpse Students develp an understanding f tree size and hw scientists measure trees. Students bserve and measure tree ckies and explre the relatinship between

More information

NFA and regex. the Boolean algebra of languages. non-deterministic machines. regular expressions

NFA and regex. the Boolean algebra of languages. non-deterministic machines. regular expressions NFA nd regex l the Boolen lger of lnguges non-deterministi mhines regulr expressions Informtis The intersetion of two regulr lnguges is regulr Run oth mhines in prllel? Build one mhine tht simultes two

More information

Tutorial 3: Building a spectral library in Skyline

Tutorial 3: Building a spectral library in Skyline SRM Curse 2013 Tutrial 3 Spectral Library Tutrial 3: Building a spectral library in Skyline Spectral libraries fr SRM methd design and fr data analysis can be either directly added t a Skyline dcument

More information

COMPUTER SCIENCE TRIPOS

COMPUTER SCIENCE TRIPOS CST.2011.2.1 COMPUTER SCIENCE TRIPOS Prt IA Tuesdy 7 June 2011 1.30 to 4.30 COMPUTER SCIENCE Pper 2 Answer one question from ech of Sections A, B nd C, nd two questions from Section D. Submit the nswers

More information

Chapter 3 Kinematics in Two Dimensions; Vectors

Chapter 3 Kinematics in Two Dimensions; Vectors Chapter 3 Kinematics in Tw Dimensins; Vectrs Vectrs and Scalars Additin f Vectrs Graphical Methds (One and Tw- Dimensin) Multiplicatin f a Vectr b a Scalar Subtractin f Vectrs Graphical Methds Adding Vectrs

More information

Ling 3701H / Psych 3371H: Lecture Notes 9 Hierarchic Sequential Prediction

Ling 3701H / Psych 3371H: Lecture Notes 9 Hierarchic Sequential Prediction Ling 3701H / Psyh 3371H: Leture Notes 9 Hierrhi Sequentil Predition Contents 9.1 Complex events.................................... 1 9.2 Reognition of omplex events using event frgments................

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

Week 10: Line Integrals

Week 10: Line Integrals Week 10: Line Integrls Introduction In this finl week we return to prmetrised curves nd consider integrtion long such curves. We lredy sw this in Week 2 when we integrted long curve to find its length.

More information

***SECTION 12.1*** Tests about a Population Mean

***SECTION 12.1*** Tests about a Population Mean ***SECTION 12.1*** Tests but Ppultin Men CHAPTER 12 ~ Significnce Tests in Prctice We begin by drpping the ssumptin tht we knw the ppultin stndrd devitin when testing clims but ppultin men. As with cnfidence

More information

Metodologie di progetto HW Technology Mapping. Last update: 19/03/09

Metodologie di progetto HW Technology Mapping. Last update: 19/03/09 Metodologie di progetto HW Tehnology Mpping Lst updte: 19/03/09 Tehnology Mpping 2 Tehnology Mpping Exmple: t 1 = + b; t 2 = d + e; t 3 = b + d; t 4 = t 1 t 2 + fg; t 5 = t 4 h + t 2 t 3 ; F = t 5 ; t

More information

A Stochastic Memoizer for Sequence Data

A Stochastic Memoizer for Sequence Data A Sthsti Memizer fr Sequene Dt Frnk Wd fwd@gtsby.ul..uk Cédri Arhmbeu.rhmbeu@s.ul..uk Jn Gsthus j.gsthus@gtsby.ul..uk Lnelt Jmes lnelt@ust.hk Yee Whye Teh ywteh@gtsby.ul..uk Gtsby Cmputtinl Neursiene Unit

More information

Homework Solution - Set 5 Due: Friday 10/03/08

Homework Solution - Set 5 Due: Friday 10/03/08 CE 96 Introduction to the Theory of Computtion ll 2008 Homework olution - et 5 Due: ridy 10/0/08 1. Textook, Pge 86, Exercise 1.21. () 1 2 Add new strt stte nd finl stte. Mke originl finl stte non-finl.

More information

Non-Deterministic Finite Automata. Fall 2018 Costas Busch - RPI 1

Non-Deterministic Finite Automata. Fall 2018 Costas Busch - RPI 1 Non-Deterministic Finite Automt Fll 2018 Costs Busch - RPI 1 Nondeterministic Finite Automton (NFA) Alphbet ={} q q2 1 q 0 q 3 Fll 2018 Costs Busch - RPI 2 Nondeterministic Finite Automton (NFA) Alphbet

More information

arxiv: v1 [math.ca] 21 Aug 2018

arxiv: v1 [math.ca] 21 Aug 2018 rxiv:1808.07159v1 [mth.ca] 1 Aug 018 Clulus on Dul Rel Numbers Keqin Liu Deprtment of Mthemtis The University of British Columbi Vnouver, BC Cnd, V6T 1Z Augest, 018 Abstrt We present the bsi theory of

More information

2. Caryn needs to ship a box that is 14 high, 12 inches deep and 24 inches long. After sealing the box, she tied it with twine as shown:

2. Caryn needs to ship a box that is 14 high, 12 inches deep and 24 inches long. After sealing the box, she tied it with twine as shown: Perimeter Mtters 1. Mrt wnts t tie rin rund the sides f hexgnl x nd then tie w. ch side f the x is 4 inches lng. She needs 14 inches fr the w. Is ne yrd f rin enugh? xlin. hen stte exctly hw lng the rin

More information

AP Calculus BC Chapter 8: Integration Techniques, L Hopital s Rule and Improper Integrals

AP Calculus BC Chapter 8: Integration Techniques, L Hopital s Rule and Improper Integrals AP Clulus BC Chpter 8: Integrtion Tehniques, L Hopitl s Rule nd Improper Integrls 8. Bsi Integrtion Rules In this setion we will review vrious integrtion strtegies. Strtegies: I. Seprte the integrnd into

More information

1.3 Regular Expressions

1.3 Regular Expressions 56 1.3 Regulr xpressions These hve n importnt role in describing ptterns in serching for strings in mny pplictions (e.g. wk, grep, Perl,...) All regulr expressions of lphbet re 1.Ønd re regulr expressions,

More information