High-Speed Computation of the Kleene Star in Max-Plus Algebra Using a Cell Broadband Engine

Size: px
Start display at page:

Download "High-Speed Computation of the Kleene Star in Max-Plus Algebra Using a Cell Broadband Engine"

Transcription

1 Proceedigs of the 9th WSEAS Iteratioal Coferece o APPLICATIONS of COMPUTER ENGINEERING High-Speed Computatio of the Kleee Star i Max-Plus Algebra Usig a Cell Broadbad Egie HIROYUKI GOTO ad TAKAHIRO ICHIGE Departmet of Maagemet ad Iformatio Systems Egieerig Nagaoa Uiversity of Techology Kamitomioamachi, Nagaoa, Niigata JAPAN {hgoto@js, s83354@ics}.agaoaut.ac.jp Abstract: - This research addresses a high-speed computatio method for the Kleee Star of the weighted adjacecy matrix i max-plus algebraic system. We focus o systems whose precedece costraits are represeted by a directed acyclic graph (DAG), ad implemet o a Cell Broadbad Egie (CBE) processor. Usig the implemetatio o a Soy Playstatio3 (PS3) equipped with a CBE processor, we attempt to achieve a speedup by usig two approaches: parallelizatio ad SIMDizatio (Sigle Istructio, Multiple Data). We foud that the SIMDizatio is effective regardless of the system s size ad the umber of processor cores used, ad that the scalability of usig multiple cores is remarable especially for systems with large umber of odes. Key-Words: - Directed acyclic graph, max-plus algebra, parallel processig, SIMD; Cell Broadbad Egie 1 Itroductio This research aims to develop a fast computatio method for the trasitio matrix i a state-equatio i max-plus algebra [1]. For the computatio, we use a processor called the Cell Broadbad Egie [2], [3] which has istructios for vector operatios ad parallel processig. We assume that the precedece relatioships of the system are described by a Directed Acyclic Graph. The behavior of this class ca be represeted by a pair of simple equatios i max-plus algebra, referred to as the state ad output equatios. Sice this is similar to the represetatio i moder cotrol theory, a umber of research developmets i moder cotrol theory have bee applied to various ids of schedulig problems [4], [5]. The bottleec of computig the equatios is i the trasitio matrix of the state equatio. The matrix is obtaied by applyig the Kleee Star [1] operator to the adjacecy matrix. For efficiet computatio, algorithms with O( ( + m)) time complexity have bee proposed [6], [7], where ad m represet the system size ad the umber of precedece costraits, respectively. I particular, the algorithm proposed i [7] has the followig attractive features: Partitioig ca be carried out by arbitrary colum. The resultig matrix is obtaied row by row. However, the paper oly presets a implemetatio usig a sigle processor, thereby the above advatages are ot cosidered. As such, this research addresses a implemetatio usig SIMD istructios [8] ad multiple cores i parallel, both of which are available o the CBE. We mae experimets o a Soy Playstatio3 equipped with a CBE. 2 Mathematical Prelimiaries 2.1 Max-plus algebra Defie a field R max R { }, where R represets the real field. Operators for additio ad multiplicatio are defied as: x y = max( x, y), x y = x + y. Deote the uit elemets for these by ε ( = ) ad e (= ), respectively. The priority of is higher tha, ad it is abbreviated if o cofusio is liely to arise. For a operatio o multiple umbers, if m, = m x = max( xm, xm + 1, L, x ). For matrices, [] represets the ( i, j) th elemet of matrix. If m l, Y R max ad Z R max, [ Y] = [ ] [Y ], [ Z] = = 1[ ] i [ Z] j. Let the uit matrices for operators ad be deoted by ε ad e, respectively. ε is a matrix, all elemets of which ISSN: ISBN:

2 Proceedigs of the 9th WSEAS Iteratioal Coferece o APPLICATIONS of COMPUTER ENGINEERING are ε, whereas e is a matrix, all diagoal elemets of which are e ad all off-diagoal elemets are ε. 2.2 State equatio ad Kleee star Terms for maufacturig systems are used to facilitate uderstadig. Let the umber of facilities be, ad the job umber be. The the processig completio times of job i all facilities is deoted by x () ad the costraits regardig their miimum values by u (). Uder these otatios, the state equatio is expressed as follows [1]: x( ) = A [ x( 1) u( )], (1) where x () ad u () are also referred to as the state ad iput vectors, respectively. A is ow as the system or trasitio matrix. With the help of Eq. (1), the earliest times of evets for job ca be obtaied. Let the list of precedig facilities of facility i ( 1 i ) be P (i), ad the processig times of job be d (). Suppose the precedece costraits with respect to the processig order relatio are give by the followig adjacecy matrix: [ F ] = { e : j P( i), ε P( i)}. I terms of graph theory, facilities ad precedece costraits correspod to odes ad arcs, respectively. It is ow that the system matrix A ca be represeted as A = P, where P = diag[ d( )] ad = F P. is also referred to as a weighted adjacecy matrix. Operator is called the Kleee Star. With a calculatio of the Kleee Star, reachabilities betwee two arbitrary facilities ca be idetified ad propagatio times of evets be calculated. Let the weighted adjacecy matrix be deoted simply by. If the precedece costraits of the system are represeted by a DAG, the Kleee Star is calculated as: s 1 l s 1 = = e L, (2) l= s 1 s where ε, = ε ( 1 s ), ad s depeds o the precedece costraits of the system. i Eq. (2) has the followig properties: [ ] τ = ε e : if ode i is reachable from ode j, : if ode i is ot reachable from ode j, : if i = j, where τ is the sum of the weights of arcs from ode j to ode i. If there are multiple paths betwee two odes, it gives the maximum value. 3 Implemetatio o a CBE 3.1 Structure of the CBE We briefly overview of the structure of the CBE istalled o a PS3. I the CBE processor, there is a all-purpose processor called a PPE (PowerPC Processor Elemet), ad eight processors called SPEs (Syergetic Processor Elemets). Of these SPEs, the umber available i Liux is six. The PPE is a 64-bit processor with a PowerPC architecture, that drives the operatig system, as well as beig i cotrol of the SPEs. O the other had, the SPE is a processor with 128-bit registers that supports SIMD operatios, which allow multiple elemets to be calculated with a sigle istructio. I a operatio o 32-bit float variables, four elemets ca be calculated. For the mai memory, the processor is equipped with 256MB of fast memory, called DR (etreme Data Rate) DRAM. Each SPE has 256KB iteral RAM, ow as the LS (Local Store) which ca be accessed from the correspodig SPE very quicly. Data trasfer betwee the LS ad DR is accomplished by DMA trasfer through a iterface called the MFC (Memory Flow Cotroller). 3.2 Outlie of the algorithm Let the weighted adjacecy matrix be. First, we carry out a topological sort [9]. If ode j is located upstream of ode i physically, we deote this by j p i. Moreover, we deote the idex of ode i after the topological sort by î. A topological sort is a method for sortig the odes such that: if j p i, ˆ j < iˆ. If we adopt the DFS (Depth First Search) algorithm, the time complexity is O( + m), where ad m represet the umber of odes ad arcs, respectively. Note that the result is ot uique ad depeds o the implemetatio. Next, we calculate the values of from the topologically upstream odes to the dowstream odes. First, the wor matrix Z is iitialized as Z e. For the i th ode i topological order, let the ISSN: ISBN:

