Efficient Synthesis of Networks On Chip

Size: px
Start display at page:

Download "Efficient Synthesis of Networks On Chip"

Transcription

1 Efficiet Sythesis of Networks O Chip Alessadro Pito Luca P. Carloi Alberto L. Sagiovai-Vicetelli EECS Departmet, Uiversity of Califoria at Berkeley, Berkeley, CA Abstract We propose a efficiet heuristic for the costrait-drive commuicatio sythesis (CDCS) of o-chip commuicatio etworks. The complexity of the sythesis problems comes from the umber of costraits that have to be cosidered. I this paper we propose to cluster costraits to reduce the umber that eeds to be cosidered by the optimizatio algorithm. The a quadratic programmig approach is used to solve the commuicatio sythesis problem with the clustered costraits. We provide a aalytical model that justifies our choice of the clusterig cost fuctio ad we discuss a set of experimets showig the effectiveess of the overall approach with respect to the exact algorithm.. Itroductio The cotiued growth of the umber of processors ad IP cores that are itegrated o a sigle die [] together with the shift from computatio-boud desig to commuicatio-boud desig [6] lead may researchers to advocate ew desig methodologies to orgaize systematically commuicatio architectures for System-o-Chip (SOC). I [9], we proposed Costrait-Drive Commuicatio Sythesis (CDCS) as a formal method for derivig automatically the implemetatio of a commuicatio etwork of a system from a high-level specificatio: the resultig etwork is a compositio of basic elemets that are istaces take from a library of pre-defied Itellectual Property (IP) commuicatio compoets, such as wires, repeaters, ad switches. I CDCS, the essetial commuicatio requiremets that gover all the poit-to-poit commuicatios amog the system modules are captured as a set of arc costraits i a graph called commuicatio costrait graph. Similarly, the commuicatio features offered by each of the compoets available i the IP commuicatio library are captured as a set of feature resources together with their cost figures. The, every commuicatio architecture that ca be built from the available compoets while satisfyig all costraits is implicitly ecoded as a implemetatio graph matchig the costrait graph. Fially, the optimum etwork is foud by solvig a costraied optimizatio problem with a exact algorithm. Ufortuately, eve though some theoretical results eable the reductio of the size of the search space [9], the computatioal complexity of the exact algorithm udermies its scalability, ad, ultimately, the applicability of the approach to the sythesis of fairly large o-chip etworks. This research was supported i part by the GSRC ad the SRC. I this paper we preset two efficiet heuristics for CDCS that are based o a decompositio of the optimizatio problem ito two steps: () we use quadratic programmig to compute quickly the cost of satisfyig a set of arc costraits with a shared commuicatio medium, ad () we propose two clusterig algorithms to sigle out sets of costraits that should be cosidered together. After providig some backgroud material o CDCS, we discuss how the exact algorithm of [9] suffers from scalability issues ad we summarize the mai ideas of our heuristic approach (Sectio ). I Sectio 3, we start from the assumptio that the cost fuctio of a arc implemetatio is a cocave fuctio ad we show how this eables the efficiet computatio of the cost of implemetig arc costraits with a shared commuicatio medium. The, we preset two distict heuristics for clusterig of costraits: divisive clusterig ad agglomerative clusterig (Sectio 4). Fially, we report o a set of experimets showig the effectiveess of our approach (Sectio 5). Related Work. I [], Beii ad De Micheli preset etwork o chip (NOC) as a ew paradigm for SOC desig based o a approach similar to the micro-etwork stack model []. They discuss the desig problems ad possible solutios for each level of the stack from the applicatio level to the physical level through the topology ad protocol levels. The stadard solutio of the topology selectio problem is the use of a sigle bus, but this may tur out quite iefficiet from a power cosumptio viewpoit. Istead, [] suggests to use packet-switchig architectures. They focus o providig some examples of kow topologies ad do ot discuss the problem of selectig a optimum oe. A methodology cetered o the simulatio of traces is proposed i [7]: the resultig commuicatio architecture is a itercoectio of well-characterized commuicatio structures similar to buses. Fially, i [4] the itercoectio structure betwee computatio blocks is fixed (a grid) ad predictable. Iformatio are routed i the commuicatio etwork by meas of dedicated switches. Costrait-drive commuicatio sythesis (CDCS) [9] follows a approach that is iheretly differet from the previous oes because it aims to derive a commuicatio architecture as the uio of heterogeeous subetworks that together satisfy the origial commuicatio costraits give by the desiger.. A Heuristic Approach for CDCS A commuicatio costrait graph CG(V,A, p,b) is a directed bipartite coected graph where each vertex v V

