Distributed Splay Suffix Arrays:A New Structure for Distributed String Search

Size: px
Start display at page:

Download "Distributed Splay Suffix Arrays:A New Structure for Distributed String Search"

Transcription

1 World Academy of Scence, Engneerng and Technology Internatonal Journal of Computer and Informaton Engneerng Vol:, No:0, 2007 Dstrbuted Splay Suffx Arrays:A New Structure for Dstrbuted Strng Search Tu Kun, Gu Na-je, B Kun, Lu Gang and Dong Wan-l Internatonal Scence Index, Computer and Informaton Engneerng Vol:, No:0, 2007 wasetorg/publcaton/9022 Abstract As a structure for processng strng problem, suffx array s certanly wdely-known and extensvely-studed But f the strng access pattern follows the 90/0 rule, suffx array can not take advantage of the fact that we often fnd somethng that we have just found Although the splay tree s an effcent data structure for small documents when the access pattern follows the 90/0 rule, t requres many structures and an excessve amount of ponter manpulatons for effcently processng and searchng large documents In ths paper, we propose a new and conceptually powerful data structure, called splay suffx arrays (SSA), for strng search Ths data structure combnes the features of splay tree and suffx arrays nto a new approach whch s sutable to mplementaton on both conventonal and clustered computers Keywords suffx arrays, splay tree, strng search, dstrbuted algorthm T I INTRODUCTION ODAY large databases become avalable, such as full text of newspapers of Web pages, and Genome sequences, therefore t s mportant to effcently store them on memory for quck queres In order to acheve ths goal, some ndexng data structures and searchng tools have been ntroduced The man approaches are: word ndexes, character n-gram ndexes, and suffx ndexes Word ndexes have the advantage of supportng very fast word queres, whle they have dffculty wth ndexng unstructured texts- lke DNA-sequences or some Asan language texts [] Whle character n-gram ndexes enable us to ndex unstructured texts, the search for a lengthy query or regular expresson s complcated and neffcent [2]Suffx ndexes have been desgned to overcome the above lmtatons by dealng wth arbtrary texts, but ths ncreases the cost due to the addtonal space occuped by the underlyng ndexng data Manuscrpt receved November 4, 2005 TU Kun s wth the Department of Computer scence and technology, Unversty of Scence and Technology of Chna, Hefe, Anhu, PRChna, (correspondng author to provde phone: ; e-mal: tukun@ustcedu) GU Na-je s wth the Department of Computer scence and technology, Unversty of Scence and Technology of Chna, (e-mal: gunj@ustceducn) BI Kun s wth the Department of Computer scence and technology, Unversty of Scence and Technology of Chna, (e-mal: bkun@malustceducn) LIU Gang s wth the Department of Computer scence and technology, Unversty of Scence and Technology of Chna,(e-mal: lugang@malustceducn) DONG Wan-l s wth the Department of Computer scence and technology, Unversty of Scence and Technology of Chna, (e-mal: danl@malustceducn) structure [3] [4] [5] Examples of such ndexes are: suffx tree [6], suffx array [7] Smlar concepts were ndependently proposed n Oxford Englsh Dctonary project [8] and n corpus-based natural language processng [9] Suffx ndexes can be used n many applcatons [0] A suffx tree for a text of length n over an alphabet s of sze ON ( ) (where N s the text sze) and can be bult n ON ( log ) Suffx tree enables us to fnd the longest substrng of a text that matches the query strng n OM ( ) tme, where M s the length of the pattern strng A problem of the suffx tree s ts sze and can be qute large for many applcatons The suffx array s the most compact and smple among the suffx ndexes mentoned above The constructon and searchng tme of the suffx array does not depend on the sze of alphabet The searchng tme s compettve wth the suffx tree s n practce There are a number of dfferent dstrbuted multlevel data structures that have been nvestgated for multkey searchng and sortng on both conventonal and dstrbuted computers [] [2] But they have shortcomngs and drawbacks dealng wth strng problems MSA (Multdmensonal Suffx Arrays) [3] s a new data structure for strng search whch combnes the features of suffx arrays and B-Trees, and s very amenable to mplementaton on both conventonal and clustered computers But MSA does not consder about the stuaton that access pattern follows the 90/0 rule That means we should pay the same cost when we fnd somethng that has been just found Ths paper focuses on the performance of strng search usng suffx array when the access pattern follows the 90/0 rule In ths paper, we propose a new structure, the splay suffx arrays, for nvestgatng and refnng hgh-performance algorthms for searchng strngs on both conventonal computers and clusters The paper s organzed as follows Secton II ntroduces the related work of strng search usng suffx array Secton III gves the problem statement Then we descrbe the splay suffx array (SSA) and dstrbuted splay suffx array (DSSA) and ther algorthms n secton IV Secton V shows the expermental results, and secton VI s the concluson II RELATED WORK A suffx array s a lnear structure composed of ponters to every suffx n the text (snce the user normally bases hs queres upon words and phrases, t s customary, n documents, to ndex only word begnnngs) These ndex ponters are sorted accordng to a lexcographcal orderng of ther respectve suffxes To fnd patterns n the text, bnary search s performed Internatonal Scholarly and Scentfc Research & Innovaton (0) scholarwasetorg/ /9022

2 World Academy of Scence, Engneerng and Technology Internatonal Journal of Computer and Informaton Engneerng Vol:, No:0, 2007 Internatonal Scence Index, Computer and Informaton Engneerng Vol:, No:0, 2007 wasetorg/publcaton/9022 on the array at O(log N) cost Suffx array of strng S, denoted SA, s an array of sze n storng the sorted order of suffxes of text, e, SA[] s j ff suff j s the th lexcographcally smallest suffx A closely related concept s the longest common prefx (lcp) whch s an array of some length often coupled wth suffx arrays One mportant nformaton about lcp s the length of lcp of adjacent suffxes n the suffx arrays The smplest approach to buld the suffx array sequentally s to perform a tradtonal sort of the ponters, such as mergesort of qucksort However, there exst specalzed algorthms for sequental constructon of suffx arrays, such as the orgnal one of Manber and Myers [7] and, more recently, those of Sadakane [4] MSD radx sort [5] and Multkey Qucksort [6] are known as the fastest algorthms for sortng strngs lexcographcally Many dstrbuted algorthms for ths problem are generalzatons of general purpose sortng algorthms adapted to suffx arrays: mergesort(msort [7]) qucksort (Qsort [8] and G-Qsort [9]) and of MMsort [20] have been used All above algorthms pad man attenton to the constructon of suffx array Dfferent from them, MSA (Multdmensonal Suffx Arrays) [3] proposed a new data structure for nvestgatng and refnng hgh-performance algorthms for searchng strngs on both conventonal computers and clusters The man drawback of MSA s that we should pay the same cost when we fnd somethng that has been just found, especally when the access pattern follows the 90/0 rule We combne the features of splay trees and suffx arrays nto a new data structure The purpose of ths s to mprove the performance of suffx arrays when the access pattern follows the 90/0 rule and reduce the amount of ponter manpulatons for effcently processng at the same tme III PROBLEM STATEMENT Let S=a 0, a,,a N- be a text of length N Denote the substrng a, a +,, a j by SA[,j] Each a s a member of the fnte alphabet Denote the suffx that starts at poston n the text S by S =SA[,N]= a, a +,, a N- The number s called ndex of the suffx S The suffx array SA bult on S s an array of length N storng the sequence of ndexes p 0,p,,p N- such that S p 0 < S p < < S p N-, where < denotes the lexcographc order Now assume that we wll perform a long seres of T > N operatons on a suffx array We concern about the performance of suffx array when the access pattern follows the 90/0 rule That means we often fnd somethng that has been just found IV DISTRIBUTED SPLAY SUFFIX ARRAYS (DSSA) A Splay tree A splay tree [2] s a varety of self-adjustng bnary search tree Statc bnary search trees ether do not adjust n response to changng balance or access patterns, or f they do (as n AVL trees), nformaton s copously mantaned at each node to mantan balance Sleator and Tarjan [2] devsed splay trees to allow a bnary tree to self-adjust n response to varyng access patterns and yet reman approxmately balanced wthout storng addtonal balance nformaton Then, nstead of provdng a frm O(log N ) tme guarantee for each operaton, the amortzed tme s O(log N) whle some ndvdual operatons may be more expensve The fundamental heurstc used n splay trees to accomplsh ths task s called SPLAYING SPLAYING moves the currently accessed node to the root of the tree through a seres of rotatons whle keepng the tree roughly balanced durng ths move Thus, SPLAYING can re-balance a tree as well as reduce the amortzed cost of accessng nodes by keepng frequently accessed nodes near the root of the tree B SSA and SSA algorthms Dfferent from standard splay trees, each node n splay suffx array contans a value to pont out the start poston of the correspond suffxes n suffx arrays So we can apply Manber and Myer s strng searchng method [7] frstly to the suffxes whch are often accessed We show the splay suffx arrays of text BANANA n Fg Fg Splay Suffx Arrays (SSA) ) The constructon of SSA Compare wth suffx array, splay suffx array takes advantage of splay tree to mprove the performance of strng searchng The cost s the operaton of SPLAYING and the space to store the splay tree The followng lemma captures the essence of how we construct the splay suffx array Lemma : Let P(x, M, N) be the performance of strng searchng usng data structure x, then P( SSA, M, N ) P( suffxarray, M, N ), f T log( ) T = N R = log N Where M s the sze of pattern strng, and N s the sze of text, R s the number of nodes of splay suffx array, and N s the number of the suffxes that belong to the node R of splay suffx arrays Proof: From [2] and [7], we know that the max complexty of T operatons of splay tree whch has R nodes s OT ( log R ),and the complexty of strng searchng of suffx array s OM ( + log N) Then t s easy to see: P( SSA, M, N ) = T log R + T * M + T = log N = T * M + T = log( N* R) P( suffxarray, M, N ) = T * M + T log N = T * M + T = logn Internatonal Scholarly and Scentfc Research & Innovaton (0) scholarwasetorg/ /9022