3 Proceedigs of the 9th WSEAS Iteratioal Coferece o APPLICATIONS of COMPUTER ENGINEERING origial ode umber be deoted by i. Moreover, let the collectio of succeedig odes of ode ~ ~ l be S (l ). The, we update the wor matrix Z accordig to the followig procedure: [ Z] i j [ Z] i j [ ] ~ [ Z]~, il l j ~ for all i S(l ) ad j ( 1 j ). (3) This is repeated for all ~ l ( 1 l ) by icremetig l. After this procedure, the values of are stored i Z. 3.3 Iteral represetatio of matrices As the iteral represetatio of the matrices, this research adopts the method proposed i [1]. We use four-byte float variables for represetig values. The elemets of vectors ad matrices are stored i a oe-dimesioal array, ad those for matrices are i a row-major order. This structure is stadard i several laguages such as C, but differs slightly i respect of the followig: A uit bloc is defied as 16 bytes, which is equal to the size of the registers i the SPE. Ay o-square matrix is exteded to a square matrix. The umber of rows ad colums are rouded up to a multiple of 4. The exteded verbose elemets are iitialized to ε. The iteral structure of the m matrix is illustrated i Fig. 1, where x y represets the value of x rouded-up to a multiple of y. To represet a colum vector, we prepare a array for a row vector with the same size, ad distiguish its type by attachig a attributio variable. With regards the secod feature above, extedig rows ad colums is aalogous to addig dummy odes, which does ot participate i ay calculatios of the target odes. 1 bloc 4 b = ( m ) / 4 blocs ε m 4 b rows Fig. 1. Iteral structure of a matrix. 3.4 Allocatio of SPEs As metioed earlier, each SPE o the CBE istalled o a PS3 has 256KB memory as the LS, which meas that all the elemets of a large-scale matrix caot be hadled by a sigle SPE at oe time. Thus, this research divides the problem ito several blocs. We partitio the wor matrix depicted i Fig. 1 ito several vertically log matrices, where each partitio is assiged to oe SPE. Let the umber of odes ad SPEs allocated be ad p ( 6), respectively. For the maximum umber of colums that a sigle SPE ca store i the available LS, let the value trucated to a multiple of 4 be s. We eforce each SPE to process for 4 = / p colums. If > s, the SPEs have to compute the resultig partial matrices step by step. 3.5 Details of the algorithm We cosider a method for creatig a list of arcs for a adjacecy matrix, amely a adjacecy list. This is required as pre-processig for the topological sort. The set of succeedig odes S ( j) for ode j is obtaied as follows: S ( j) { i [ ] ε}. (4) = First, we partitio the iput matrix ito vertically log bloc matrices as show i Fig. 2. Each of these is allocated to oe SPE, where is rouded dow to a multiple of 4 to comply with the SIMDizatio. For each partitioed bloc matrix, we ispect whether or ot [ ] = ε holds for all 1 j, ad repeat this for all i ( 1 i ). This process is equivalet to ispectig whether or ot i is icluded i the set S ( j) i Eq. (4). The we store the ispectio results i a array of usiged short type. Let us deote this array by U hereafter. I the first elemet of the i th row of U, the umber of elemets of S ( j) is stored, ad the cotets of S ( j) are stored i the succeedig elemets. After the ispectio process for all rows, the resultig matrix is trasferred from the SPE to the PPE. O the other had, the PPE waits util all trasfers of the resultig matrices from the SPEs have bee completed. Subsequetly, we carry out a topological sort based o the DFS algorithm. We have built a experimetal implemetatio usig oly a PPE ad ISSN: ISBN:

4 Proceedigs of the 9th WSEAS Iteratioal Coferece o APPLICATIONS of COMPUTER ENGINEERING measured the computatio time thereof. Sice the time for the sort is much smaller tha the time for computig, we perform the topological sort usig oly the PPE. We deote the array storig the result of the sort by T. Next, for all sets ( i, j) that satisfy [ ] ε, we create lists of the succeedig odes S ( j) for ode j ad the weights of arcs [ ]. These are created sequetially from topologically upstream odes to dowstream odes with respect to j. Let the lists be deoted by N, L ad W, where the first two lists ad the latter oe are arrays of usiged short ad float types, respectively. N ad L hold a list of the umber of succeedig odes ad the correspodig ode umbers, respectively. The former list is created from the first elemets of each row i U whilst the latter is from the succeedig elemets. This is performed i the topological order specified by T. Moreover, cosider creatig W that holds the weights of the arcs. The weights are obtaied from [ ], where i ad j represet the precedig ad succeedig ode umber give by the elemet of T ad L, respectively. For the performace of creatig the above four lists, we have built a experimetal implemetatio usig oly a PPE. Sice the computatio time for creatig these is much smaller tha the overall computatio, we calculate this part usig the PPE oly. The above lists are passed to all SPEs for use i calculatig the partial matrices of. The, the partial matrix of is computed based o Eq. (3). O the SPE side, we dyamically allocate a data area for storig the partial matrix show i Fig. 2, ad iitialize the elemets to be a partial matrix of the uit matrix e. Next, we update the values of the partial matrix based o Eq. (3), where j is executed oly for the allocated colums. Moreover, if > s p, the update is carried out for s colums at oe time, ad this is repeated multiple times. 4 rows colums SPE 1 SPE 2 SPE p Fig. 2. Allocatios to multiple SPEs. 3.6 SIMDizatio We use multiple SPEs i the followig two procedures: Geeratig a adjacecy list from the weighted adjacecy matrix, equivalet to the set of succeedig odes S. Calculatig a partial matrix of from lists T, N, L ad W. With respect to the first issue, cosider the partial matrix of the weighted adjacecy matrix show i Fig. 2. I each SPE, the values of [ ] ( 1 j ) are ispected at every trasfer of a row from the PPE. If a value is aythig other tha ε, we icremet the ( j,1) th elemet of the array i U, ad the apped the ode umber i to the last positio of the correspodig row. We ca utilize SIMD istructios for the ispectio irrespective of whether or ot the elemets are ε. With respect to the secod issue, every SPE has the same lists T, N, L ad W, ad each calculates the values of the assiged colums of. Accordig to Eq. (3), the values are obtaied sequetially from the topologically upstream odes to the dowstream odes. The essece of this procedure cosists of a simple operatio i which the values of the i th row multiplied by a costat are added to other rows. Thus, a SIMDizatio of this procedure is straightforward. Moreover, we pay attetio to the feature that, at the start of processig the i th row, the correspodig row will ot be chaged ay more. This meas that the values of the i th row of are already fixed before processig the i th row. Accordigly, if we issue a trasfer commad to the PPE i o-blocig mode before processig the i th row, we ca reduce the computatio time. ISSN: ISBN:

5 Proceedigs of the 9th WSEAS Iteratioal Coferece o APPLICATIONS of COMPUTER ENGINEERING 3.7 Overall flow We cofirm the overall flow of the proposed method. Fig. 3 gives a flowchart of the overall process of calculatig after the weighted adjacecy matrix has bee give, ad defies the roles of the PPE ad SPEs. I the calculatio of, each SPE is ivoed twice. The first time is to create a list of succeedig odes ad to retur the result to the PPE. O the PPE side, barrier sychroizatio is performed whilst receivig the results from all the SPEs. The secod ivocatio is to calculate a partial matrix of, with the result retured to the PPE row by row i o-blocig mode for every process of oe row. O the PPE side, barrier sychroizatio is oce agai performed to receive the results from all the SPEs. Sice the required size of worig memory differs betwee the first ad secod ivocatios, the maximum umber of colums that a SPE ca hadle at oe time, s, may differ. give Start determie, p partitio to,,l 1 2 barrier topological sort T create lists N LW determie, p barrier retur ed PPE SPE1 SPE2 1 2 adjacecy list calculate wait for a request 1 U 1 U 2 wait for the ext request 2 Fig. 3. Roles of the PPE ad SPEs i computig. 4 Performace Evaluatio The speedup effect of SIMDizatio ad parallelizatio is examied. The executio eviromet is a Soy Playstatio III, ruig Fedora Core 1. We use gcc as the compiler ad the CELL Software Developmet Kit (SDK) Versio.3.1. The followig commads are used for compilig programs for the PPE ad SPEs: PPE: ppu-gcc: -O3 m64 maltivec mabi=altivec SPE: spu-gcc: -O3 We reserve 128KB of memory i the LS of a SPE for the data area, which is shared by the partial matrix ad the lists for succeedig odes. For the maximum size of lists L ad W, we limit the maximum elemets to 496. Regardig the system s size, we cosider cases where the umber of odes are = 1, 2, 4, 1 ad 2. For the adjacecy matrix F, we attach the costrait i j with a probability of.5 for all pairs of ( i, j) that satisfy ip j. This meas that the umber of arcs is m ( 1) / 4 +. The, we sort the idexes of odes radomly ad use the resultig matrix as the adjacecy matrix F. For the diagoal matrix P that represets the weights of odes, suppose the diagoal elemets obey the ormal uiform distributio [,1]. We measure the computatio time of calculatig from the time whe ( = FP ) is give. This measuremet is executed te times, ad the average time is adopted. Tables 1 ad 2 show the computatio times of the SIMDized ad o-simdized fuctios, respectively. The uit used i all cases is microsecods. The first colums represet the umber of SPEs allocated, equivalet to p. Regardig p = 1, the computatio times icrease 3 i proportio to roughly. This would because the umber of arcs is m ( 1) / 4 + ad thus the computatio time complexity is O( 3 ). I respect to the effect of usig multiple SPEs, the computatio times are reduced as p icreases. We ow examie speedup effects of the help of usig multiple SPEs. By defiig a idex for evaluatig scalability as: Computatio time usig a SPE / Computatio time usig p SPEs, ISSN: ISBN:

6 Proceedigs of the 9th WSEAS Iteratioal Coferece o APPLICATIONS of COMPUTER ENGINEERING the idex is calculated for all cases based o Table 1. Figure 4 depicts the speedup effects of usig multiple SPEs. For large scale systems = 1 ad = 2, the performace curves icrease almost liearly, ad the scalability idices for p = 6 are 4.54 ad 5.2, respectively. Thus, the proposed algorithm would be eough scalable for large scale systems. For smaller-scale systems 4, the curves icrease but ot that remarable compared with the large-scale oes. I additio, they are liely to saturate aroud 4 p 7. This would because the relevat overheads regardig the cotrol of the SPEs ad the DMA trasfers become relatively large. Table 1. Computatio times of the SIMDized fuctio. SPE s ,732 39, ,816 6,957, ,769 24,47 356,795 3,64, ,213 19, ,142 2,513, ,954 14,446 27,17 1,949, ,748 14, ,75 1,627, ,678 14, ,21 1,385,228 Table 2. Computatio times of the o-simdized fuctio. SPE s ,351 33, ,486 3,234,94 27,269, ,847 13, ,751 1,652,351 13,972,26 3 1,382 9,288 1,715 1,121,28 9,42, ,127 7,454 68,69 894,86 7,135, ,97 69,394 74,23 5,836, ,464 69, ,397 4,843,476 Speedup effect =1 =2 =4 =1 = Number of SPEs Fig. 4. Speedup effects of the SIMDized algorithm. 5 Coclusio This research has ivestigated the speedup effect of calculatig the Kleee Star for a weighted adjacecy matrix of a DAG type i max-plus algebraic system. By implemetig a program adapted for a Cell Broadbad Egie processor, the overall results of the umerical experimets idicate that the computatio time ca be reduced if we use multiple SPEs ad perform SIMDizatio. Refereces: [1] B. Heidergott, G. J. Olsder, ad L. Woude, Max Plus at Wor: Modelig ad Aalysis of Sychroized Systems, Priceto Uiversity Press, New Jersey, 26. [2] J. Kahle, M. Day, H. Hofstee, C. Johs, T. Maeurer, ad D. Shippy, Itroductio to The Cell Multiprocessor, IBM Joural of Research ad Developmet, Vol.49, No.4/5, 25, pp [3] M. Scarpio, Programmig The Cell Processor: for Games, Graphics, ad Computatio, Pretice Hall, New Yor, 28. [4] G. Schullerus, V. Krebs, B. De Schutter, ad T. Boom, Iput Sigal Desig for Idetificatio of Max-Plus-Liear-Systems, Automatica, Vol.42, No.6, 26, pp [5] R. Goverde, Railway Timetable Stability Aalysis Usig Max-Plus System Theory, Trasportatio Research Part B, Vol.41, No.2, 27, pp [6] H. Goto, Efficiet Calculatio of the Trasitio Matrix i a Max-Plus Liear State-Space Represetatio, IEICE Trasactios o Fudametals, Vol.E91-A, No.5, 28, pp [7] H. Goto ad H. Taahashi, Fast Computatio Methods for the Kleee Star i Max-Plus Liear Systems with a DAG Structure, IEICE Trasactios o Fudametals, Vol.E92-A, No.11, 29, pp [8] P. Cocshott ad K. Refrew, SIMD Programmig Maual for Liux ad Widows, Spriger, Heidelberg, 24. [9] T. Corme ad C. Leiserso, Itroductio to Algorithms, MIT Press, Massachusetts, 21. [1] H. Goto ad A. Kawamiami, A Efficiet Solver for Schedulig Problems o a Class of Discrete Evet Systems Usig CELL/B.E. Processor, Proceedigs of the 9th Iteratioal Coferece of Itelliget Systems Desig ad Applicatios, 29, pp ISSN: ISBN:

Ones Assignment Method for Solving Traveling Salesman Problem

Ones Assignment Method for Solving Traveling Salesman Problem Joural of mathematics ad computer sciece 0 (0), 58-65 Oes Assigmet Method for Solvig Travelig Salesma Problem Hadi Basirzadeh Departmet of Mathematics, Shahid Chamra Uiversity, Ahvaz, Ira Article history:

More information

CSC 220: Computer Organization Unit 11 Basic Computer Organization and Design

CSC 220: Computer Organization Unit 11 Basic Computer Organization and Design College of Computer ad Iformatio Scieces Departmet of Computer Sciece CSC 220: Computer Orgaizatio Uit 11 Basic Computer Orgaizatio ad Desig 1 For the rest of the semester, we ll focus o computer architecture:

More information

Fast Fourier Transform (FFT) Algorithms

Fast Fourier Transform (FFT) Algorithms Fast Fourier Trasform FFT Algorithms Relatio to the z-trasform elsewhere, ozero, z x z X x [ ] 2 ~ elsewhere,, ~ e j x X x x π j e z z X X π 2 ~ The DFS X represets evely spaced samples of the z- trasform

More information

Lecture 1: Introduction and Strassen s Algorithm

Lecture 1: Introduction and Strassen s Algorithm 5-750: Graduate Algorithms Jauary 7, 08 Lecture : Itroductio ad Strasse s Algorithm Lecturer: Gary Miller Scribe: Robert Parker Itroductio Machie models I this class, we will primarily use the Radom Access

More information

Bayesian approach to reliability modelling for a probability of failure on demand parameter

Bayesian approach to reliability modelling for a probability of failure on demand parameter Bayesia approach to reliability modellig for a probability of failure o demad parameter BÖRCSÖK J., SCHAEFER S. Departmet of Computer Architecture ad System Programmig Uiversity Kassel, Wilhelmshöher Allee

More information

Elementary Educational Computer

Elementary Educational Computer Chapter 5 Elemetary Educatioal Computer. Geeral structure of the Elemetary Educatioal Computer (EEC) The EEC coforms to the 5 uits structure defied by vo Neuma's model (.) All uits are preseted i a simplified

More information

A New Morphological 3D Shape Decomposition: Grayscale Interframe Interpolation Method