2 is associated to a port of a computatioal module of the system ad each costrait arc a A represets a poit-to-poit commuicatio chael betwee two modules. The set of vertices V is partitioed i a set of source ports V s ad a set of target ports V t, each vertex v V has uit degree, a pair p(v) = (p x (v), p y (v)) is associated to each vertex v V to deote its positio o the plae, ad a weight b(a) is associated to each arc a A to deote the required chael badwidth. Give a arc a = (u,v), the distace betwee its ports is deoted as d(a) = p(u) p(v). A commuicatio library L = L N is a collectio of commuicatio liks ad commuicatio odes. Each ode N has a cost c(). Each lik l L has a set of lik properties: () the lik legth (or, distace) d(l) correspods to the legth of the logest commuicatio chael that ca be realized by this lik, () the lik badwidth b(l) correspods to the badwidth of the fastest commuicatio chael that ca be realized by this lik, ad (3) the lik cost c(l) is defied with respect to the other library liks based o a optimality criterio that varies with the type of applicatio. Give a costrait graph C G(V, A, p, b) ad a commuicatio library L = L N, a implemetatio graph I G(CG,L) = G(V N,A ) is a directed graph where each vertex correspods to either a vertex of V or a commuicatio ode istace from L, each arc is associated to a lik istace from L, ad for each arc of CG there is a correspodig path i I G. The cost of a implemetatio graph I G is defied as: C(I G) = N c( )+ a A c(a ). Geerally, for a give library there are may possible implemetatio graphs that satisfy the requiremets expressed by the costrait graph while havig differet costs. I particular, oe implemetatio graph, the optimum poit-to-poit implemetatio graph, is guarateed to exist ad it is derived by implemetig a sigle arc costrait idepedetly from all the others preset i the costrait graph. O the other had, by aalyzig the defiitio of implemetatio graph it is clear that some of its arc implemetatios may share paths (i.e. liks ad/or commuicatio vertices). Figure illustrated the case where 3 arc costraits share a path. This structure is called a 3-way mergig. I geeral, we may have a k-way mergig, with k A. A k-way mergig is characterized by the presece of two commuicatio odes: a ode s at the begiig of the shared path ad a ode t ad the ed. This structure models a shared commuicatio medium such as a bus. Usually, the cost of a implemetatio graph is smaller tha the sum of the costs of its poit-to-poit arc implemetatios. Hece, it is atural to defie the followig costraied optimizatio problem that ca be see as a special case of - iteger liear programmig (ILP). Problem. Give a costrait graph CG ad a commuicatio library L = L N, miimize the cost C(I G) over all implemetatio graphs I (CG,L). u v u u u3 v3 v Figure. Example of 3-Way Mergig. The exact algorithm preseted i [9] to fid the solutio of Problem. is divided i two steps: first a set of cadidate k-way mergigs are geerated ad added to the set of miimum-cost poit-to-poit implemetatios for all the give arc costraits, the a istace of the Uate Coverig Problem (UCP) is solved. The algorithm is exact, but it is computatioally expesive ad it scales poorly with the cardiality of the set A of costrait arcs. The mai cotributio of this paper is the idea of solvig Problem. with a heuristic approach that is cetered aroud the efficiet solutio of a clusterig problem [8]. I fact, we focus o fidig a optimal partitio of the set A of costrait arcs to miimize the overall cost of the implemetatio graph that is obtaied by implemetig separately each elemet of the partitio with a optimum sub-etwork of commuicatio library compoets. We propose two distict algorithms for clusterig of costraits: a divisive oe ad a agglomerative oe. The former starts from a sigle cluster cotaiig all costraits arcs ad subsequetly cosider a series of smaller clusters that are derived by splittig the larger oes foud at the previous step. Coversely, the latter starts from cosiderig a set of sigleto clusters, oe for arc costrait, ad subsequetly attempts to merge smaller clusters to derive larger oes. I both cases, oly a subset of all possible clusterig cofiguratio is cosidered, ad the oe with best implemetatio cost is chose. Both algorithms eed a estimatio of the cluster cost which, geerally, is represeted by a fuctio o a metric space (e.g., the maximum distace betwee members of the clusters). Istead, we use the actual implemetatio cost of the cluster. This would be either a poit-to-poit chael if the cluster cotais oly a sigle costrait or a k-way mergig structure if it cotais k arc costraits, with k. For the latter case, this cost fuctio may be quite complex. However, as discussed ext, a reasoable assumptio o the implemetatio cost of oe costrait allows us to derive a closed-form expressio for the cost of a k-way mergig structure. 3. Fidig the Structure of a K-Way Mergig I CDCS, the cost of a -way mergig is defied as the sum of the cost of all arcs plus the cost of all commuicatio odes i the implemetatio graph. This sum depeds o the required badwidths of all the costrait arcs to be merged ad o the positio of the correspodig source ad destiatio ports. We make the followig assumptio o the cost of the implemetatio of a costrait arc: Give a arc a = (u,v) of a costrait graph CG with badwidth b(a) = b the cost of its poit-to-poit impleme- u u3 s t v v3 v