3 World Academy of Scence, Engneerng and Technology Internatonal Journal of Computer and Informaton Engneerng Vol:, No:0, 2007 Internatonal Scence Index, Computer and Informaton Engneerng Vol:, No:0, 2007 wasetorg/publcaton/9022 Q T log( N * R) T = = log N P( SSA, M, N ) P( suffxarray, M, N ) Now we are ready to descrbe the algorthm of the constructon of SSA The key pont here s T log( ) T = N R = log N That means to keep N [N/R ]when the correspond node n SSA s deep, and let the nodes that have more than[n/r]suffxes to be near the root So when we construct the SSA, we perform the followng steps: a) Dvde all suffxes nto dfferent buckets accordng to ther frst three characters We frst propose that strngs be processed on a character by character for the frst three characters The reason for ths splttng after the frst three characters s that many common words n the Englsh dctonary contan the same frst three characters [3] For example, then, theory, theatre So we can dvde the text nto dfferent buckets, suffxes n the same bucket have same frst three characters We can put one or more buckets nto a node On the other hand, f there are too many suffxes n one bucket, we can dvde t nto several nodes Then we can apply Manber and Myer s strng sortng method [7] to each node to fnsh the constructon of splay suffx array The complexty wll be ON ( ) b) Let every bucket be a node of SSAThe complexty wll be OR ( ) c) Use Manber and Myer s strng sortng method [7] to fnsh the constructon of suffx array n each node The T complexty wll be O( ) = N 2) Strng searchng Let f ( s) denote the frst three characters of strng s, g( R ) denote the frst suffx of the suffxes that belong to the node R of SSA, where R 0 denotes the root node Let m denote the pattern strng Then we can perform the followng steps: a) If f ( m) = f ( g( R )),then use Manber and Myer s strng 0 searchng method, the complexty wll be O(log N + M) ;else do b) 0 b) If f ( m) < f ( g( R )),then compare f(m) and f ( g( R lchld )) ;else compare f(m) and f ( g( R rchld)) c) Do ths recursvely tll we fnd the node R that f ( m) = f ( g( R )) and then do d), or f there s no such node then we can say that no match poston The complexty wll be O(log R ) d) Use Manber and Myer s strng searchng method, the complexty wll be O(log N M) + Adjust the structure; the complexty wll be O(log R ) C DSSA and DSSA algorthms Our dstrbuted model s that of a cluster Assume that we have a number p of computers, we call each one computng node A problem n the mplementaton of DSSA s how to reduce the amount of ponter manpulatons and communcaton complexty for effcently processng In order to resolve ths we change the structure of SSA a lttle If there are too many nodes n SSA, then the cost wll be hgh when there s only one computng node to mantan all of SSA nodes So we choose some of computng nodes to mantan the nodes of SSA We just keep 3~5 SSA nodes n one computng node, and then the SPLAYING can be operated effcently n t We call these computng nodes SSA-keepng nodes Each leaf node n SSA-keepng node keeps a value to pont another SSA-keepng node The relatonshps between these SSA-keepng nodes are same as the relatonshps between the nodes of splay tree We choose one computng node, called Home node, to mantan the splay tree that represents the relatonshp between the SSA-keepng nodes We show the DSSA of a cluster whch has 0 nodes n Fg 2a and Fg 2b Fg 2(a) The real structure of the cluster Home node Fg 2 (b) The correspond logcal structure of DSSA of the cluster n Fg 2 (a) We keep the structure of SSA n the SSA keepng nodes (node, 4, 7) nstead of keepng the structure n all of the computng nodes And we mantan the splay tree that represents the relatonshp of SSA keepng nodes n the Home node (node 0) Now only Home node and SSA-keepng nodes need to communcate when the pattern strng s not found, and each node needs to communcate no more than two SSA-keepng nodes ) The constructon of DSSA Let R be the number of SSA keepng nodes and P denote the Internatonal Scholarly and Scentfc Research & Innovaton (0) scholarwasetorg/ /9022

4 World Academy of Scence, Engneerng and Technology Internatonal Journal of Computer and Informaton Engneerng Vol:, No:0, 2007 Internatonal Scence Index, Computer and Informaton Engneerng Vol:, No:0, 2007 wasetorg/publcaton/9022 number of computng nodes It s clear that R P Then we can perform the followng steps: a) Dvde all suffxes nto dfferent buckets accordng to ther frst three characters The complexty wll be ON ( ) Send each bucket to the correspond computng node The communcaton complexty wll be OP ( ) b) Let every bucket be a node of SSA and choose some of the computng nodes to be SSA keepng node Construct the splay tree that represents the relatonshp between the SSA-keepng nodes n Home node The complexty wll be OR ( ) c) Use Manber and Myer s strng sortng method [7] to fnsh the constructon of suffx array n each node Because every node can do ths parallel, the complexty wll be O(logN max ), where N max =max (N, P) 2) Strng searchng a) Fnd the SSA keepng node R n Home node R0 that f ( m) f ( g( R )), and adjust the structure of splay tree that R0 keeps The complexty wll be OT ( log R ), f we do ths operaton T tmes b) Let R lssa denote the left SSA keepng node of R and R rssa denote the rght SSA keepng node of R If f ( m) < f ( g( R )),then send message to R lssa, and compare f ( m) and f ( g( R lssa)) ;else send message to R rssa,compare f ( m) and f ( g( R rssa)) Do ths recursvely tll we fnd the node R that f ( m) = f ( g( R )) and then do c), or f there s no such node then we can say that no match poston The complexty wll be O(log R ) And the communcaton complexty wll be O(log R ) c) Use Manber and Myer s strng searchng method, the complexty wll be O(log N M) + Adjust the structure; the complexty wll be O(log R ) We show the process of strng searchng n Fg 3 Assume that the strng we fnd s n node 5 Frstly, we fnd the rght SSA keepng node n Home node In ths case, the word rght means that we can fnd the clue of node 5 n t And then adjust the structure of splay tree n Home node Secondly, we search the SSA keepng node contnuously tll we fnd the node 5 Fnally, use Manber and Myer s strng searchng method to fnd the strng And then we adjust the structure V EXPERIMENTAL RESULTS In ths secton, we show the performance of DSSA We mplemented DSSA usng MPI The programs were executed on HP RX2600 cluster Fg 5 shows the relatonshp between the SSA and the access patterns whch are shown n Fg 4 The sze of text strng s 6kB, and the pattern strng s s 8kB From Fg4 we know that when the access pattern follows the 90/0 rule, we access the strngs that begn wth the more often than we access the strngs that begn wth acc It s clear n Fg5 that the DSSA s neffcent when we fnd somethng randomly The reason s that we should change the structure of DSSA when we access t But t s amenable to mprovement when the access pattern follows the 90/0 rule Because t takes advantage of the fact that we often fnd somethng that we have just found We compare the strng searchng tme between the DSSA and one of the dstrbuted versons of suffx array [20] The results presented n Fg 6 show the fact that DSSA s very sutable for the stuaton that we often fnd somethng that we have just found The frst three characters of pattern strngs Access tme of DSSA ( s ) the sea add acc Fg 3 The process of strng searchng "90/0" pattern Random pattern Tme (s) Fg 4 Two dfferent access patterns "90/0" pattern Random pattern Tme ( s ) Fg 5 The relatonshp between DSSA and access pattern Internatonal Scholarly and Scentfc Research & Innovaton (0) scholarwasetorg/ /9022