A New Morphological 3D Shape Decomposition: Grayscale Interframe Interpolation Method A ew Morphological 3D Shape Decompositio: Grayscale Iterframe Iterpolatio Method D.. Vizireau Politehica Uiversity Bucharest, Romaia ae@comm.pub.ro R. M. Udrea Politehica Uiversity Bucharest, Romaia mihea@comm.pub.ro

More information

Lecture Notes 6 Introduction to algorithm analysis CSS 501 Data Structures and Object-Oriented Programming

Lecture Notes 6 Introduction to algorithm analysis CSS 501 Data Structures and Object-Oriented Programming Lecture Notes 6 Itroductio to algorithm aalysis CSS 501 Data Structures ad Object-Orieted Programmig Readig for this lecture: Carrao, Chapter 10 To be covered i this lecture: Itroductio to algorithm aalysis

More information

Outline and Reading. Analysis of Algorithms. Running Time. Experimental Studies. Limitations of Experiments. Theoretical Analysis

Outline and Reading. Analysis of Algorithms. Running Time. Experimental Studies. Limitations of Experiments. Theoretical Analysis Outlie ad Readig Aalysis of Algorithms Iput Algorithm Output Ruig time ( 3.) Pseudo-code ( 3.2) Coutig primitive operatios ( 3.3-3.) Asymptotic otatio ( 3.6) Asymptotic aalysis ( 3.7) Case study Aalysis

More information

Analysis Metrics. Intro to Algorithm Analysis. Slides. 12. Alg Analysis. 12. Alg Analysis

Analysis Metrics. Intro to Algorithm Analysis. Slides. 12. Alg Analysis. 12. Alg Analysis Itro to Algorithm Aalysis Aalysis Metrics Slides. Table of Cotets. Aalysis Metrics 3. Exact Aalysis Rules 4. Simple Summatio 5. Summatio Formulas 6. Order of Magitude 7. Big-O otatio 8. Big-O Theorems

More information

A SOFTWARE MODEL FOR THE MULTILAYER PERCEPTRON

A SOFTWARE MODEL FOR THE MULTILAYER PERCEPTRON A SOFTWARE MODEL FOR THE MULTILAYER PERCEPTRON Roberto Lopez ad Eugeio Oñate Iteratioal Ceter for Numerical Methods i Egieerig (CIMNE) Edificio C1, Gra Capitá s/, 08034 Barceloa, Spai ABSTRACT I this work

More information

Redundancy Allocation for Series Parallel Systems with Multiple Constraints and Sensitivity Analysis