3 tatio is C(a) = f (b) p(u) p(v), where f (b) is a cocave fuctio of b. It is reasoable to assume that the cost of a commuicatio lik depeds o the distace to be covered, while the assumptio of the cocavity of fuctio f (b) is justified by the followig cosideratio: the cost of coverig a distace with a lik supportig badwidth b should be at most twice the cost of coverig the same distace with a lik of badwidth b. With the previous assumptio we ca show that the cost of a -way mergig ca be computed aalytically after derivig the detailed structure of a -way mergig through the solutio of a quadratic programmig problem. For each costrait arc a i i the implemetatio graph I G we pick the lik i the library with the smallest badwidth greater the b(a i ). Let c i be the cost of this lik. Also we pick the lik i the library with the smallest badwidth greater the b(a i) ad let c be the cost of this lik. The, the miimizatio problem ca be writte as: mi s,t c i ( p(u) p(s) + p(v) ) p(t) + c p(s) p(t) where s ad t are the two commuicatio odes i th - way mergig. This problem ca be decomposed ito two idepedet sub-problems alog the x, y coordiates of the plae. For the x coordiate, the miimizatio problem is: mi s,t c i ((p x (u) p x (s)) + (p x (v) p x (t)) ) + c (p x (s) p x (t)) This ca be re-writte as mi x x T Px + x T q + r, where: x = (p x (u), p x (v)) T, P = i= c i c c i= c, i q = c i p x (u) c, r = i p x (v) c i (p x (u) + p x (v) ) Note that P is resposible for all the quadratic terms while q for all the liear terms. The matrix P is positive semidefiite, the objective fuctio is covex ad the problem has oly oe solutio [3]. The solutio to the ucostraied miimizatio problem ca be computed i closed-form by settig the gradiet of the differetiable fuctio equal to zero: (x T Px + x T q + r) = Px + q = x = P q. The iverse of the matrix always exists uless all costs are zeroes: P = i= c i c i= c i c i= c i The cost of the -way mergig is, the, p = qt x + r. Note that P is a two-by-two matrix because the structure of a -way mergig has oly switches s,t. However, oe could evisio other structures with more tha two commuicatio odes. While the sizes of P ad q would chage accordigly, the ature of the optimizatio problem would remai the same as log as the routig path of the data from the source to the target ports is decided a priori. If this is ot the case, the optimizatio problem becomes a istace of geometric programmig that ca be still solved easily [3]. 4. Hierarchical Clusterig of Costraits We use the cost of a -way mergig to estimate the cost of a cluster of costraits ad we focus o clusterig as the c first step towards fidig a optimal implemetatio graph. As clusterig is kow to be NP-complete, we propose two heuristic algorithms: divisive clusterig ad agglomerative clusterig. Both algorithms explore efficietly a subset of all possible clusterig by geeratig them usig a hierarchical techique. : DivisiveClusterig(CG ) : SG derivesimilaritygraph(cg ) 3: SF computespaigforest(sg ) 4: i 5: while SF > do 6: (e, sol[i], cost[i]) selectsplittigedge(sf ) 7: remove e from SF 8: i i + 9: ed while : retur sol[argmi i cost[i]] : selectsplittigedge(sf ) : for all edges e SF do 3: remove e from SF 4: sol[e] Implemet(SF ) cost(t) 5: cost[e] t SF t 6: add e to SF 7: ed for 8: pick e that miimizes cost[e] 9: retur (e, sol[e], cost[e]) Divisive Clusterig. This algorithm is cetered aroud the otio of similarity fuctios betwee pairs of costraits, which captures the advatage of implemetig two costraits with a shared commuicatio medium as opposed to realized them with a dedicated coectio. The similarity fuctio σ(a,a ) betwee two costraits a ad a i CG is defied as σ(a,a ) = c(a,a ) c(a ) c(a ), where c(a,a ) deotes the cost of implemetig a,a as a two-way mergig, while c(a i ) is the cost of implemetig a i as a poit-to-poit coectio. From the costrait graph CG(V,A, p,b), we derive a directed complete similarity graph SG(W, E, ω) as follows: () a vertex w(a) W is associated to each costrait arc a A, () a edge e = (w,w ) E is draw betwee ay pair of vertices w,w W, ad (3) a weight ω(e) is attached to each edge e = (w,w ) such that ω(e) = σ(a,a ), where w i = w(a i ). The divisive clusterig algorithm is divided i three steps: First, the similarity graph SG is derived from the costrait graph C G. This step requires ( )/ similarity fuctio computatios. The, the miimum spaig forest SF is foud for the similarity graph SG. This step takes time O(E logv) ad, sice SG is a complete graph, returs a miimum spaig tree. This spaig tree captures the similarities amog the vertices of SG (i.e. the costrait arcs of CG), as more similar vertices ed up beig adjacet i the tree. The algorithm proceeds by removig oe edge at the time from SF, which becomes a spaig forest with two trees after the first removal, ad, sees the geeratio of a ew tree after each subsequet removal. The edge to be removed is foud ivokig the routie selectsplittigedge, which returs also the cluster-

4 d d y x 4 3 j+ / j+/ b c Figure. Experimet settigs (l), σ vs. positio ad badwidth (c), σ vs. positio ad cost (r) ig ecoded by the ew forest together with its cost effectiveess (i.e. the cost of the correspodig implemetatio divided by the umber of trees i the forest). After ivocatios of routie selectsplittigedge, SF becomes a forest without edges, while distict implemetatios have bee cosidered ad stored, together with their costs, i the array variables sol ad cost. Fially, the clusterig with miimum cost effectiveess is retured. Overall, assumig that the solutio of the quadratic programmig problem is obtaied with a costat umber of operatios, the algorithm complexity ca be derived as follows: the mai while loop is executed times ad at the i-th iteratio, the ier procedure has to remove/add i edges. So the umber of costat time operatios is the sum of the first itegers. The complexity is the O( ). From its defiitio, similarity fuctio σ depeds o the costraits specificatio ad o the commuicatio library. However, by reportig o a couple of experimets, we show here that the depedecy from the library is ideed quite weak. I Figure, two boudig boxes are depicted such that their positio i the Euclidea plae depeds o two parameters j ad. Let s assume that the boudig boxes defie two distict areas where each of two arc costraits may respectively reside ad that the positio of the source ad the destiatio port of each costrait are chose radomly ad uiformly withi each boudig box. For a give, we sweep parameter j to icrease the distace betwee the two costraits: for each positio of the boudig boxes, we radomly geerate pairs of costraits ad compute the correspodig value of σ. Fially, we calculate the arithmetic mea. We repeated this procedure for two differet experimetal scearios. First, we set the badwidth of the two costraits to be the same (equal to b) ad we repeat the above procedure for differet values of b. I this experimet we cosider a commuicatio library characterized by the followig pairs of badwidth ad cost per uit legth: {(,),(,.8),(3,.6), (4,3.4),(5,4.),(6,5.)}. It is easy to verify that the library is cocave, meaig that the cost per uit legth as a fuctio of the badwidth is a cocave fuctio. Figure illustrates the depedecy of the mea value of σ o both ad the required badwidth b. I the secod experimet, we keep the required badwidth of the two costraits equal to ad we cosider a library presetig two kid of liks. The first lik ca support a badwidth equal to with a cost per uit legth c. The secod lik ca support a badwidth equal to with a cost per uit legth c = c ( + δ) where δ. Notice that for each possible value of delta the library is still cocave. Figure (right) shows that the similarity fuctio does t deped sesibly o the parameter δ ad, therefore, either o the characteristics of the library. To uderstad this fact, let s recosider the quadratic programmig approach of Sectio 3. The cost of -way mergig ca be writte as c x = x T Px+x T q+r = 4 qt P q+r, where r is idepedet from the cost c. Matrix P is the oly factor depedig o c ad is writte as follows: P = c + c c c + c c = c c + c c (3 + )δ ( + δ ) + δ + δ + δ where the equality holds whe c = c ( + δ). The matrix eigevalues are λ = /c ad λ = /(c (3+δ)). They determie the shape of the paraboloid over which the cost is computed. While λ is idepedet from δ, λ has a very smooth depedecy. Hece, the value of the quadratic fuctio computed at q is almost the same for all the values of δ (ote: q ad r do t deped o δ). I summary, the similarity fuctio ca be cosidered as techology idepedet, i.e. oly depedet o the problem specificatio. : Agglomerative Clusterig(CG ) : K / 3: for all costraits arcs a i R do 4: K K a i 5: ed for 6: l 7: while K l > do 8: (i, j) argmi u,v [, l] σ(k u,k v ) 9: K l+ K l \{k i,k j } : K l+ K l+ {k i,k j } : l l + : ed while 3: retur K opt where opt = argmi t [, ] c(k t ) Agglomerative Clusterig. This is a greedy algorithm that, at each step, cosiders more complex clusters that are derived by composig the simpler clusters foud at the previous step. Before, we defied the similarity fuctio betwee two costraits. Now, we exted the cocept to clus-