5 World Academy of Scence, Engneerng and Technology Internatonal Journal of Computer and Informaton Engneerng Vol:, No:0, 2007 Internatonal Scence Index, Computer and Informaton Engneerng Vol:, No:0, 2007 wasetorg/publcaton/9022 VI CONCLUSION We propose a new structure for strng searchng The structure, called Splay Suffx Array (SSA), combnes the features of splay trees and suffx arrays nto a new data structure The purpose of ths s to mprove the performance of suffx arrays when the access pattern follows the 90/0 rule and reduce the amount of ponter manpulatons for effcently processng DSSA offer substantal advantages over both strng splay trees and suffx arrays n terms of memory space and tme The complexty of DSSA s very amenable to performance mprovement through several parameters, ncludng effcent mplementaton of DSSA, explotaton of parallelsm, and the hgh-performance capabltes of computer cluster archtecture Executng tme ( s ) DSSA Suffx Array Tme ( s ) Fg 6 Comparson between DSSA and Suffx Array REFERENCES [] I H Wrtten, A Moffat, and T C Bell Managng Ggabytes: Compressng and Indexng Documents and Images Van Nostrand Renhold, 994 [2] W B Cavnar Usng an n-gram based document representaton wth a vector processng retreval model In Proc Of the 3 rd Text Retreval Conference (TREC-3), pages NIST specal publcaton, 995 [3] G A Stephen Strng Searchng Algorthms World Scentfc Publshng, 994 [4] M Crochemore and W Rytter Text Algorthms Oxford Unv Press, New York, 994 [5] D Gusfeld Algorthms on Strngs, Trees, and Sequences Cambrdge Unv Press, 997 [6] E M McCreghl A Space-Economcal Suffx Tree Constructon Algorthm Journal of the ACM, 23, pp , 976 [7] U Manber and G Myers Suffx Arrays: A New Method for On-Lne Strng Searches SIAM J Comput 22(5), pp , 993 [8] G H Gonnet, R A Baeza-Yates, et al New ndces for text: PAT trees and PAT arrays In W B Frakes and R A Baeza-Yates, edtors, Informaton Retreval: Data Structure and Algorthms, pages Prentce-Hall, New Jersey, 992 [9] M Nagao and S Mor A new method of n-gram statstcs for large number of n and automatc extracton of words and phrase form large text data of Japanese In Proc of COLING 94, pages 6-65,994 [0] A Apostolco The myrad vrtues of subword trees In Combnatoral Algorthms on Words, pages Sprnger-Verlag, 985 [] A Fellah Concurrent and Dstrbuted Data Structures for Multkeys Sortng on Computer Clusters IEEE Proc Of the 6 th Intern Symp On Hgh Performance Comput Systems and Applcatons Pp 28-, Moncton, Canada, 2002 [2] A Fellah, A Maamr and M Abaza Dstrbuted Data Structures for Multkey Sortng Intern J of Parallel and Dstrbuted Systems and Networks, Vol 2(2), pp 62-68, 999 [3] Fellah, A and Mawson, R Dstrbuted multdmensonal suffx arrays for strng search Communcatons, Computers and sgnal Processng, 2003 PACRIM 2003 IEEE Pacfc Rm Conference on, Volume: 2, pp , 2003 [4] K Sadakane A fast algorthm for makng suffx arrays and for burrows-wheeler transformaton In Proc DCC 98, pages 29-38, 998 [5] D E Knuth Sortng and Searchng, volume 3 of The Art of Computer Programmng Addson-Wesley, 973 [6] J L Bentley and R Sedgewck Fast algorthms for sortng and searchng strngs In the 8 th Annual ACM-SIAM Sympo On Descrete Algorthms, pages , 997 [7] J Ktajma, G Navarro, B Rbero, and N Zvan Dstrbuted generaton of suffx arrays: a qucksort-based approach In Proc WSP 97, pages Carleton Unversty Press, 997 [8] J Ktajma, B Rbero, and N Zvan Network and memory analyss n dstrbuted parallel generaton of PAT arrays In Proc 8 th Brazlan Symp On Comp Arch Hgh-Performance Processng, pages Brazlan Comp Soc, 996 [9] G Navarro, J Ktajma, B Rbero, and N Zvan Dstrbuted generaton of suffx arrays In Proc CPM 97, LNCS 264, pages 02-5, 997 [20] Ktajma, JP, Navarro, G A fast dstrbuted suffx array generaton algorthm Strng Processng and [2] Informaton Retreval Symposum,999 and Internatonal Workshop on Groupware, Sept,999,22-24 Pages:97-04 [22] D D Sleator and R E Tarjan Self-adjustng Bnary Search Trees Journal of the ACM 32, pp , 985 Tu Kun was born n 980 He s a PhD student n the Department of Computer Scence and Technology, USTC Hs research nterests nclude parallel and dstrbuted computng Gu Na-je was born n 96 He s a Professor and Doctoral Advsor n the Department of Computer Scence and Technology, USTC Hs research nterests nclude parallel computng archtecture, nterprocessor communcaton, and hgh-performance computng B Kun was born n 98 He s a PhD student n the Department of Computer Scence and Technology, USTC Hs research nterests nclude parallel and dstrbuted computng Lu Gang was born n 978 He s a PhD student n the Department of Computer Scence and Technology, USTC Hs research nterests nclude nterprocessor communcaton and moble computng Dong Wan l was born n 98 He s a PhD student n the Department of Computer Scence and Technology, USTC Hs research nterests nclude parallel and dstrbuted computng Internatonal Scholarly and Scentfc Research & Innovaton (0) scholarwasetorg/ /9022

Parallelism for Nested Loops with Non-uniform and Flow Dependences

Parallelism for Nested Loops with Non-uniform and Flow Dependences Parallelsm for Nested Loops wth Non-unform and Flow Dependences Sam-Jn Jeong Dept. of Informaton & Communcaton Engneerng, Cheonan Unversty, 5, Anseo-dong, Cheonan, Chungnam, 330-80, Korea. seong@cheonan.ac.kr

More information

An Optimal Algorithm for Prufer Codes *

An Optimal Algorithm for Prufer Codes * J. Software Engneerng & Applcatons, 2009, 2: 111-115 do:10.4236/jsea.2009.22016 Publshed Onlne July 2009 (www.scrp.org/journal/jsea) An Optmal Algorthm for Prufer Codes * Xaodong Wang 1, 2, Le Wang 3,

More information

A Binarization Algorithm specialized on Document Images and Photos