Redundancy Allocation for Series Parallel Systems with Multiple Constraints and Sensitivity Analysis IOSR Joural of Egieerig Redudacy Allocatio for Series Parallel Systems with Multiple Costraits ad Sesitivity Aalysis S. V. Suresh Babu, D.Maheswar 2, G. Ragaath 3 Y.Viaya Kumar d G.Sakaraiah e (Mechaical

More information

Running Time. Analysis of Algorithms. Experimental Studies. Limitations of Experiments

Running Time. Analysis of Algorithms. Experimental Studies. Limitations of Experiments Ruig Time Aalysis of Algorithms Iput Algorithm Output A algorithm is a step-by-step procedure for solvig a problem i a fiite amout of time. Most algorithms trasform iput objects ito output objects. The

More information

Copyright 2016 Ramez Elmasri and Shamkant B. Navathe

Copyright 2016 Ramez Elmasri and Shamkant B. Navathe Copyright 2016 Ramez Elmasri ad Shamkat B. Navathe CHAPTER 19 Query Optimizatio Copyright 2016 Ramez Elmasri ad Shamkat B. Navathe Itroductio Query optimizatio Coducted by a query optimizer i a DBMS Goal:

More information

3D Model Retrieval Method Based on Sample Prediction

3D Model Retrieval Method Based on Sample Prediction 20 Iteratioal Coferece o Computer Commuicatio ad Maagemet Proc.of CSIT vol.5 (20) (20) IACSIT Press, Sigapore 3D Model Retrieval Method Based o Sample Predictio Qigche Zhag, Ya Tag* School of Computer

More information

Data Structures and Algorithms. Analysis of Algorithms

Data Structures and Algorithms. Analysis of Algorithms Data Structures ad Algorithms Aalysis of Algorithms Outlie Ruig time Pseudo-code Big-oh otatio Big-theta otatio Big-omega otatio Asymptotic algorithm aalysis Aalysis of Algorithms Iput Algorithm Output

More information

Heaps. Presentation for use with the textbook Algorithm Design and Applications, by M. T. Goodrich and R. Tamassia, Wiley, 2015

Heaps. Presentation for use with the textbook Algorithm Design and Applications, by M. T. Goodrich and R. Tamassia, Wiley, 2015 Presetatio for use with the textbook Algorithm Desig ad Applicatios, by M. T. Goodrich ad R. Tamassia, Wiley, 201 Heaps 201 Goodrich ad Tamassia xkcd. http://xkcd.com/83/. Tree. Used with permissio uder

More information

The Magma Database file formats

The Magma Database file formats The Magma Database file formats Adrew Gaylard, Bret Pikey, ad Mart-Mari Breedt Johaesburg, South Africa 15th May 2006 1 Summary Magma is a ope-source object database created by Chris Muller, of Kasas City,

More information

Copyright 2016 Ramez Elmasri and Shamkant B. Navathe

Copyright 2016 Ramez Elmasri and Shamkant B. Navathe Copyright 2016 Ramez Elmasri ad Shamkat B. Navathe CHAPTER 18 Strategies for Query Processig Copyright 2016 Ramez Elmasri ad Shamkat B. Navathe Itroductio DBMS techiques to process a query Scaer idetifies

More information

Chapter 3 Classification of FFT Processor Algorithms

Chapter 3 Classification of FFT Processor Algorithms Chapter Classificatio of FFT Processor Algorithms The computatioal complexity of the Discrete Fourier trasform (DFT) is very high. It requires () 2 complex multiplicatios ad () complex additios [5]. As

More information

Running Time ( 3.1) Analysis of Algorithms. Experimental Studies. Limitations of Experiments

Running Time ( 3.1) Analysis of Algorithms. Experimental Studies. Limitations of Experiments Ruig Time ( 3.1) Aalysis of Algorithms Iput Algorithm Output A algorithm is a step- by- step procedure for solvig a problem i a fiite amout of time. Most algorithms trasform iput objects ito output objects.

More information

Analysis of Algorithms

Analysis of Algorithms Aalysis of Algorithms Iput Algorithm Output A algorithm is a step-by-step procedure for solvig a problem i a fiite amout of time. Ruig Time Most algorithms trasform iput objects ito output objects. The

More information

Improvement of the Orthogonal Code Convolution Capabilities Using FPGA Implementation

Improvement of the Orthogonal Code Convolution Capabilities Using FPGA Implementation Improvemet of the Orthogoal Code Covolutio Capabilities Usig FPGA Implemetatio Naima Kaabouch, Member, IEEE, Apara Dhirde, Member, IEEE, Saleh Faruque, Member, IEEE Departmet of Electrical Egieerig, Uiversity

More information

EE260: Digital Design, Spring /16/18. n Example: m 0 (=x 1 x 2 ) is adjacent to m 1 (=x 1 x 2 ) and m 2 (=x 1 x 2 ) but NOT m 3 (=x 1 x 2 )

EE260: Digital Design, Spring /16/18. n Example: m 0 (=x 1 x 2 ) is adjacent to m 1 (=x 1 x 2 ) and m 2 (=x 1 x 2 ) but NOT m 3 (=x 1 x 2 ) EE26: Digital Desig, Sprig 28 3/6/8 EE 26: Itroductio to Digital Desig Combiatioal Datapath Yao Zheg Departmet of Electrical Egieerig Uiversity of Hawaiʻi at Māoa Combiatioal Logic Blocks Multiplexer Ecoders/Decoders

More information

Pseudocode ( 1.1) Analysis of Algorithms. Primitive Operations. Pseudocode Details. Running Time ( 1.1) Estimating performance

Pseudocode ( 1.1) Analysis of Algorithms. Primitive Operations. Pseudocode Details. Running Time ( 1.1) Estimating performance Aalysis of Algorithms Iput Algorithm Output A algorithm is a step-by-step procedure for solvig a problem i a fiite amout of time. Pseudocode ( 1.1) High-level descriptio of a algorithm More structured

More information

BOOLEAN MATHEMATICS: GENERAL THEORY

BOOLEAN MATHEMATICS: GENERAL THEORY CHAPTER 3 BOOLEAN MATHEMATICS: GENERAL THEORY 3.1 ISOMORPHIC PROPERTIES The ame Boolea Arithmetic was chose because it was discovered that literal Boolea Algebra could have a isomorphic umerical aspect.

More information

COMPUTER ORGANIZATION AND DESIGN The Hardware/Software Interface. Chapter 4. The Processor. Part A Datapath Design

COMPUTER ORGANIZATION AND DESIGN The Hardware/Software Interface. Chapter 4. The Processor. Part A Datapath Design COMPUTER ORGANIZATION AND DESIGN The Hardware/Software Iterface 5 th Editio Chapter The Processor Part A path Desig Itroductio CPU performace factors Istructio cout Determied by ISA ad compiler. CPI ad

More information

LU Decomposition Method

LU Decomposition Method SOLUTION OF SIMULTANEOUS LINEAR EQUATIONS LU Decompositio Method Jamie Traha, Autar Kaw, Kevi Marti Uiversity of South Florida Uited States of America kaw@eg.usf.edu http://umericalmethods.eg.usf.edu Itroductio

More information

Algorithms for Disk Covering Problems with the Most Points

Algorithms for Disk Covering Problems with the Most Points Algorithms for Disk Coverig Problems with the Most Poits Bi Xiao Departmet of Computig Hog Kog Polytechic Uiversity Hug Hom, Kowloo, Hog Kog csbxiao@comp.polyu.edu.hk Qigfeg Zhuge, Yi He, Zili Shao, Edwi

More information

Load balanced Parallel Prime Number Generator with Sieve of Eratosthenes on Cluster Computers *

Load balanced Parallel Prime Number Generator with Sieve of Eratosthenes on Cluster Computers * Load balaced Parallel Prime umber Geerator with Sieve of Eratosthees o luster omputers * Soowook Hwag*, Kyusik hug**, ad Dogseug Kim* *Departmet of Electrical Egieerig Korea Uiversity Seoul, -, Rep. of

More information

Chapter 4 Threads. Operating Systems: Internals and Design Principles. Ninth Edition By William Stallings

Chapter 4 Threads. Operating Systems: Internals and Design Principles. Ninth Edition By William Stallings Operatig Systems: Iterals ad Desig Priciples Chapter 4 Threads Nith Editio By William Stalligs Processes ad Threads Resource Owership Process icludes a virtual address space to hold the process image The

More information

Lecture 5. Counting Sort / Radix Sort

Lecture 5. Counting Sort / Radix Sort Lecture 5. Coutig Sort / Radix Sort T. H. Corme, C. E. Leiserso ad R. L. Rivest Itroductio to Algorithms, 3rd Editio, MIT Press, 2009 Sugkyukwa Uiversity Hyuseug Choo choo@skku.edu Copyright 2000-2018

More information

A Study on the Performance of Cholesky-Factorization using MPI

A Study on the Performance of Cholesky-Factorization using MPI A Study o the Performace of Cholesky-Factorizatio usig MPI Ha S. Kim Scott B. Bade Departmet of Computer Sciece ad Egieerig Uiversity of Califoria Sa Diego {hskim, bade}@cs.ucsd.edu Abstract Cholesky-factorizatio

More information

A Parallel DFA Minimization Algorithm

A Parallel DFA Minimization Algorithm A Parallel DFA Miimizatio Algorithm Ambuj Tewari, Utkarsh Srivastava, ad P. Gupta Departmet of Computer Sciece & Egieerig Idia Istitute of Techology Kapur Kapur 208 016,INDIA pg@iitk.ac.i Abstract. I this

More information

How do we evaluate algorithms?

How do we evaluate algorithms? F2 Readig referece: chapter 2 + slides Algorithm complexity Big O ad big Ω To calculate ruig time Aalysis of recursive Algorithms Next time: Litterature: slides mostly The first Algorithm desig methods:

More information

BOOLEAN DIFFERENTIATION EQUATIONS APPLICABLE IN RECONFIGURABLE COMPUTATIONAL MEDIUM

BOOLEAN DIFFERENTIATION EQUATIONS APPLICABLE IN RECONFIGURABLE COMPUTATIONAL MEDIUM MATEC Web of Cofereces 79, 01014 (016) DOI: 10.1051/ mateccof/0167901014 T 016 BOOLEAN DIFFERENTIATION EQUATIONS APPLICABLE IN RECONFIGURABLE COMPUTATIONAL MEDIUM Staislav Shidlovskiy 1, 1 Natioal Research

More information

Python Programming: An Introduction to Computer Science

Python Programming: An Introduction to Computer Science Pytho Programmig: A Itroductio to Computer Sciece Chapter 1 Computers ad Programs 1 Objectives To uderstad the respective roles of hardware ad software i a computig system. To lear what computer scietists

More information

An Improved Shuffled Frog-Leaping Algorithm for Knapsack Problem

An Improved Shuffled Frog-Leaping Algorithm for Knapsack Problem A Improved Shuffled Frog-Leapig Algorithm for Kapsack Problem Zhoufag Li, Ya Zhou, ad Peg Cheg School of Iformatio Sciece ad Egieerig Hea Uiversity of Techology ZhegZhou, Chia lzhf1978@126.com Abstract.

More information

Chapter 9. Pointers and Dynamic Arrays. Copyright 2015 Pearson Education, Ltd.. All rights reserved.

Chapter 9. Pointers and Dynamic Arrays. Copyright 2015 Pearson Education, Ltd.. All rights reserved. Chapter 9 Poiters ad Dyamic Arrays Copyright 2015 Pearso Educatio, Ltd.. All rights reserved. Overview 9.1 Poiters 9.2 Dyamic Arrays Copyright 2015 Pearso Educatio, Ltd.. All rights reserved. Slide 9-3

More information

Chapter 5. Functions for All Subtasks. Copyright 2015 Pearson Education, Ltd.. All rights reserved.

Chapter 5. Functions for All Subtasks. Copyright 2015 Pearson Education, Ltd.. All rights reserved. Chapter 5 Fuctios for All Subtasks Copyright 2015 Pearso Educatio, Ltd.. All rights reserved. Overview 5.1 void Fuctios 5.2 Call-By-Referece Parameters 5.3 Usig Procedural Abstractio 5.4 Testig ad Debuggig

More information

Pattern Recognition Systems Lab 1 Least Mean Squares

Pattern Recognition Systems Lab 1 Least Mean Squares Patter Recogitio Systems Lab 1 Least Mea Squares 1. Objectives This laboratory work itroduces the OpeCV-based framework used throughout the course. I this assigmet a lie is fitted to a set of poits usig

More information

6.854J / J Advanced Algorithms Fall 2008

6.854J / J Advanced Algorithms Fall 2008 MIT OpeCourseWare http://ocw.mit.edu 6.854J / 18.415J Advaced Algorithms Fall 2008 For iformatio about citig these materials or our Terms of Use, visit: http://ocw.mit.edu/terms. 18.415/6.854 Advaced Algorithms

More information

APPLICATION NOTE PACE1750AE BUILT-IN FUNCTIONS

APPLICATION NOTE PACE1750AE BUILT-IN FUNCTIONS APPLICATION NOTE PACE175AE BUILT-IN UNCTIONS About This Note This applicatio brief is iteded to explai ad demostrate the use of the special fuctios that are built ito the PACE175AE processor. These powerful

More information

Creating Exact Bezier Representations of CST Shapes. David D. Marshall. California Polytechnic State University, San Luis Obispo, CA , USA

Creating Exact Bezier Representations of CST Shapes. David D. Marshall. California Polytechnic State University, San Luis Obispo, CA , USA Creatig Exact Bezier Represetatios of CST Shapes David D. Marshall Califoria Polytechic State Uiversity, Sa Luis Obispo, CA 93407-035, USA The paper presets a method of expressig CST shapes pioeered by

More information

IMP: Superposer Integrated Morphometrics Package Superposition Tool

IMP: Superposer Integrated Morphometrics Package Superposition Tool IMP: Superposer Itegrated Morphometrics Package Superpositio Tool Programmig by: David Lieber ( 03) Caisius College 200 Mai St. Buffalo, NY 4208 Cocept by: H. David Sheets, Dept. of Physics, Caisius College

More information

Project 2.5 Improved Euler Implementation

Project 2.5 Improved Euler Implementation Project 2.5 Improved Euler Implemetatio Figure 2.5.10 i the text lists TI-85 ad BASIC programs implemetig the improved Euler method to approximate the solutio of the iitial value problem dy dx = x+ y,

More information

Chapter 11. Friends, Overloaded Operators, and Arrays in Classes. Copyright 2014 Pearson Addison-Wesley. All rights reserved.

Chapter 11. Friends, Overloaded Operators, and Arrays in Classes. Copyright 2014 Pearson Addison-Wesley. All rights reserved. Chapter 11 Frieds, Overloaded Operators, ad Arrays i Classes Copyright 2014 Pearso Addiso-Wesley. All rights reserved. Overview 11.1 Fried Fuctios 11.2 Overloadig Operators 11.3 Arrays ad Classes 11.4

More information

A Generalized Set Theoretic Approach for Time and Space Complexity Analysis of Algorithms and Functions

A Generalized Set Theoretic Approach for Time and Space Complexity Analysis of Algorithms and Functions Proceedigs of the 10th WSEAS Iteratioal Coferece o APPLIED MATHEMATICS, Dallas, Texas, USA, November 1-3, 2006 316 A Geeralized Set Theoretic Approach for Time ad Space Complexity Aalysis of Algorithms

More information

Matrix representation of a solution of a combinatorial problem of the group theory

Matrix representation of a solution of a combinatorial problem of the group theory Matrix represetatio of a solutio of a combiatorial problem of the group theory Krasimir Yordzhev, Lilyaa Totia Faculty of Mathematics ad Natural Scieces South-West Uiversity 66 Iva Mihailov Str, 2700 Blagoevgrad,

More information

Chapter 1. Introduction to Computers and C++ Programming. Copyright 2015 Pearson Education, Ltd.. All rights reserved.

Chapter 1. Introduction to Computers and C++ Programming. Copyright 2015 Pearson Education, Ltd.. All rights reserved. Chapter 1 Itroductio to Computers ad C++ Programmig Copyright 2015 Pearso Educatio, Ltd.. All rights reserved. Overview 1.1 Computer Systems 1.2 Programmig ad Problem Solvig 1.3 Itroductio to C++ 1.4 Testig

More information

Introduction to SWARM Software and Algorithms for Running on Multicore Processors

Introduction to SWARM Software and Algorithms for Running on Multicore Processors Itroductio to SWARM Software ad Algorithms for Ruig o Multicore Processors David A. Bader Georgia Istitute of Techology http://www.cc.gatech.edu/~bader Tutorial compiled by Rucheek H. Sagai M.S. Studet,

More information

Ontology-based Decision Support System with Analytic Hierarchy Process for Tour Package Selection

Ontology-based Decision Support System with Analytic Hierarchy Process for Tour Package Selection 2017 Asia-Pacific Egieerig ad Techology Coferece (APETC 2017) ISBN: 978-1-60595-443-1 Otology-based Decisio Support System with Aalytic Hierarchy Process for Tour Pacage Selectio Tie-We Sug, Chia-Jug Lee,

More information

ANN WHICH COVERS MLP AND RBF

ANN WHICH COVERS MLP AND RBF ANN WHICH COVERS MLP AND RBF Josef Boští, Jaromír Kual Faculty of Nuclear Scieces ad Physical Egieerig, CTU i Prague Departmet of Software Egieerig Abstract Two basic types of artificial eural etwors Multi

More information

DESIGN AND ANALYSIS OF LDPC DECODERS FOR SOFTWARE DEFINED RADIO

DESIGN AND ANALYSIS OF LDPC DECODERS FOR SOFTWARE DEFINED RADIO DESIGN AND ANALYSIS OF LDPC DECODERS FOR SOFTWARE DEFINED RADIO Sagwo Seo, Trevor Mudge Advaced Computer Architecture Laboratory Uiversity of Michiga at A Arbor {swseo, tm}@umich.edu Yumig Zhu, Chaitali

More information

Solution printed. Do not start the test until instructed to do so! CS 2604 Data Structures Midterm Spring, Instructions:

Solution printed. Do not start the test until instructed to do so! CS 2604 Data Structures Midterm Spring, Instructions: CS 604 Data Structures Midterm Sprig, 00 VIRG INIA POLYTECHNIC INSTITUTE AND STATE U T PROSI M UNI VERSI TY Istructios: Prit your ame i the space provided below. This examiatio is closed book ad closed

More information

Fuzzy Linear Regression Analysis

Fuzzy Linear Regression Analysis 12th IFAC Coferece o Programmable Devices ad Embedded Systems The Iteratioal Federatio of Automatic Cotrol September 25-27, 2013. Fuzzy Liear Regressio Aalysis Jaa Nowaková Miroslav Pokorý VŠB-Techical

More information

Adaptive Resource Allocation for Electric Environmental Pollution through the Control Network

Adaptive Resource Allocation for Electric Environmental Pollution through the Control Network Available olie at www.sciecedirect.com Eergy Procedia 6 (202) 60 64 202 Iteratioal Coferece o Future Eergy, Eviromet, ad Materials Adaptive Resource Allocatio for Electric Evirometal Pollutio through the

More information

Hash Tables. Presentation for use with the textbook Algorithm Design and Applications, by M. T. Goodrich and R. Tamassia, Wiley, 2015.

Hash Tables. Presentation for use with the textbook Algorithm Design and Applications, by M. T. Goodrich and R. Tamassia, Wiley, 2015. Presetatio for use with the textbook Algorithm Desig ad Applicatios, by M. T. Goodrich ad R. Tamassia, Wiley, 2015 Hash Tables xkcd. http://xkcd.com/221/. Radom Number. Used with permissio uder Creative

More information

Cubic Polynomial Curves with a Shape Parameter

Cubic Polynomial Curves with a Shape Parameter roceedigs of the th WSEAS Iteratioal Coferece o Robotics Cotrol ad Maufacturig Techology Hagzhou Chia April -8 00 (pp5-70) Cubic olyomial Curves with a Shape arameter MO GUOLIANG ZHAO YANAN Iformatio ad

More information

Python Programming: An Introduction to Computer Science

Python Programming: An Introduction to Computer Science Pytho Programmig: A Itroductio to Computer Sciece Chapter 6 Defiig Fuctios Pytho Programmig, 2/e 1 Objectives To uderstad why programmers divide programs up ito sets of cooperatig fuctios. To be able to

More information

FREQUENCY ESTIMATION OF INTERNET PACKET STREAMS WITH LIMITED SPACE: UPPER AND LOWER BOUNDS

FREQUENCY ESTIMATION OF INTERNET PACKET STREAMS WITH LIMITED SPACE: UPPER AND LOWER BOUNDS FREQUENCY ESTIMATION OF INTERNET PACKET STREAMS WITH LIMITED SPACE: UPPER AND LOWER BOUNDS Prosejit Bose Evagelos Kraakis Pat Mori Yihui Tag School of Computer Sciece, Carleto Uiversity {jit,kraakis,mori,y

More information

top() Applications of Stacks

top() Applications of Stacks CS22 Algorithms ad Data Structures MW :00 am - 2: pm, MSEC 0 Istructor: Xiao Qi Lecture 6: Stacks ad Queues Aoucemets Quiz results Homework 2 is available Due o September 29 th, 2004 www.cs.mt.edu~xqicoursescs22

More information

CMSC Computer Architecture Lecture 12: Virtual Memory. Prof. Yanjing Li University of Chicago

CMSC Computer Architecture Lecture 12: Virtual Memory. Prof. Yanjing Li University of Chicago CMSC 22200 Computer Architecture Lecture 12: Virtual Memory Prof. Yajig Li Uiversity of Chicago A System with Physical Memory Oly Examples: most Cray machies early PCs Memory early all embedded systems

More information

Sorting in Linear Time. Data Structures and Algorithms Andrei Bulatov

Sorting in Linear Time. Data Structures and Algorithms Andrei Bulatov Sortig i Liear Time Data Structures ad Algorithms Adrei Bulatov Algorithms Sortig i Liear Time 7-2 Compariso Sorts The oly test that all the algorithms we have cosidered so far is compariso The oly iformatio

More information

1 Graph Sparsfication

1 Graph Sparsfication CME 305: Discrete Mathematics ad Algorithms 1 Graph Sparsficatio I this sectio we discuss the approximatio of a graph G(V, E) by a sparse graph H(V, F ) o the same vertex set. I particular, we cosider

More information

Appendix D. Controller Implementation

Appendix D. Controller Implementation COMPUTER ORGANIZATION AND DESIGN The Hardware/Software Iterface 5 th Editio Appedix D Cotroller Implemetatio Cotroller Implemetatios Combiatioal logic (sigle-cycle); Fiite state machie (multi-cycle, pipelied);

More information

Computer Systems - HS

Computer Systems - HS What have we leared so far? Computer Systems High Level ENGG1203 2d Semester, 2017-18 Applicatios Sigals Systems & Cotrol Systems Computer & Embedded Systems Digital Logic Combiatioal Logic Sequetial Logic

More information

Accuracy Improvement in Camera Calibration

Accuracy Improvement in Camera Calibration Accuracy Improvemet i Camera Calibratio FaJie L Qi Zag ad Reihard Klette CITR, Computer Sciece Departmet The Uiversity of Aucklad Tamaki Campus, Aucklad, New Zealad fli006, qza001@ec.aucklad.ac.z r.klette@aucklad.ac.z

More information

CMPT 125 Assignment 2 Solutions

CMPT 125 Assignment 2 Solutions CMPT 25 Assigmet 2 Solutios Questio (20 marks total) a) Let s cosider a iteger array of size 0. (0 marks, each part is 2 marks) it a[0]; I. How would you assig a poiter, called pa, to store the address

More information

Evaluation scheme for Tracking in AMI

Evaluation scheme for Tracking in AMI A M I C o m m u i c a t i o A U G M E N T E D M U L T I - P A R T Y I N T E R A C T I O N http://www.amiproject.org/ Evaluatio scheme for Trackig i AMI S. Schreiber a D. Gatica-Perez b AMI WP4 Trackig:

More information

EE123 Digital Signal Processing

EE123 Digital Signal Processing Last Time EE Digital Sigal Processig Lecture 7 Block Covolutio, Overlap ad Add, FFT Discrete Fourier Trasform Properties of the Liear covolutio through circular Today Liear covolutio with Overlap ad add

More information

Analysis of Server Resource Consumption of Meteorological Satellite Application System Based on Contour Curve

Analysis of Server Resource Consumption of Meteorological Satellite Application System Based on Contour Curve Advaces i Computer, Sigals ad Systems (2018) 2: 19-25 Clausius Scietific Press, Caada Aalysis of Server Resource Cosumptio of Meteorological Satellite Applicatio System Based o Cotour Curve Xiagag Zhao

More information

Service Oriented Enterprise Architecture and Service Oriented Enterprise

Service Oriented Enterprise Architecture and Service Oriented Enterprise Approved for Public Release Distributio Ulimited Case Number: 09-2786 The 23 rd Ope Group Eterprise Practitioers Coferece Service Orieted Eterprise ad Service Orieted Eterprise Ya Zhao, PhD Pricipal, MITRE

More information

Improving Information Retrieval System Security via an Optimal Maximal Coding Scheme

Improving Information Retrieval System Security via an Optimal Maximal Coding Scheme Improvig Iformatio Retrieval System Security via a Optimal Maximal Codig Scheme Dogyag Log Departmet of Computer Sciece, City Uiversity of Hog Kog, 8 Tat Chee Aveue Kowloo, Hog Kog SAR, PRC dylog@cs.cityu.edu.hk

More information

What are we going to learn? CSC Data Structures Analysis of Algorithms. Overview. Algorithm, and Inputs

What are we going to learn? CSC Data Structures Analysis of Algorithms. Overview. Algorithm, and Inputs What are we goig to lear? CSC316-003 Data Structures Aalysis of Algorithms Computer Sciece North Carolia State Uiversity Need to say that some algorithms are better tha others Criteria for evaluatio Structure

More information

COMP Parallel Computing. PRAM (1): The PRAM model and complexity measures

COMP Parallel Computing. PRAM (1): The PRAM model and complexity measures COMP 633 - Parallel Computig Lecture 2 August 24, 2017 : The PRAM model ad complexity measures 1 First class summary This course is about parallel computig to achieve high-er performace o idividual problems

More information

Lecture 2. RTL Design Methodology. Transition from Pseudocode & Interface to a Corresponding Block Diagram

Lecture 2. RTL Design Methodology. Transition from Pseudocode & Interface to a Corresponding Block Diagram Lecture 2 RTL Desig Methodology Trasitio from Pseudocode & Iterface to a Correspodig Block Diagram Structure of a Typical Digital Data Iputs Datapath (Executio Uit) Data Outputs System Cotrol Sigals Status

More information

Minimum Spanning Trees

Minimum Spanning Trees Miimum Spaig Trees Miimum Spaig Trees Spaig subgraph Subgraph of a graph G cotaiig all the vertices of G Spaig tree Spaig subgraph that is itself a (free) tree Miimum spaig tree (MST) Spaig tree of a weighted

More information

End Semester Examination CSE, III Yr. (I Sem), 30002: Computer Organization

End Semester Examination CSE, III Yr. (I Sem), 30002: Computer Organization Ed Semester Examiatio 2013-14 CSE, III Yr. (I Sem), 30002: Computer Orgaizatio Istructios: GROUP -A 1. Write the questio paper group (A, B, C, D), o frot page top of aswer book, as per what is metioed

More information

Basic allocator mechanisms The course that gives CMU its Zip! Memory Management II: Dynamic Storage Allocation Mar 6, 2000.

Basic allocator mechanisms The course that gives CMU its Zip! Memory Management II: Dynamic Storage Allocation Mar 6, 2000. 5-23 The course that gives CM its Zip Memory Maagemet II: Dyamic Storage Allocatio Mar 6, 2000 Topics Segregated lists Buddy system Garbage collectio Mark ad Sweep Copyig eferece coutig Basic allocator

More information

Analysis of Algorithms

Analysis of Algorithms Presetatio for use with the textbook, Algorithm Desig ad Applicatios, by M. T. Goodrich ad R. Tamassia, Wiley, 2015 Aalysis of Algorithms Iput 2015 Goodrich ad Tamassia Algorithm Aalysis of Algorithms

More information

EE 459/500 HDL Based Digital Design with Programmable Logic. Lecture 13 Control and Sequencing: Hardwired and Microprogrammed Control

EE 459/500 HDL Based Digital Design with Programmable Logic. Lecture 13 Control and Sequencing: Hardwired and Microprogrammed Control EE 459/500 HDL Based Digital Desig with Programmable Logic Lecture 13 Cotrol ad Sequecig: Hardwired ad Microprogrammed Cotrol Refereces: Chapter s 4,5 from textbook Chapter 7 of M.M. Mao ad C.R. Kime,

More information

Fuzzy Minimal Solution of Dual Fully Fuzzy Matrix Equations

Fuzzy Minimal Solution of Dual Fully Fuzzy Matrix Equations Iteratioal Coferece o Applied Mathematics, Simulatio ad Modellig (AMSM 2016) Fuzzy Miimal Solutio of Dual Fully Fuzzy Matrix Equatios Dequa Shag1 ad Xiaobi Guo2,* 1 Sciece Courses eachig Departmet, Gasu

More information

Fast PageRank Computation on a GPU Cluster

Fast PageRank Computation on a GPU Cluster 202 20th Euromicro Iteratioal Coferece o Parallel, Distributed ad Network-based Processig Fast PageRak Computatio o a GPU Cluster Aro Rugsawag ad Budit Maaskasemsak Massive Iformatio & Kowledge Egieerig

More information

Lower Bounds for Sorting

Lower Bounds for Sorting Liear Sortig Topics Covered: Lower Bouds for Sortig Coutig Sort Radix Sort Bucket Sort Lower Bouds for Sortig Compariso vs. o-compariso sortig Decisio tree model Worst case lower boud Compariso Sortig

More information

Chapter 24. Sorting. Objectives. 1. To study and analyze time efficiency of various sorting algorithms

Chapter 24. Sorting. Objectives. 1. To study and analyze time efficiency of various sorting algorithms Chapter 4 Sortig 1 Objectives 1. o study ad aalyze time efficiecy of various sortig algorithms 4. 4.7.. o desig, implemet, ad aalyze bubble sort 4.. 3. o desig, implemet, ad aalyze merge sort 4.3. 4. o

More information

A Polynomial Interval Shortest-Route Algorithm for Acyclic Network

A Polynomial Interval Shortest-Route Algorithm for Acyclic Network A Polyomial Iterval Shortest-Route Algorithm for Acyclic Network Hossai M Akter Key words: Iterval; iterval shortest-route problem; iterval algorithm; ucertaity Abstract A method ad algorithm is preseted

More information

. Written in factored form it is easy to see that the roots are 2, 2, i,

. Written in factored form it is easy to see that the roots are 2, 2, i, CMPS A Itroductio to Programmig Programmig Assigmet 4 I this assigmet you will write a java program that determies the real roots of a polyomial that lie withi a specified rage. Recall that the roots (or

More information

Big-O Analysis. Asymptotics

Big-O Analysis. Asymptotics Big-O Aalysis 1 Defiitio: Suppose that f() ad g() are oegative fuctios of. The we say that f() is O(g()) provided that there are costats C > 0 ad N > 0 such that for all > N, f() Cg(). Big-O expresses

More information

A Note on Least-norm Solution of Global WireWarping

A Note on Least-norm Solution of Global WireWarping A Note o Least-orm Solutio of Global WireWarpig Charlie C. L. Wag Departmet of Mechaical ad Automatio Egieerig The Chiese Uiversity of Hog Kog Shati, N.T., Hog Kog E-mail: cwag@mae.cuhk.edu.hk Abstract

More information

An Efficient Algorithm for Graph Bisection of Triangularizations

An Efficient Algorithm for Graph Bisection of Triangularizations A Efficiet Algorithm for Graph Bisectio of Triagularizatios Gerold Jäger Departmet of Computer Sciece Washigto Uiversity Campus Box 1045 Oe Brookigs Drive St. Louis, Missouri 63130-4899, USA jaegerg@cse.wustl.edu

More information

CSC165H1 Worksheet: Tutorial 8 Algorithm analysis (SOLUTIONS)

CSC165H1 Worksheet: Tutorial 8 Algorithm analysis (SOLUTIONS) CSC165H1, Witer 018 Learig Objectives By the ed of this worksheet, you will: Aalyse the ruig time of fuctios cotaiig ested loops. 1. Nested loop variatios. Each of the followig fuctios takes as iput a

More information

Image Segmentation EEE 508

Image Segmentation EEE 508 Image Segmetatio Objective: to determie (etract) object boudaries. It is a process of partitioig a image ito distict regios by groupig together eighborig piels based o some predefied similarity criterio.

More information

1 Enterprise Modeler

1 Enterprise Modeler 1 Eterprise Modeler Itroductio I BaaERP, a Busiess Cotrol Model ad a Eterprise Structure Model for multi-site cofiguratios are itroduced. Eterprise Structure Model Busiess Cotrol Models Busiess Fuctio

More information

Morgan Kaufmann Publishers 26 February, COMPUTER ORGANIZATION AND DESIGN The Hardware/Software Interface. Chapter 5

Morgan Kaufmann Publishers 26 February, COMPUTER ORGANIZATION AND DESIGN The Hardware/Software Interface. Chapter 5 Morga Kaufma Publishers 26 February, 28 COMPUTER ORGANIZATION AND DESIGN The Hardware/Software Iterface 5 th Editio Chapter 5 Set-Associative Cache Architecture Performace Summary Whe CPU performace icreases:

More information

Enhancing Efficiency of Software Fault Tolerance Techniques in Satellite Motion System

Enhancing Efficiency of Software Fault Tolerance Techniques in Satellite Motion System Joural of Iformatio Systems ad Telecommuicatio, Vol. 2, No. 3, July-September 2014 173 Ehacig Efficiecy of Software Fault Tolerace Techiques i Satellite Motio System Hoda Baki Departmet of Electrical ad

More information

New Fuzzy Color Clustering Algorithm Based on hsl Similarity

New Fuzzy Color Clustering Algorithm Based on hsl Similarity IFSA-EUSFLAT 009 New Fuzzy Color Clusterig Algorithm Based o hsl Similarity Vasile Ptracu Departmet of Iformatics Techology Tarom Compay Bucharest Romaia Email: patrascu.v@gmail.com Abstract I this paper

More information

Computers and Scientific Thinking

Computers and Scientific Thinking Computers ad Scietific Thikig David Reed, Creighto Uiversity Chapter 15 JavaScript Strigs 1 Strigs as Objects so far, your iteractive Web pages have maipulated strigs i simple ways use text box to iput

More information

Improving Template Based Spike Detection

Improving Template Based Spike Detection Improvig Template Based Spike Detectio Kirk Smith, Member - IEEE Portlad State Uiversity petra@ee.pdx.edu Abstract Template matchig algorithms like SSE, Covolutio ad Maximum Likelihood are well kow for

More information

Harris Corner Detection Algorithm at Sub-pixel Level and Its Application Yuanfeng Han a, Peijiang Chen b * and Tian Meng c

Harris Corner Detection Algorithm at Sub-pixel Level and Its Application Yuanfeng Han a, Peijiang Chen b * and Tian Meng c Iteratioal Coferece o Computatioal Sciece ad Egieerig (ICCSE 015) Harris Corer Detectio Algorithm at Sub-pixel Level ad Its Applicatio Yuafeg Ha a, Peijiag Che b * ad Tia Meg c School of Automobile, Liyi

More information