5 S4 D3 S D D7 D9 D D3 S3 Exact Algorithm Divisive Agglomerative A cost time cost time cost time , t/o S D6 D5 S7 S7 S6 S9 D7 D9 S S6 D S8 S8 D4 S5 S S9 DD6 S5 D8 D4 D D8 S S D D5 S4 S3 Figure 3. Exact algorithm (left), results table (ceter), agglomerative clusterig (right) ters of costraits. The ituitio is the same: the similarity fuctio measures the advatage of implemetig two clusters with the same commuicatio medium versus usig two dedicated media: The similarity fuctio betwee two costrait clusters k i,k j is σ(k i,k j ) = c(k i k j ) c(k i ) c(k j ). This fuctio is used by the agglomerative clusterig algorithm to derive a optimum clusterig. The algorithm first builds a sigle cluster for each costrait i CG. The set of these clusters is deoted as K = {a,...,a }. The, at each step of the while loop, the two more similar clusters are greedily selected ad merged together. Thus, the algorithm cosiders distict clusterig cofiguratios before returig the optimal oe from a implemetatio cost viewpoit. The complexity of this algorithm is O( 3 ). 5. Simulatio ad Result We implemeted the proposed clusterig algorithms i a C++ package called SENC (Sythesis Egie for Networks-o-Chip). To derive the optimum -way mergig topology, SENC uses the NEWMAT matrix library [5]. The table of Figure 3 reports the experimetal results obtaied by ruig the two clusterig algorithms ad the exact optimizatio algorithm from [9]. We used a commuicatio library with oly three types of liks havig respectively badwidth, 5, ad cost per uit legth,.,.4. We radomly geerated four costraits graphs with arc cardiality A equal to 5,,5,3. For each algorithm, we report the cost of the implemetatio graph ad the CPU time i millisecods (o a 75MHZ, 56Mbyte Petium III). The expoetial ature of the exact algorithm is clear: for A = 3 it does ot retur the solutio i the allotted time ( miutes). As expected from the complexity aalysis, divisive clusterig is faster tha agglomerative clusterig. However, the latter returs better results that are quite close to the exact solutio (whe this is computed). Note that the cost of the implemetatio graph may be omootoic i the umber of requiremets because addig ew costraits may lead to the geeratio of ew mergigs with costraits that previously were implemeted as poit-to-poit dedicated liks. The two diagrams of Figure 3 show the sythesis results for the exact algorithm ad the agglomerative clusterig oe (case A = ). For each costrait a i, S i is the source port ad D i the target port. Note the similarities betwee the results obtaied with the two approaches. Also otice how outliers are sigled out by the clusterig algorithm (particularly costraits 3, 4, 9, 8). Costraits 3,4, ad 9 are so short ad with low badwidth that are better implemeted as poit-to-poit chaels. Arc costrait 8 is orieted orthogoally to all its eighbors, which are log arc costraits that get merged together. Cocludig Remarks. We divided the optimizatio problem of CDCS [9] ito two steps: clusterig of costraits ad optimal sythesis of the clustered costraits. We cast the latter as a quadratic programmig problem. For the former, we developed two heuristic algorithms, divisive clusterig ad agglomerative clusterig, whose complexity is respectively O( ) ad O( 3 ), where is the umber of costraits. Experimetal results show that the agglomerative algorithm is closer to the exact solutios tha the divisive oe, which, however, rus faster. Eve though we focused o bus-based commuicatio etworks, the applicability of our approach is quite geeral because chagig the cluster implemetatio does ot chage the ature of the optimizatio problem. Refereces [] A. Alla, D. Edefeld, W. J. Jr., A.B.Kahg, M. Rodgers, ad Y. Zoria. Techology Roadmap for Semicoductors. IEEE Computer, 35():4 53, Ja.. [] L. Beii ad G. De-Micheli. Networks o-chips: A ew soc paradigm. IEEE Computer, Jauary. [3] S. Boyd ad L. Vadeberghe. Covex Optimizatio. available at boyd/cvxbook.html,. [4] W. J. Dally ad B. Towles. Route packets, ot wires. I Proc. of the Desig Automatio Cof., pages ,. [5] R. Davies. Newmat C++ Matrix Library. available at itro.htm,. [6] R. Ho, K. Mai, ad M. Horowitz. The Future of Wires. Proc. of the IEEE, 89(4):49 54, Apr.. [7] K. Lahiri, A. Raghuatha, ad S. Dey. Efficiet exploratio of the soc commuicatio architecture desig space. I Proc. Itl. Cof. o Computer-Aided Desig, pages 44 43,. [8] B. Mirki. Mathematical Classificatio ad Clusterig. Kluwer Academic Publishers, 996. [9] A. Pito, L. P. Carloi, ad A. L. Sagiovai-Vicetelli. Costrait-Drive Commuicatio Sythesis. I Proc. of the Desig Automatio Cof., pages IEEE, Jue. [] J. Walrad ad P. Varaija. High Performace Commuicatio Networks. Morga Kaufma,Sa Fracisco,.

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

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