A Binarization Algorithm specialized on Document Images and Photos A Bnarzaton Algorthm specalzed on Document mages and Photos Ergna Kavalleratou Dept. of nformaton and Communcaton Systems Engneerng Unversty of the Aegean kavalleratou@aegean.gr Abstract n ths paper, a

More information

CSCI 104 Sorting Algorithms. Mark Redekopp David Kempe

CSCI 104 Sorting Algorithms. Mark Redekopp David Kempe CSCI 104 Sortng Algorthms Mark Redekopp Davd Kempe Algorthm Effcency SORTING 2 Sortng If we have an unordered lst, sequental search becomes our only choce If we wll perform a lot of searches t may be benefcal

More information

Today s Outline. Sorting: The Big Picture. Why Sort? Selection Sort: Idea. Insertion Sort: Idea. Sorting Chapter 7 in Weiss.

Today s Outline. Sorting: The Big Picture. Why Sort? Selection Sort: Idea. Insertion Sort: Idea. Sorting Chapter 7 in Weiss. Today s Outlne Sortng Chapter 7 n Wess CSE 26 Data Structures Ruth Anderson Announcements Wrtten Homework #6 due Frday 2/26 at the begnnng of lecture Proect Code due Mon March 1 by 11pm Today s Topcs:

More information

Insertion Sort. Divide and Conquer Sorting. Divide and Conquer. Mergesort. Mergesort Example. Auxiliary Array

Insertion Sort. Divide and Conquer Sorting. Divide and Conquer. Mergesort. Mergesort Example. Auxiliary Array Inserton Sort Dvde and Conquer Sortng CSE 6 Data Structures Lecture 18 What f frst k elements of array are already sorted? 4, 7, 1, 5, 1, 16 We can shft the tal of the sorted elements lst down and then

More information

CSE 326: Data Structures Quicksort Comparison Sorting Bound

CSE 326: Data Structures Quicksort Comparison Sorting Bound CSE 326: Data Structures Qucksort Comparson Sortng Bound Steve Setz Wnter 2009 Qucksort Qucksort uses a dvde and conquer strategy, but does not requre the O(N) extra space that MergeSort does. Here s the

More information

CSE 326: Data Structures Quicksort Comparison Sorting Bound

CSE 326: Data Structures Quicksort Comparison Sorting Bound CSE 326: Data Structures Qucksort Comparson Sortng Bound Bran Curless Sprng 2008 Announcements (5/14/08) Homework due at begnnng of class on Frday. Secton tomorrow: Graded homeworks returned More dscusson

More information

CE 221 Data Structures and Algorithms

CE 221 Data Structures and Algorithms CE 1 ata Structures and Algorthms Chapter 4: Trees BST Text: Read Wess, 4.3 Izmr Unversty of Economcs 1 The Search Tree AT Bnary Search Trees An mportant applcaton of bnary trees s n searchng. Let us assume

More information

Sequential search. Building Java Programs Chapter 13. Sequential search. Sequential search

Sequential search. Building Java Programs Chapter 13. Sequential search. Sequential search Sequental search Buldng Java Programs Chapter 13 Searchng and Sortng sequental search: Locates a target value n an array/lst by examnng each element from start to fnsh. How many elements wll t need to

More information

Solving two-person zero-sum game by Matlab

Solving two-person zero-sum game by Matlab Appled Mechancs and Materals Onlne: 2011-02-02 ISSN: 1662-7482, Vols. 50-51, pp 262-265 do:10.4028/www.scentfc.net/amm.50-51.262 2011 Trans Tech Publcatons, Swtzerland Solvng two-person zero-sum game by

More information

CMPS 10 Introduction to Computer Science Lecture Notes

CMPS 10 Introduction to Computer Science Lecture Notes CPS 0 Introducton to Computer Scence Lecture Notes Chapter : Algorthm Desgn How should we present algorthms? Natural languages lke Englsh, Spansh, or French whch are rch n nterpretaton and meanng are not

More information

UB at GeoCLEF Department of Geography Abstract

UB at GeoCLEF Department of Geography   Abstract UB at GeoCLEF 2006 Mguel E. Ruz (1), Stuart Shapro (2), June Abbas (1), Slva B. Southwck (1) and Davd Mark (3) State Unversty of New York at Buffalo (1) Department of Lbrary and Informaton Studes (2) Department

More information

Sorting: The Big Picture. The steps of QuickSort. QuickSort Example. QuickSort Example. QuickSort Example. Recursive Quicksort