condition w i B i S maximum u i

condition w i B i S maximum u i ecture 10 Dyamic Programmig 10.1 Kapsack Problem November 1, 2004 ecturer: Kamal Jai Notes: Tobias Holgers We are give a set of items U = {a 1, a 2,..., a }. Each item has a weight w i Z + ad a utility

More information

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

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

An Efficient Algorithm for Graph Bisection of Triangularizations

An Efficient Algorithm for Graph Bisection of Triangularizations Applied Mathematical Scieces, Vol. 1, 2007, o. 25, 1203-1215 A Efficiet Algorithm for Graph Bisectio of Triagularizatios Gerold Jäger Departmet of Computer Sciece Washigto Uiversity Campus Box 1045, Oe

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

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

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

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

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

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

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

n n B. How many subsets of C are there of cardinality n. We are selecting elements for such a

n n B. How many subsets of C are there of cardinality n. We are selecting elements for such a 4. [10] Usig a combiatorial argumet, prove that for 1: = 0 = Let A ad B be disjoit sets of cardiality each ad C = A B. How may subsets of C are there of cardiality. We are selectig elemets for such a subset

More information

The isoperimetric problem on the hypercube

The isoperimetric problem on the hypercube The isoperimetric problem o the hypercube Prepared by: Steve Butler November 2, 2005 1 The isoperimetric problem We will cosider the -dimesioal hypercube Q Recall that the hypercube Q is a graph whose

More information

Fundamentals of Media Processing. Shin'ichi Satoh Kazuya Kodama Hiroshi Mo Duy-Dinh Le

Fundamentals of Media Processing. Shin'ichi Satoh Kazuya Kodama Hiroshi Mo Duy-Dinh Le Fudametals of Media Processig Shi'ichi Satoh Kazuya Kodama Hiroshi Mo Duy-Dih Le Today's topics Noparametric Methods Parze Widow k-nearest Neighbor Estimatio Clusterig Techiques k-meas Agglomerative Hierarchical

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

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

Cluster Analysis. Andrew Kusiak Intelligent Systems Laboratory

Cluster Analysis. Andrew Kusiak Intelligent Systems Laboratory Cluster Aalysis Adrew Kusiak Itelliget Systems Laboratory 2139 Seamas Ceter The Uiversity of Iowa Iowa City, Iowa 52242-1527 adrew-kusiak@uiowa.edu http://www.icae.uiowa.edu/~akusiak Two geeric modes of

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

Lecture 18. Optimization in n dimensions

Lecture 18. Optimization in n dimensions Lecture 8 Optimizatio i dimesios Itroductio We ow cosider the problem of miimizig a sigle scalar fuctio of variables, f x, where x=[ x, x,, x ]T. The D case ca be visualized as fidig the lowest poit of

More information

Lecture 6. Lecturer: Ronitt Rubinfeld Scribes: Chen Ziv, Eliav Buchnik, Ophir Arie, Jonathan Gradstein

Lecture 6. Lecturer: Ronitt Rubinfeld Scribes: Chen Ziv, Eliav Buchnik, Ophir Arie, Jonathan Gradstein 068.670 Subliear Time Algorithms November, 0 Lecture 6 Lecturer: Roitt Rubifeld Scribes: Che Ziv, Eliav Buchik, Ophir Arie, Joatha Gradstei Lesso overview. Usig the oracle reductio framework for approximatig

More information

Lecturers: Sanjam Garg and Prasad Raghavendra Feb 21, Midterm 1 Solutions

Lecturers: Sanjam Garg and Prasad Raghavendra Feb 21, Midterm 1 Solutions U.C. Berkeley CS170 : Algorithms Midterm 1 Solutios Lecturers: Sajam Garg ad Prasad Raghavedra Feb 1, 017 Midterm 1 Solutios 1. (4 poits) For the directed graph below, fid all the strogly coected compoets

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

Alpha Individual Solutions MAΘ National Convention 2013

Alpha Individual Solutions MAΘ National Convention 2013 Alpha Idividual Solutios MAΘ Natioal Covetio 0 Aswers:. D. A. C 4. D 5. C 6. B 7. A 8. C 9. D 0. B. B. A. D 4. C 5. A 6. C 7. B 8. A 9. A 0. C. E. B. D 4. C 5. A 6. D 7. B 8. C 9. D 0. B TB. 570 TB. 5

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

Administrative UNSUPERVISED LEARNING. Unsupervised learning. Supervised learning 11/25/13. Final project. No office hours today

Administrative UNSUPERVISED LEARNING. Unsupervised learning. Supervised learning 11/25/13. Final project. No office hours today Admiistrative Fial project No office hours today UNSUPERVISED LEARNING David Kauchak CS 451 Fall 2013 Supervised learig Usupervised learig label label 1 label 3 model/ predictor label 4 label 5 Supervised

More information

The Closest Line to a Data Set in the Plane. David Gurney Southeastern Louisiana University Hammond, Louisiana

The Closest Line to a Data Set in the Plane. David Gurney Southeastern Louisiana University Hammond, Louisiana The Closest Lie to a Data Set i the Plae David Gurey Southeaster Louisiaa Uiversity Hammod, Louisiaa ABSTRACT This paper looks at three differet measures of distace betwee a lie ad a data set i the plae:

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

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

9.1. Sequences and Series. Sequences. What you should learn. Why you should learn it. Definition of Sequence

9.1. Sequences and Series. Sequences. What you should learn. Why you should learn it. Definition of Sequence _9.qxd // : AM Page Chapter 9 Sequeces, Series, ad Probability 9. Sequeces ad Series What you should lear Use sequece otatio to write the terms of sequeces. Use factorial otatio. Use summatio otatio to

More information

Lecture 2: Spectra of Graphs

Lecture 2: Spectra of Graphs Spectral Graph Theory ad Applicatios WS 20/202 Lecture 2: Spectra of Graphs Lecturer: Thomas Sauerwald & He Su Our goal is to use the properties of the adjacecy/laplacia matrix of graphs to first uderstad

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

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

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

Relay Placement Based on Divide-and-Conquer

Relay Placement Based on Divide-and-Conquer Relay Placemet Based o Divide-ad-Coquer Ravabakhsh Akhlaghiia, Azadeh Kaviafar, ad Mohamad Javad Rostami, Member, IACSIT Abstract I this paper, we defie a relay placemet problem to cover a large umber

More information

Greedy Algorithms. Interval Scheduling. Greedy Algorithms. Interval scheduling. Greedy Algorithms. Interval Scheduling

Greedy Algorithms. Interval Scheduling. Greedy Algorithms. Interval scheduling. Greedy Algorithms. Interval Scheduling Greedy Algorithms Greedy Algorithms Witer Paul Beame Hard to defie exactly but ca give geeral properties Solutio is built i small steps Decisios o how to build the solutio are made to maximize some criterio

More information

Analysis of Algorithms

Analysis of Algorithms Aalysis of Algorithms Ruig Time of a algorithm Ruig Time Upper Bouds Lower Bouds Examples Mathematical facts Iput Algorithm Output A algorithm is a step-by-step procedure for solvig a problem i a fiite

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

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

CIS 121 Data Structures and Algorithms with Java Spring Stacks and Queues Monday, February 12 / Tuesday, February 13

CIS 121 Data Structures and Algorithms with Java Spring Stacks and Queues Monday, February 12 / Tuesday, February 13 CIS Data Structures ad Algorithms with Java Sprig 08 Stacks ad Queues Moday, February / Tuesday, February Learig Goals Durig this lab, you will: Review stacks ad queues. Lear amortized ruig time aalysis

More information

CHAPTER IV: GRAPH THEORY. Section 1: Introduction to Graphs

CHAPTER IV: GRAPH THEORY. Section 1: Introduction to Graphs CHAPTER IV: GRAPH THEORY Sectio : Itroductio to Graphs Sice this class is called Number-Theoretic ad Discrete Structures, it would be a crime to oly focus o umber theory regardless how woderful those topics

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

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

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

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

. 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

Counting the Number of Minimum Roman Dominating Functions of a Graph

Counting the Number of Minimum Roman Dominating Functions of a Graph Coutig the Number of Miimum Roma Domiatig Fuctios of a Graph SHI ZHENG ad KOH KHEE MENG, Natioal Uiversity of Sigapore We provide two algorithms coutig the umber of miimum Roma domiatig fuctios of a graph

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

On (K t e)-saturated Graphs