Sorting: The Big Picture. The steps of QuickSort. QuickSort Example. QuickSort Example. QuickSort Example. Recursive Quicksort Sortng: The Bg Pcture Gven n comparable elements n an array, sort them n an ncreasng (or decreasng) order. Smple algorthms: O(n ) Inserton sort Selecton sort Bubble sort Shell sort Fancer algorthms: O(n

More information

Related-Mode Attacks on CTR Encryption Mode

Related-Mode Attacks on CTR Encryption Mode Internatonal Journal of Network Securty, Vol.4, No.3, PP.282 287, May 2007 282 Related-Mode Attacks on CTR Encrypton Mode Dayn Wang, Dongda Ln, and Wenlng Wu (Correspondng author: Dayn Wang) Key Laboratory

More information

CS1100 Introduction to Programming

CS1100 Introduction to Programming Factoral (n) Recursve Program fact(n) = n*fact(n-) CS00 Introducton to Programmng Recurson and Sortng Madhu Mutyam Department of Computer Scence and Engneerng Indan Insttute of Technology Madras nt fact

More information

A Fast Content-Based Multimedia Retrieval Technique Using Compressed Data

A Fast Content-Based Multimedia Retrieval Technique Using Compressed Data A Fast Content-Based Multmeda Retreval Technque Usng Compressed Data Borko Furht and Pornvt Saksobhavvat NSF Multmeda Laboratory Florda Atlantc Unversty, Boca Raton, Florda 3343 ABSTRACT In ths paper,

More information

Tsinghua University at TAC 2009: Summarizing Multi-documents by Information Distance

Tsinghua University at TAC 2009: Summarizing Multi-documents by Information Distance Tsnghua Unversty at TAC 2009: Summarzng Mult-documents by Informaton Dstance Chong Long, Mnle Huang, Xaoyan Zhu State Key Laboratory of Intellgent Technology and Systems, Tsnghua Natonal Laboratory for

More information

Load Balancing for Hex-Cell Interconnection Network

Load Balancing for Hex-Cell Interconnection Network Int. J. Communcatons, Network and System Scences,,, - Publshed Onlne Aprl n ScRes. http://www.scrp.org/journal/jcns http://dx.do.org/./jcns.. Load Balancng for Hex-Cell Interconnecton Network Saher Manaseer,

More information

Module Management Tool in Software Development Organizations

Module Management Tool in Software Development Organizations Journal of Computer Scence (5): 8-, 7 ISSN 59-66 7 Scence Publcatons Management Tool n Software Development Organzatons Ahmad A. Al-Rababah and Mohammad A. Al-Rababah Faculty of IT, Al-Ahlyyah Amman Unversty,

More information

Learning-Based Top-N Selection Query Evaluation over Relational Databases

Learning-Based Top-N Selection Query Evaluation over Relational Databases Learnng-Based Top-N Selecton Query Evaluaton over Relatonal Databases Lang Zhu *, Wey Meng ** * School of Mathematcs and Computer Scence, Hebe Unversty, Baodng, Hebe 071002, Chna, zhu@mal.hbu.edu.cn **

More information

Content Based Image Retrieval Using 2-D Discrete Wavelet with Texture Feature with Different Classifiers

Content Based Image Retrieval Using 2-D Discrete Wavelet with Texture Feature with Different Classifiers IOSR Journal of Electroncs and Communcaton Engneerng (IOSR-JECE) e-issn: 78-834,p- ISSN: 78-8735.Volume 9, Issue, Ver. IV (Mar - Apr. 04), PP 0-07 Content Based Image Retreval Usng -D Dscrete Wavelet wth

More information

News. Recap: While Loop Example. Reading. Recap: Do Loop Example. Recap: For Loop Example

News. Recap: While Loop Example. Reading. Recap: Do Loop Example. Recap: For Loop Example Unversty of Brtsh Columba CPSC, Intro to Computaton Jan-Apr Tamara Munzner News Assgnment correctons to ASCIIArtste.java posted defntely read WebCT bboards Arrays Lecture, Tue Feb based on sldes by Kurt

More information

Type-2 Fuzzy Non-uniform Rational B-spline Model with Type-2 Fuzzy Data

Type-2 Fuzzy Non-uniform Rational B-spline Model with Type-2 Fuzzy Data Malaysan Journal of Mathematcal Scences 11(S) Aprl : 35 46 (2017) Specal Issue: The 2nd Internatonal Conference and Workshop on Mathematcal Analyss (ICWOMA 2016) MALAYSIAN JOURNAL OF MATHEMATICAL SCIENCES

More information

Cluster Analysis of Electrical Behavior

Cluster Analysis of Electrical Behavior Journal of Computer and Communcatons, 205, 3, 88-93 Publshed Onlne May 205 n ScRes. http://www.scrp.org/ournal/cc http://dx.do.org/0.4236/cc.205.350 Cluster Analyss of Electrcal Behavor Ln Lu Ln Lu, School

More information

A Fast Visual Tracking Algorithm Based on Circle Pixels Matching

A Fast Visual Tracking Algorithm Based on Circle Pixels Matching A Fast Vsual Trackng Algorthm Based on Crcle Pxels Matchng Zhqang Hou hou_zhq@sohu.com Chongzhao Han czhan@mal.xjtu.edu.cn Ln Zheng Abstract: A fast vsual trackng algorthm based on crcle pxels matchng

More information

Sorting Review. Sorting. Comparison Sorting. CSE 680 Prof. Roger Crawfis. Assumptions

Sorting Review. Sorting. Comparison Sorting. CSE 680 Prof. Roger Crawfis. Assumptions Sortng Revew Introducton to Algorthms Qucksort CSE 680 Prof. Roger Crawfs Inserton Sort T(n) = Θ(n 2 ) In-place Merge Sort T(n) = Θ(n lg(n)) Not n-place Selecton Sort (from homework) T(n) = Θ(n 2 ) In-place

More information

Private Information Retrieval (PIR)

Private Information Retrieval (PIR) 2 Levente Buttyán Problem formulaton Alce wants to obtan nformaton from a database, but she does not want the database to learn whch nformaton she wanted e.g., Alce s an nvestor queryng a stock-market

More information

Sorting. Sorting. Why Sort? Consistent Ordering

Sorting. Sorting. Why Sort? Consistent Ordering Sortng CSE 6 Data Structures Unt 15 Readng: Sectons.1-. Bubble and Insert sort,.5 Heap sort, Secton..6 Radx sort, Secton.6 Mergesort, Secton. Qucksort, Secton.8 Lower bound Sortng Input an array A of data

More information

Boundary-Based Time Series Sorting

Boundary-Based Time Series Sorting JOURNAL OF ELECTRONIC SCIENCE AND TECHNOLOGY OF CHINA, VOL. 6, NO. 3, SEPTEMBER 2008 323 Boundary-Based Tme Seres Sortng Jun-Ku L, Yuan-Zhen Wang, and Ha-Bo L Abstract In many applcatons, t s desrable

More information

Problem Set 3 Solutions

Problem Set 3 Solutions Introducton to Algorthms October 4, 2002 Massachusetts Insttute of Technology 6046J/18410J Professors Erk Demane and Shaf Goldwasser Handout 14 Problem Set 3 Solutons (Exercses were not to be turned n,

More information

Using Fuzzy Logic to Enhance the Large Size Remote Sensing Images

Using Fuzzy Logic to Enhance the Large Size Remote Sensing Images Internatonal Journal of Informaton and Electroncs Engneerng Vol. 5 No. 6 November 015 Usng Fuzzy Logc to Enhance the Large Sze Remote Sensng Images Trung Nguyen Tu Huy Ngo Hoang and Thoa Vu Van Abstract

More information

Term Weighting Classification System Using the Chi-square Statistic for the Classification Subtask at NTCIR-6 Patent Retrieval Task

Term Weighting Classification System Using the Chi-square Statistic for the Classification Subtask at NTCIR-6 Patent Retrieval Task Proceedngs of NTCIR-6 Workshop Meetng, May 15-18, 2007, Tokyo, Japan Term Weghtng Classfcaton System Usng the Ch-square Statstc for the Classfcaton Subtask at NTCIR-6 Patent Retreval Task Kotaro Hashmoto

More information

CHARUTAR VIDYA MANDAL S SEMCOM Vallabh Vidyanagar

CHARUTAR VIDYA MANDAL S SEMCOM Vallabh Vidyanagar CHARUTAR VIDYA MANDAL S SEMCOM Vallabh Vdyanagar Faculty Name: Am D. Trved Class: SYBCA Subject: US03CBCA03 (Advanced Data & Fle Structure) *UNIT 1 (ARRAYS AND TREES) **INTRODUCTION TO ARRAYS If we want

More information

A KIND OF ROUTING MODEL IN PEER-TO-PEER NETWORK BASED ON SUCCESSFUL ACCESSING RATE

A KIND OF ROUTING MODEL IN PEER-TO-PEER NETWORK BASED ON SUCCESSFUL ACCESSING RATE A KIND OF ROUTING MODEL IN PEER-TO-PEER NETWORK BASED ON SUCCESSFUL ACCESSING RATE 1 TAO LIU, 2 JI-JUN XU 1 College of Informaton Scence and Technology, Zhengzhou Normal Unversty, Chna 2 School of Mathematcs

More information

Description of NTU Approach to NTCIR3 Multilingual Information Retrieval

Description of NTU Approach to NTCIR3 Multilingual Information Retrieval Proceedngs of the Thrd NTCIR Workshop Descrpton of NTU Approach to NTCIR3 Multlngual Informaton Retreval Wen-Cheng Ln and Hsn-Hs Chen Department of Computer Scence and Informaton Engneerng Natonal Tawan

More information

Concurrent Apriori Data Mining Algorithms

Concurrent Apriori Data Mining Algorithms Concurrent Apror Data Mnng Algorthms Vassl Halatchev Department of Electrcal Engneerng and Computer Scence York Unversty, Toronto October 8, 2015 Outlne Why t s mportant Introducton to Assocaton Rule Mnng

More information

Arabic Text Classification Using N-Gram Frequency Statistics A Comparative Study

Arabic Text Classification Using N-Gram Frequency Statistics A Comparative Study Arabc Text Classfcaton Usng N-Gram Frequency Statstcs A Comparatve Study Lala Khresat Dept. of Computer Scence, Math and Physcs Farlegh Dcknson Unversty 285 Madson Ave, Madson NJ 07940 Khresat@fdu.edu

More information

Lobachevsky State University of Nizhni Novgorod. Polyhedron. Quick Start Guide

Lobachevsky State University of Nizhni Novgorod. Polyhedron. Quick Start Guide Lobachevsky State Unversty of Nzhn Novgorod Polyhedron Quck Start Gude Nzhn Novgorod 2016 Contents Specfcaton of Polyhedron software... 3 Theoretcal background... 4 1. Interface of Polyhedron... 6 1.1.

More information

Fast Computation of Shortest Path for Visiting Segments in the Plane

Fast Computation of Shortest Path for Visiting Segments in the Plane Send Orders for Reprnts to reprnts@benthamscence.ae 4 The Open Cybernetcs & Systemcs Journal, 04, 8, 4-9 Open Access Fast Computaton of Shortest Path for Vstng Segments n the Plane Ljuan Wang,, Bo Jang

More information

Compiler Design. Spring Register Allocation. Sample Exercises and Solutions. Prof. Pedro C. Diniz

Compiler Design. Spring Register Allocation. Sample Exercises and Solutions. Prof. Pedro C. Diniz Compler Desgn Sprng 2014 Regster Allocaton Sample Exercses and Solutons Prof. Pedro C. Dnz USC / Informaton Scences Insttute 4676 Admralty Way, Sute 1001 Marna del Rey, Calforna 90292 pedro@s.edu Regster

More information

A Frame Packing Mechanism Using PDO Communication Service within CANopen

A Frame Packing Mechanism Using PDO Communication Service within CANopen 28 A Frame Packng Mechansm Usng PDO Communcaton Servce wthn CANopen Mnkoo Kang and Kejn Park Dvson of Industral & Informaton Systems Engneerng, Ajou Unversty, Suwon, Gyeongg-do, South Korea Summary The

More information

The Shortest Path of Touring Lines given in the Plane

The Shortest Path of Touring Lines given in the Plane Send Orders for Reprnts to reprnts@benthamscence.ae 262 The Open Cybernetcs & Systemcs Journal, 2015, 9, 262-267 The Shortest Path of Tourng Lnes gven n the Plane Open Access Ljuan Wang 1,2, Dandan He

More information

Parallel matrix-vector multiplication

Parallel matrix-vector multiplication Appendx A Parallel matrx-vector multplcaton The reduced transton matrx of the three-dmensonal cage model for gel electrophoress, descrbed n secton 3.2, becomes excessvely large for polymer lengths more

More information

Improvement of Spatial Resolution Using BlockMatching Based Motion Estimation and Frame. Integration

Improvement of Spatial Resolution Using BlockMatching Based Motion Estimation and Frame. Integration Improvement of Spatal Resoluton Usng BlockMatchng Based Moton Estmaton and Frame Integraton Danya Suga and Takayuk Hamamoto Graduate School of Engneerng, Tokyo Unversty of Scence, 6-3-1, Nuku, Katsuska-ku,

More information

Evaluation of an Enhanced Scheme for High-level Nested Network Mobility

Evaluation of an Enhanced Scheme for High-level Nested Network Mobility IJCSNS Internatonal Journal of Computer Scence and Network Securty, VOL.15 No.10, October 2015 1 Evaluaton of an Enhanced Scheme for Hgh-level Nested Network Moblty Mohammed Babker Al Mohammed, Asha Hassan.

More information

Mining User Similarity Using Spatial-temporal Intersection

Mining User Similarity Using Spatial-temporal Intersection www.ijcsi.org 215 Mnng User Smlarty Usng Spatal-temporal Intersecton Ymn Wang 1, Rumn Hu 1, Wenhua Huang 1 and Jun Chen 1 1 Natonal Engneerng Research Center for Multmeda Software, School of Computer,

More information

A New Approach For the Ranking of Fuzzy Sets With Different Heights

A New Approach For the Ranking of Fuzzy Sets With Different Heights New pproach For the ankng of Fuzzy Sets Wth Dfferent Heghts Pushpnder Sngh School of Mathematcs Computer pplcatons Thapar Unversty, Patala-7 00 Inda pushpndersnl@gmalcom STCT ankng of fuzzy sets plays

More information

FEATURE EXTRACTION. Dr. K.Vijayarekha. Associate Dean School of Electrical and Electronics Engineering SASTRA University, Thanjavur

FEATURE EXTRACTION. Dr. K.Vijayarekha. Associate Dean School of Electrical and Electronics Engineering SASTRA University, Thanjavur FEATURE EXTRACTION Dr. K.Vjayarekha Assocate Dean School of Electrcal and Electroncs Engneerng SASTRA Unversty, Thanjavur613 41 Jont Intatve of IITs and IISc Funded by MHRD Page 1 of 8 Table of Contents

More information

Design and Analysis of Algorithms

Design and Analysis of Algorithms Desgn and Analyss of Algorthms Heaps and Heapsort Reference: CLRS Chapter 6 Topcs: Heaps Heapsort Prorty queue Huo Hongwe Recap and overvew The story so far... Inserton sort runnng tme of Θ(n 2 ); sorts

More information

Available online at Available online at Advanced in Control Engineering and Information Science

Available online at   Available online at   Advanced in Control Engineering and Information Science Avalable onlne at wwwscencedrectcom Avalable onlne at wwwscencedrectcom Proceda Proceda Engneerng Engneerng 00 (2011) 15000 000 (2011) 1642 1646 Proceda Engneerng wwwelsevercom/locate/proceda Advanced

More information

Wireless Sensor Network Localization Research

Wireless Sensor Network Localization Research Sensors & Transducers 014 by IFSA Publshng, S L http://wwwsensorsportalcom Wreless Sensor Network Localzaton Research Lang Xn School of Informaton Scence and Engneerng, Hunan Internatonal Economcs Unversty,

More information

A mathematical programming approach to the analysis, design and scheduling of offshore oilfields

A mathematical programming approach to the analysis, design and scheduling of offshore oilfields 17 th European Symposum on Computer Aded Process Engneerng ESCAPE17 V. Plesu and P.S. Agach (Edtors) 2007 Elsever B.V. All rghts reserved. 1 A mathematcal programmng approach to the analyss, desgn and

More information

Improved Resource Allocation Algorithms for Practical Image Encoding in a Ubiquitous Computing Environment

Improved Resource Allocation Algorithms for Practical Image Encoding in a Ubiquitous Computing Environment JOURNAL OF COMPUTERS, VOL. 4, NO. 9, SEPTEMBER 2009 873 Improved Resource Allocaton Algorthms for Practcal Image Encodng n a Ubqutous Computng Envronment Manxong Dong, Long Zheng, Kaoru Ota, Song Guo School

More information

3D vector computer graphics

3D vector computer graphics 3D vector computer graphcs Paolo Varagnolo: freelance engneer Padova Aprl 2016 Prvate Practce ----------------------------------- 1. Introducton Vector 3D model representaton n computer graphcs requres

More information

Mathematics 256 a course in differential equations for engineering students

Mathematics 256 a course in differential equations for engineering students Mathematcs 56 a course n dfferental equatons for engneerng students Chapter 5. More effcent methods of numercal soluton Euler s method s qute neffcent. Because the error s essentally proportonal to the

More information

A Facet Generation Procedure. for solving 0/1 integer programs

A Facet Generation Procedure. for solving 0/1 integer programs A Facet Generaton Procedure for solvng 0/ nteger programs by Gyana R. Parja IBM Corporaton, Poughkeepse, NY 260 Radu Gaddov Emery Worldwde Arlnes, Vandala, Oho 45377 and Wlbert E. Wlhelm Teas A&M Unversty,

More information

For instance, ; the five basic number-sets are increasingly more n A B & B A A = B (1)

For instance, ; the five basic number-sets are increasingly more n A B & B A A = B (1) Secton 1.2 Subsets and the Boolean operatons on sets If every element of the set A s an element of the set B, we say that A s a subset of B, or that A s contaned n B, or that B contans A, and we wrte A

More information

Linear Hashtable Motion Estimation Algorithm for Distributed Video Processing

Linear Hashtable Motion Estimation Algorithm for Distributed Video Processing Lnear Hashtable Moton Estmaton Algorthm for Dstrbuted Vdeo Processng Yunsong Wu 1,, Graham Megson 1 Jangx Scence & Technology ormal Unversty anchang, Chna School of Systems Engneerng, Readng Unversty Readng,

More information

CS240: Programming in C. Lecture 12: Polymorphic Sorting

CS240: Programming in C. Lecture 12: Polymorphic Sorting CS240: Programmng n C ecture 12: Polymorphc Sortng Sortng Gven a collecton of tems and a total order over them, sort the collecton under ths order. Total order: every tem s ordered wth respect to every

More information

Association Rule Mining with Parallel Frequent Pattern Growth Algorithm on Hadoop

Association Rule Mining with Parallel Frequent Pattern Growth Algorithm on Hadoop Assocaton Rule Mnng wth Parallel Frequent Pattern Growth Algorthm on Hadoop Zhgang Wang 1,2, Guqong Luo 3,*,Yong Hu 1,2, ZhenZhen Wang 1 1 School of Software Engneerng Jnlng Insttute of Technology Nanng,

More information

Classic Term Weighting Technique for Mining Web Content Outliers

Classic Term Weighting Technique for Mining Web Content Outliers Internatonal Conference on Computatonal Technques and Artfcal Intellgence (ICCTAI'2012) Penang, Malaysa Classc Term Weghtng Technque for Mnng Web Content Outlers W.R. Wan Zulkfel, N. Mustapha, and A. Mustapha

More information

Maximum Variance Combined with Adaptive Genetic Algorithm for Infrared Image Segmentation

Maximum Variance Combined with Adaptive Genetic Algorithm for Infrared Image Segmentation Internatonal Conference on Logstcs Engneerng, Management and Computer Scence (LEMCS 5) Maxmum Varance Combned wth Adaptve Genetc Algorthm for Infrared Image Segmentaton Huxuan Fu College of Automaton Harbn

More information

More on Sorting: Quick Sort and Heap Sort

More on Sorting: Quick Sort and Heap Sort More on Sortng: Quck Sort and Heap Sort Antono Carzanga Faculty of Informatcs Unversty of Lugano October 12, 2007 c 2006 Antono Carzanga 1 Another dvde-and-conuer sortng algorthm The heap Heap sort Outlne

More information

Meta-heuristics for Multidimensional Knapsack Problems

Meta-heuristics for Multidimensional Knapsack Problems 2012 4th Internatonal Conference on Computer Research and Development IPCSIT vol.39 (2012) (2012) IACSIT Press, Sngapore Meta-heurstcs for Multdmensonal Knapsack Problems Zhbao Man + Computer Scence Department,

More information

Array transposition in CUDA shared memory

Array transposition in CUDA shared memory Array transposton n CUDA shared memory Mke Gles February 19, 2014 Abstract Ths short note s nspred by some code wrtten by Jeremy Appleyard for the transposton of data through shared memory. I had some

More information

Non-Split Restrained Dominating Set of an Interval Graph Using an Algorithm

Non-Split Restrained Dominating Set of an Interval Graph Using an Algorithm Internatonal Journal of Advancements n Research & Technology, Volume, Issue, July- ISS - on-splt Restraned Domnatng Set of an Interval Graph Usng an Algorthm ABSTRACT Dr.A.Sudhakaraah *, E. Gnana Deepka,

More information

Performance Evaluation of Information Retrieval Systems

Performance Evaluation of Information Retrieval Systems Why System Evaluaton? Performance Evaluaton of Informaton Retreval Systems Many sldes n ths secton are adapted from Prof. Joydeep Ghosh (UT ECE) who n turn adapted them from Prof. Dk Lee (Unv. of Scence

More information

Simulation Based Analysis of FAST TCP using OMNET++

Simulation Based Analysis of FAST TCP using OMNET++ Smulaton Based Analyss of FAST TCP usng OMNET++ Umar ul Hassan 04030038@lums.edu.pk Md Term Report CS678 Topcs n Internet Research Sprng, 2006 Introducton Internet traffc s doublng roughly every 3 months

More information

COMPLEX WAVELET TRANSFORM-BASED COLOR INDEXING FOR CONTENT-BASED IMAGE RETRIEVAL

COMPLEX WAVELET TRANSFORM-BASED COLOR INDEXING FOR CONTENT-BASED IMAGE RETRIEVAL COMPLEX WAVELET TRANSFORM-BASED COLOR INDEXING FOR CONTENT-BASED IMAGE RETRIEVAL Nader Safavan and Shohreh Kasae Department of Computer Engneerng Sharf Unversty of Technology Tehran, Iran skasae@sharf.edu

More information

Face Recognition Based on SVM and 2DPCA

Face Recognition Based on SVM and 2DPCA Vol. 4, o. 3, September, 2011 Face Recognton Based on SVM and 2DPCA Tha Hoang Le, Len Bu Faculty of Informaton Technology, HCMC Unversty of Scence Faculty of Informaton Scences and Engneerng, Unversty

More information

A New Feature of Uniformity of Image Texture Directions Coinciding with the Human Eyes Perception 1

A New Feature of Uniformity of Image Texture Directions Coinciding with the Human Eyes Perception 1 A New Feature of Unformty of Image Texture Drectons Concdng wth the Human Eyes Percepton Xng-Jan He, De-Shuang Huang, Yue Zhang, Tat-Mng Lo 2, and Mchael R. Lyu 3 Intellgent Computng Lab, Insttute of Intellgent

More information

Conditional Speculative Decimal Addition*

Conditional Speculative Decimal Addition* Condtonal Speculatve Decmal Addton Alvaro Vazquez and Elsardo Antelo Dep. of Electronc and Computer Engneerng Unv. of Santago de Compostela, Span Ths work was supported n part by Xunta de Galca under grant

More information

Assembler. Building a Modern Computer From First Principles.

Assembler. Building a Modern Computer From First Principles. Assembler Buldng a Modern Computer From Frst Prncples www.nand2tetrs.org Elements of Computng Systems, Nsan & Schocken, MIT Press, www.nand2tetrs.org, Chapter 6: Assembler slde Where we are at: Human Thought

More information

Sum of Linear and Fractional Multiobjective Programming Problem under Fuzzy Rules Constraints

Sum of Linear and Fractional Multiobjective Programming Problem under Fuzzy Rules Constraints Australan Journal of Basc and Appled Scences, 2(4): 1204-1208, 2008 ISSN 1991-8178 Sum of Lnear and Fractonal Multobjectve Programmng Problem under Fuzzy Rules Constrants 1 2 Sanjay Jan and Kalash Lachhwan

More information

Course Introduction. Algorithm 8/31/2017. COSC 320 Advanced Data Structures and Algorithms. COSC 320 Advanced Data Structures and Algorithms

Course Introduction. Algorithm 8/31/2017. COSC 320 Advanced Data Structures and Algorithms. COSC 320 Advanced Data Structures and Algorithms Course Introducton Course Topcs Exams, abs, Proects A quc loo at a few algorthms 1 Advanced Data Structures and Algorthms Descrpton: We are gong to dscuss algorthm complexty analyss, algorthm desgn technques

More information

Efficient Multidimensional Searching Routines for Music Information Retrieval

Efficient Multidimensional Searching Routines for Music Information Retrieval Effcent Multdmensonal Searchng Routnes for Musc Informaton Retreval Josh Ress Jean-Julen ucouturer Mark Sandler Department of Electrcal Engneerng Kng s College London Strand. London WC2 2LR UK Phone: +44

More information

Intro. Iterators. 1. Access

Intro. Iterators. 1. Access Intro Ths mornng I d lke to talk a lttle bt about s and s. We wll start out wth smlartes and dfferences, then we wll see how to draw them n envronment dagrams, and we wll fnsh wth some examples. Happy

More information

Problem Definitions and Evaluation Criteria for Computational Expensive Optimization

Problem Definitions and Evaluation Criteria for Computational Expensive Optimization Problem efntons and Evaluaton Crtera for Computatonal Expensve Optmzaton B. Lu 1, Q. Chen and Q. Zhang 3, J. J. Lang 4, P. N. Suganthan, B. Y. Qu 6 1 epartment of Computng, Glyndwr Unversty, UK Faclty

More information

Constructing Minimum Connected Dominating Set: Algorithmic approach

Constructing Minimum Connected Dominating Set: Algorithmic approach Constructng Mnmum Connected Domnatng Set: Algorthmc approach G.N. Puroht and Usha Sharma Centre for Mathematcal Scences, Banasthal Unversty, Rajasthan 304022 usha.sharma94@yahoo.com Abstract: Connected

More information

NUMERICAL SOLVING OPTIMAL CONTROL PROBLEMS BY THE METHOD OF VARIATIONS

NUMERICAL SOLVING OPTIMAL CONTROL PROBLEMS BY THE METHOD OF VARIATIONS ARPN Journal of Engneerng and Appled Scences 006-017 Asan Research Publshng Network (ARPN). All rghts reserved. NUMERICAL SOLVING OPTIMAL CONTROL PROBLEMS BY THE METHOD OF VARIATIONS Igor Grgoryev, Svetlana

More information

Assignment # 2. Farrukh Jabeen Algorithms 510 Assignment #2 Due Date: June 15, 2009.

Assignment # 2. Farrukh Jabeen Algorithms 510 Assignment #2 Due Date: June 15, 2009. Farrukh Jabeen Algorthms 51 Assgnment #2 Due Date: June 15, 29. Assgnment # 2 Chapter 3 Dscrete Fourer Transforms Implement the FFT for the DFT. Descrbed n sectons 3.1 and 3.2. Delverables: 1. Concse descrpton

More information

An Application of the Dulmage-Mendelsohn Decomposition to Sparse Null Space Bases of Full Row Rank Matrices

An Application of the Dulmage-Mendelsohn Decomposition to Sparse Null Space Bases of Full Row Rank Matrices Internatonal Mathematcal Forum, Vol 7, 2012, no 52, 2549-2554 An Applcaton of the Dulmage-Mendelsohn Decomposton to Sparse Null Space Bases of Full Row Rank Matrces Mostafa Khorramzadeh Department of Mathematcal

More information

Priority queues and heaps Professors Clark F. Olson and Carol Zander

Priority queues and heaps Professors Clark F. Olson and Carol Zander Prorty queues and eaps Professors Clark F. Olson and Carol Zander Prorty queues A common abstract data type (ADT) n computer scence s te prorty queue. As you mgt expect from te name, eac tem n te prorty

More information

R s s f. m y s. SPH3UW Unit 7.3 Spherical Concave Mirrors Page 1 of 12. Notes

R s s f. m y s. SPH3UW Unit 7.3 Spherical Concave Mirrors Page 1 of 12. Notes SPH3UW Unt 7.3 Sphercal Concave Mrrors Page 1 of 1 Notes Physcs Tool box Concave Mrror If the reflectng surface takes place on the nner surface of the sphercal shape so that the centre of the mrror bulges

More information

Semantic Image Retrieval Using Region Based Inverted File

Semantic Image Retrieval Using Region Based Inverted File Semantc Image Retreval Usng Regon Based Inverted Fle Dengsheng Zhang, Md Monrul Islam, Guoun Lu and Jn Hou 2 Gppsland School of Informaton Technology, Monash Unversty Churchll, VIC 3842, Australa E-mal:

More information

Skew Angle Estimation and Correction of Hand Written, Textual and Large areas of Non-Textual Document Images: A Novel Approach

Skew Angle Estimation and Correction of Hand Written, Textual and Large areas of Non-Textual Document Images: A Novel Approach Angle Estmaton and Correcton of Hand Wrtten, Textual and Large areas of Non-Textual Document Images: A Novel Approach D.R.Ramesh Babu Pyush M Kumat Mahesh D Dhannawat PES Insttute of Technology Research

More information

S1 Note. Basis functions.

S1 Note. Basis functions. S1 Note. Bass functons. Contents Types of bass functons...1 The Fourer bass...2 B-splne bass...3 Power and type I error rates wth dfferent numbers of bass functons...4 Table S1. Smulaton results of type

More information

Virtual Memory. Background. No. 10. Virtual Memory: concept. Logical Memory Space (review) Demand Paging(1) Virtual Memory

Virtual Memory. Background. No. 10. Virtual Memory: concept. Logical Memory Space (review) Demand Paging(1) Virtual Memory Background EECS. Operatng System Fundamentals No. Vrtual Memory Prof. Hu Jang Department of Electrcal Engneerng and Computer Scence, York Unversty Memory-management methods normally requres the entre process

More information

3D Virtual Eyeglass Frames Modeling from Multiple Camera Image Data Based on the GFFD Deformation Method

3D Virtual Eyeglass Frames Modeling from Multiple Camera Image Data Based on the GFFD Deformation Method NICOGRAPH Internatonal 2012, pp. 114-119 3D Vrtual Eyeglass Frames Modelng from Multple Camera Image Data Based on the GFFD Deformaton Method Norak Tamura, Somsangouane Sngthemphone and Katsuhro Ktama

More information

Fuzzy C-Means Initialized by Fixed Threshold Clustering for Improving Image Retrieval

Fuzzy C-Means Initialized by Fixed Threshold Clustering for Improving Image Retrieval Fuzzy -Means Intalzed by Fxed Threshold lusterng for Improvng Image Retreval NAWARA HANSIRI, SIRIPORN SUPRATID,HOM KIMPAN 3 Faculty of Informaton Technology Rangst Unversty Muang-Ake, Paholyotn Road, Patumtan,

More information

The stream cipher MICKEY-128 (version 1) Algorithm specification issue 1.0

The stream cipher MICKEY-128 (version 1) Algorithm specification issue 1.0 The stream cpher MICKEY-128 (verson 1 Algorthm specfcaton ssue 1. Steve Babbage Vodafone Group R&D, Newbury, UK steve.babbage@vodafone.com Matthew Dodd Independent consultant matthew@mdodd.net www.mdodd.net

More information

Machine Learning: Algorithms and Applications

Machine Learning: Algorithms and Applications 14/05/1 Machne Learnng: Algorthms and Applcatons Florano Zn Free Unversty of Bozen-Bolzano Faculty of Computer Scence Academc Year 011-01 Lecture 10: 14 May 01 Unsupervsed Learnng cont Sldes courtesy of

More information

A high precision collaborative vision measurement of gear chamfering profile

A high precision collaborative vision measurement of gear chamfering profile Internatonal Conference on Advances n Mechancal Engneerng and Industral Informatcs (AMEII 05) A hgh precson collaboratve vson measurement of gear chamferng profle Conglng Zhou, a, Zengpu Xu, b, Chunmng

More information

Ontology Generator from Relational Database Based on Jena

Ontology Generator from Relational Database Based on Jena Computer and Informaton Scence Vol. 3, No. 2; May 2010 Ontology Generator from Relatonal Database Based on Jena Shufeng Zhou (Correspondng author) College of Mathematcs Scence, Laocheng Unversty No.34

More information

SLAM Summer School 2006 Practical 2: SLAM using Monocular Vision

SLAM Summer School 2006 Practical 2: SLAM using Monocular Vision SLAM Summer School 2006 Practcal 2: SLAM usng Monocular Vson Javer Cvera, Unversty of Zaragoza Andrew J. Davson, Imperal College London J.M.M Montel, Unversty of Zaragoza. josemar@unzar.es, jcvera@unzar.es,

More information

Brave New World Pseudocode Reference

Brave New World Pseudocode Reference Brave New World Pseudocode Reference Pseudocode s a way to descrbe how to accomplsh tasks usng basc steps lke those a computer mght perform. In ths week s lab, you'll see how a form of pseudocode can be

More information

Pruning Training Corpus to Speedup Text Classification 1

Pruning Training Corpus to Speedup Text Classification 1 Prunng Tranng Corpus to Speedup Text Classfcaton Jhong Guan and Shugeng Zhou School of Computer Scence, Wuhan Unversty, Wuhan, 430079, Chna hguan@wtusm.edu.cn State Key Lab of Software Engneerng, Wuhan

More information

Parallel Implementation of Classification Algorithms Based on Cloud Computing Environment

Parallel Implementation of Classification Algorithms Based on Cloud Computing Environment TELKOMNIKA, Vol.10, No.5, September 2012, pp. 1087~1092 e-issn: 2087-278X accredted by DGHE (DIKTI), Decree No: 51/Dkt/Kep/2010 1087 Parallel Implementaton of Classfcaton Algorthms Based on Cloud Computng

More information

F Geometric Mean Graphs

F Geometric Mean Graphs Avalable at http://pvamu.edu/aam Appl. Appl. Math. ISSN: 1932-9466 Vol. 10, Issue 2 (December 2015), pp. 937-952 Applcatons and Appled Mathematcs: An Internatonal Journal (AAM) F Geometrc Mean Graphs A.

More information