On (K t e)-saturated Graphs Noame mauscript No. (will be iserted by the editor O (K t e-saturated Graphs Jessica Fuller Roald J. Gould the date of receipt ad acceptace should be iserted later Abstract Give a graph H, we say a graph

More information

CIS 121 Data Structures and Algorithms with Java Spring Stacks, Queues, and Heaps Monday, February 18 / Tuesday, February 19

CIS 121 Data Structures and Algorithms with Java Spring Stacks, Queues, and Heaps Monday, February 18 / Tuesday, February 19 CIS Data Structures ad Algorithms with Java Sprig 09 Stacks, Queues, ad Heaps Moday, February 8 / Tuesday, February 9 Stacks ad Queues Recall the stack ad queue ADTs (abstract data types from lecture.

More information

Numerical Methods Lecture 6 - Curve Fitting Techniques

Numerical Methods Lecture 6 - Curve Fitting Techniques Numerical Methods Lecture 6 - Curve Fittig Techiques Topics motivatio iterpolatio liear regressio higher order polyomial form expoetial form Curve fittig - motivatio For root fidig, we used a give fuctio

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

Minimum Spanning Trees

Minimum Spanning Trees Presetatio for use with the textbook, lgorithm esig ad pplicatios, by M. T. Goodrich ad R. Tamassia, Wiley, 0 Miimum Spaig Trees 0 Goodrich ad Tamassia Miimum Spaig Trees pplicatio: oectig a Network Suppose

More information

Computational Geometry

Computational Geometry Computatioal Geometry Chapter 4 Liear programmig Duality Smallest eclosig disk O the Ageda Liear Programmig Slides courtesy of Craig Gotsma 4. 4. Liear Programmig - Example Defie: (amout amout cosumed

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

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

Minimum Spanning Trees. Application: Connecting a Network

Minimum Spanning Trees. Application: Connecting a Network Miimum Spaig Tree // : Presetatio for use with the textbook, lgorithm esig ad pplicatios, by M. T. oodrich ad R. Tamassia, Wiley, Miimum Spaig Trees oodrich ad Tamassia Miimum Spaig Trees pplicatio: oectig

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

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

Parabolic Path to a Best Best-Fit Line:

Parabolic Path to a Best Best-Fit Line: Studet Activity : Fidig the Least Squares Regressio Lie By Explorig the Relatioship betwee Slope ad Residuals Objective: How does oe determie a best best-fit lie for a set of data? Eyeballig it may be

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

Task scenarios Outline. Scenarios in Knowledge Extraction. Proposed Framework for Scenario to Design Diagram Transformation

Task scenarios Outline. Scenarios in Knowledge Extraction. Proposed Framework for Scenario to Design Diagram Transformation 6-0-0 Kowledge Trasformatio from Task Scearios to View-based Desig Diagrams Nima Dezhkam Kamra Sartipi {dezhka, sartipi}@mcmaster.ca Departmet of Computig ad Software McMaster Uiversity CANADA SEKE 08

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

Heuristic Approaches for Solving the Multidimensional Knapsack Problem (MKP)

Heuristic Approaches for Solving the Multidimensional Knapsack Problem (MKP) Heuristic Approaches for Solvig the Multidimesioal Kapsack Problem (MKP) R. PARRA-HERNANDEZ N. DIMOPOULOS Departmet of Electrical ad Computer Eg. Uiversity of Victoria Victoria, B.C. CANADA Abstract: -

More information

c-dominating Sets for Families of Graphs

c-dominating Sets for Families of Graphs c-domiatig Sets for Families of Graphs Kelsie Syder Mathematics Uiversity of Mary Washigto April 6, 011 1 Abstract The topic of domiatio i graphs has a rich history, begiig with chess ethusiasts i the

More information

Throughput-Delay Scaling in Wireless Networks with Constant-Size Packets

Throughput-Delay Scaling in Wireless Networks with Constant-Size Packets Throughput-Delay Scalig i Wireless Networks with Costat-Size Packets Abbas El Gamal, James Mamme, Balaji Prabhakar, Devavrat Shah Departmets of EE ad CS Staford Uiversity, CA 94305 Email: {abbas, jmamme,

More information

Strong Complementary Acyclic Domination of a Graph

Strong Complementary Acyclic Domination of a Graph Aals of Pure ad Applied Mathematics Vol 8, No, 04, 83-89 ISSN: 79-087X (P), 79-0888(olie) Published o 7 December 04 wwwresearchmathsciorg Aals of Strog Complemetary Acyclic Domiatio of a Graph NSaradha

More information

arxiv: v2 [cs.ds] 24 Mar 2018

arxiv: v2 [cs.ds] 24 Mar 2018 Similar Elemets ad Metric Labelig o Complete Graphs arxiv:1803.08037v [cs.ds] 4 Mar 018 Pedro F. Felzeszwalb Brow Uiversity Providece, RI, USA pff@brow.edu March 8, 018 We cosider a problem that ivolves

More information

A General Framework for Accurate Statistical Timing Analysis Considering Correlations

A General Framework for Accurate Statistical Timing Analysis Considering Correlations A Geeral Framework for Accurate Statistical Timig Aalysis Cosiderig Correlatios 7.4 Vishal Khadelwal Departmet of ECE Uiversity of Marylad-College Park vishalk@glue.umd.edu Akur Srivastava Departmet of

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

Lecture Notes on Integer Linear Programming

Lecture Notes on Integer Linear Programming Lecture Notes o Iteger Liear Programmig Roel va de Broek October 15, 2018 These otes supplemet the material o (iteger) liear programmig covered by the lectures i the course Algorithms for Decisio Support.

More information

Solving Fuzzy Assignment Problem Using Fourier Elimination Method

Solving Fuzzy Assignment Problem Using Fourier Elimination Method Global Joural of Pure ad Applied Mathematics. ISSN 0973-768 Volume 3, Number 2 (207), pp. 453-462 Research Idia Publicatios http://www.ripublicatio.com Solvig Fuzzy Assigmet Problem Usig Fourier Elimiatio

More information

15-859E: Advanced Algorithms CMU, Spring 2015 Lecture #2: Randomized MST and MST Verification January 14, 2015

15-859E: Advanced Algorithms CMU, Spring 2015 Lecture #2: Randomized MST and MST Verification January 14, 2015 15-859E: Advaced Algorithms CMU, Sprig 2015 Lecture #2: Radomized MST ad MST Verificatio Jauary 14, 2015 Lecturer: Aupam Gupta Scribe: Yu Zhao 1 Prelimiaries I this lecture we are talkig about two cotets:

More information

1.2 Binomial Coefficients and Subsets

1.2 Binomial Coefficients and Subsets 1.2. BINOMIAL COEFFICIENTS AND SUBSETS 13 1.2 Biomial Coefficiets ad Subsets 1.2-1 The loop below is part of a program to determie the umber of triagles formed by poits i the plae. for i =1 to for j =

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

Introduction. Nature-Inspired Computing. Terminology. Problem Types. Constraint Satisfaction Problems - CSP. Free Optimization Problem - FOP

Introduction. Nature-Inspired Computing. Terminology. Problem Types. Constraint Satisfaction Problems - CSP. Free Optimization Problem - FOP Nature-Ispired Computig Hadlig Costraits Dr. Şima Uyar September 2006 Itroductio may practical problems are costraied ot all combiatios of variable values represet valid solutios feasible solutios ifeasible

More information

Second-Order Domain Decomposition Method for Three-Dimensional Hyperbolic Problems

Second-Order Domain Decomposition Method for Three-Dimensional Hyperbolic Problems Iteratioal Mathematical Forum, Vol. 8, 013, o. 7, 311-317 Secod-Order Domai Decompositio Method for Three-Dimesioal Hyperbolic Problems Youbae Ju Departmet of Applied Mathematics Kumoh Natioal Istitute

More information

The Counterchanged Crossed Cube Interconnection Network and Its Topology Properties

The Counterchanged Crossed Cube Interconnection Network and Its Topology Properties WSEAS TRANSACTIONS o COMMUNICATIONS Wag Xiyag The Couterchaged Crossed Cube Itercoectio Network ad Its Topology Properties WANG XINYANG School of Computer Sciece ad Egieerig South Chia Uiversity of Techology

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

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

The Adjacency Matrix and The nth Eigenvalue

The Adjacency Matrix and The nth Eigenvalue Spectral Graph Theory Lecture 3 The Adjacecy Matrix ad The th Eigevalue Daiel A. Spielma September 5, 2012 3.1 About these otes These otes are ot ecessarily a accurate represetatio of what happeed i class.

More information

Parallel Polygon Approximation Algorithm Targeted at Reconfigurable Multi-Ring Hardware

Parallel Polygon Approximation Algorithm Targeted at Reconfigurable Multi-Ring Hardware Parallel Polygo Approximatio Algorithm Targeted at Recofigurable Multi-Rig Hardware M. Arif Wai* ad Hamid R. Arabia** *Califoria State Uiversity Bakersfield, Califoria, USA **Uiversity of Georgia, Georgia,

More information

Speeding-up dynamic programming in sequence alignment

Speeding-up dynamic programming in sequence alignment Departmet of Computer Sciece Aarhus Uiversity Demark Speedig-up dyamic programmig i sequece aligmet Master s Thesis Dug My Hoa - 443 December, Supervisor: Christia Nørgaard Storm Pederse Implemetatio code

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

THE PROBLEM THE PROBLEM (1) THE PROBLEM (2) THE MINIMUM ENERGY BROADCAST PROBLEM THE MINIMUM SPANNING TREE

THE PROBLEM THE PROBLEM (1) THE PROBLEM (2) THE MINIMUM ENERGY BROADCAST PROBLEM THE MINIMUM SPANNING TREE THE MINIMUM ENERGY BROADCAST PROBLEM I.E. THE MINIMUM SPANNING TREE PROBLEM Prof. Tiziaa Calamoeri Network Algorithms A.y. 05/ THE PROBLEM THE PROBLEM () THE PROBLEM () What does it meas sufficietly close?!

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

MATHEMATICAL METHODS OF ANALYSIS AND EXPERIMENTAL DATA PROCESSING (Or Methods of Curve Fitting)

MATHEMATICAL METHODS OF ANALYSIS AND EXPERIMENTAL DATA PROCESSING (Or Methods of Curve Fitting) MATHEMATICAL METHODS OF ANALYSIS AND EXPERIMENTAL DATA PROCESSING (Or Methods of Curve Fittig) I this chapter, we will eamie some methods of aalysis ad data processig; data obtaied as a result of a give

More information

15 UNSUPERVISED LEARNING

15 UNSUPERVISED LEARNING 15 UNSUPERVISED LEARNING [My father] advised me to sit every few moths i my readig chair for a etire eveig, close my eyes ad try to thik of ew problems to solve. I took his advice very seriously ad have

More information

Graphs. Minimum Spanning Trees. Slides by Rose Hoberman (CMU)

Graphs. Minimum Spanning Trees. Slides by Rose Hoberman (CMU) Graphs Miimum Spaig Trees Slides by Rose Hoberma (CMU) Problem: Layig Telephoe Wire Cetral office 2 Wirig: Naïve Approach Cetral office Expesive! 3 Wirig: Better Approach Cetral office Miimize the total

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

DATA MINING II - 1DL460

DATA MINING II - 1DL460 DATA MINING II - 1DL460 Sprig 2017 A secod course i data miig http://www.it.uu.se/edu/course/homepage/ifoutv2/vt17/ Kjell Orsbor Uppsala Database Laboratory Departmet of Iformatio Techology, Uppsala Uiversity,

More information

Exact Minimum Lower Bound Algorithm for Traveling Salesman Problem

Exact Minimum Lower Bound Algorithm for Traveling Salesman Problem Exact Miimum Lower Boud Algorithm for Travelig Salesma Problem Mohamed Eleiche GeoTiba Systems mohamed.eleiche@gmail.com Abstract The miimum-travel-cost algorithm is a dyamic programmig algorithm to compute

More information

New Results on Energy of Graphs of Small Order

New Results on Energy of Graphs of Small Order Global Joural of Pure ad Applied Mathematics. ISSN 0973-1768 Volume 13, Number 7 (2017), pp. 2837-2848 Research Idia Publicatios http://www.ripublicatio.com New Results o Eergy of Graphs of Small Order

More information

Xiaozhou (Steve) Li, Atri Rudra, Ram Swaminathan. HP Laboratories HPL Keyword(s): graph coloring; hardness of approximation

Xiaozhou (Steve) Li, Atri Rudra, Ram Swaminathan. HP Laboratories HPL Keyword(s): graph coloring; hardness of approximation Flexible Colorig Xiaozhou (Steve) Li, Atri Rudra, Ram Swamiatha HP Laboratories HPL-2010-177 Keyword(s): graph colorig; hardess of approximatio Abstract: Motivated b y reliability cosideratios i data deduplicatio

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

CS 683: Advanced Design and Analysis of Algorithms

CS 683: Advanced Design and Analysis of Algorithms CS 683: Advaced Desig ad Aalysis of Algorithms Lecture 6, February 1, 2008 Lecturer: Joh Hopcroft Scribes: Shaomei Wu, Etha Feldma February 7, 2008 1 Threshold for k CNF Satisfiability I the previous lecture,

More information

Octahedral Graph Scaling

Octahedral Graph Scaling Octahedral Graph Scalig Peter Russell Jauary 1, 2015 Abstract There is presetly o strog iterpretatio for the otio of -vertex graph scalig. This paper presets a ew defiitio for the term i the cotext of

More information

BASED ON ITERATIVE ERROR-CORRECTION

BASED ON ITERATIVE ERROR-CORRECTION A COHPARISO OF CRYPTAALYTIC PRICIPLES BASED O ITERATIVE ERROR-CORRECTIO Miodrag J. MihaljeviC ad Jova Dj. GoliC Istitute of Applied Mathematics ad Electroics. Belgrade School of Electrical Egieerig. Uiversity

More information