Heuristic Set-Covering-Based Postprocessing for Improving the Quine-McCluskey Method

Size: px
Start display at page:

Download "Heuristic Set-Covering-Based Postprocessing for Improving the Quine-McCluskey Method"

Transcription

1 Heuristic Set-Coverig-Based Postprocessig for Improvig the Quie-McCluskey Method Miloš Šeda Abstract Fidig the miimal logical fuctios has importat applicatios i the desig of logical circuits. This task is solved by may differet methods but, frequetly, they are ot suitable for a computer implemetatio. We briefly summarise the well-kow Quie-McCluskey method, which gives a uique procedure of computig ad thus ca be simply implemeted, but, eve for simple examples, does ot guaratee a optimal solutio. Sice the Petrick extesio of the Quie-McCluskey method does ot give a geerally usable method for fidig a optimum for logical fuctios with a high umber of values, we focus o iterpretatio of the result of the Quie-McCluskey method ad show that it represets a set coverig problem that, ufortuately, is a NP-hard combiatorial problem. Therefore it must be solved by heuristic or approximatio methods. We propose a approach based o geetic algorithms ad show suitable parameter settigs. Keywords Boolea algebra, Karaugh map, Quie-McCluskey method, set coverig problem, geetic algorithm. I. INTRODUCTION OR miimisatio of logical fuctios, laws of the Boolea F algebra ad the Karaugh maps are mostly used. The Karaugh maps represet a very efficiet graphical tool for miimisig logical fuctios with o more tha 6 variables. However, their use is based o visual recogitio of adjacet cells ad, therefore, the method is ot suitable for automated processig o computers. A direct applicatio of the Boolea algebra laws is ot restricted i this way, but there is o geeral algorithm defiig the sequece of their applicatio ad thus this approach is ot suitable for computer implemetatio either. With the growig stregth of computatioal techiques, further ivestigatios were focused o a algorithm-based techique for simplifyig Boolea logic fuctios that could be used to hadle a large umber of variables. The well-kow method usable o computers is the algorithm proposed by Edward J. McCluskey, professor of electrical egieerig at Uiversity of Stadford, ad philosopher Willard va Orma Quie from Harvard Uiversity [3], [8]. We will assume that the umber of variables may be high but restricted i the sese that all 2 rows of the correspodig Mauscript received Jue 5, This work was supported i part by the Miistry of Educatio, Youth ad Sports of the Czech Republic uder research pla MSM "Simulatio Modellig of Mechatroic Systems". Miloš Šeda works i the Istitute of Automatio ad Computer Sciece, Faculty of Mechaical Egieerig, Bro Uiversity of Techology, Techická 2896/2, CZ Bro, Czech Republic (phoe: ; fax: ; seda@fme.vutbr.cz). truth table may be saved i a memory ad thus may be processed. If this coditio is ot satisfied, the we could oly work with a selected umber of truth table rows. This approach is possible, e.g., i image filters [9]. Of course, this is iacceptable i real logic cotrol applicatios where all iput combiatios must be tested. I the ext cosideratios we will assume the full truth table. II. QUINE-MCCLUSKEY METHOD The Quie-McCluskey method [3], [7], [8] is a exact algorithm based o systematic applicatio of the distributive law, complemet law (2) ad idempotece law (3), i.e. the laws as follows: x.( y + z) = xy + xz x+ x = (2) x + x = x (3) From ad (2), we ca easily derive the uitig theorem (4) xy+ xy = x.( y+ y) = x. = x (4) I geeral, this meas that two expressios with the same set of variables differig oly i oe variable with complemetary occurrece may be reduced to oe expressio give by their commo part, e.g. f = + = xzw( x + x) = xzw.= xzw For ext cosideratios we will eed the followig otios: Literal is a variable or its egatio. Term is a cojuctio (= product) of literals. Miterm is a cojuctio of literals icludig every variable of the fuctio exactly oce i true or complemeted form. For example, if f ( xyz,, ) = xyz+ xy, the x yz ad xy are terms ad miterms are represeted by cojuctios x yz, xyz ad xyz because xy = xy( z+ z) = xyz+ xyz. Disjuctive ormal form (DNF) of a formula f is a formula f such that f is equivalet to f ad f has the form of a disjuctio of cojuctios of literals. Caoical (or complete) disjuctive ormal form (CDNF) is a DNF where all cojuctios are represeted by miterms. Now we ca describe a skeleto of the Quie-McCluskey method:. Miterms of a give Boolea fuctio i CDNF are divided ito groups such that miterms with the same umber of egatios are i the same group. 2. All pairs of terms from adjacet groups (i.e. groups whose umber of egatios differ by oe) are compared. 39

2 3. If compared terms differ oly i oe literal (ad the uitig theorem may be applied) the these terms are removed ad a term reduced to a commo part is carried to the ext iteratio. 4. All terms are used oly oce, i.e. if ecessary the idempotece law is applied. 5. If the umber of terms i the ew iteratio is ozero, the steps 2-5 are repeated, otherwise the algorithm fiishes. The result of the algorithm is represeted by the terms that were ot removed, i.e. that could ot be simplified. Now, we will apply the Quie-McCluskey method to a simple logical fuctio from [5] ad, by meas of the Karaugh map, we will show that it will ot fid its miimal form. Example Miimise the followig logical fuctio i CDNF. Solutio: If we divide the miterms ito groups by the umber of their egatios, the we get this iitial iteratio: (0) If we compare all pairs of terms from adjacet groups i the iitial iteratio (0) ad place i frames terms that ca be simplified ad divide the resultig terms i the ext iteratio ito groups agai, the we get: (0) Applyig the previous steps to iteratio, we get: (2) f = x yzw+ xy zw+ + + x yzw+ xy zw+ xyz w ; x yzw ; ; ; ; ; ; ; ; x yzw ; ; ; ; ; ; ; x yz ; xzw ; xy z ; y zw ; xy w ; xyz; xzw; xzw ; y zw ; x y z ; xyz ; xzw ; xyz ; yzw ; xyw ; xyz; xzw; xzw ; y zw ; x y z ; xz ; yz I iteratio (2) we have oly oe group of terms ad thus o simplified terms ca be geerated ad the algorithm fiishes. Its result f m is give by a disjuctio of those terms that caot be simplified. fm = xz + y z + xyw + xyz + xzw Let us cosider the same example ad solve it usig the Karaugh map. For the give Boolea fuctio f, we get the followig map x w z Fig. Karaugh map From this map, we get two possible solutios of a miimal logical fuctio depedig o the way of coverig the first two cells with logical i the last colums. a) f mi = xz + yz + xyw + xyz b) f2mi = xz + yz + xzw + xyz We ca see that the result gaied usig Karaugh map icludes a lower umber of terms tha the result of computatio by meas of Quie-McCluskey method. S. R. Petrick proposed a modificatio of Quie-McCluskey method that tries to remove the resultig redudacy [6]. The Quie-McCluskey simplificatio techique with special modificatios is preseted i [2]. Before describig the secod phase of computatio, we will defie several otios. (i) A Boolea term g is a implicat of a Boolea term f if: each literal i g is also obtaied i f (i.e. if g has the form g(x,..., x ) the f has the form f(x,..., x, y,, y m )), ad for all combiatios of literals the implicatio g f has a value of True. We kow that the implicatio is defied by Table. From this defiitio, we get that g is a implicat of f if ad oly if g f. I our case, that meas that the secod property is satisfied if g(x,..., x ) f(x,..., x, y,, y m ) for each selectio of x,..., x ad each selectio of y,, y m. TABLE I IMPLICATION g f g f Therefore, we ca cosider oly those values of variables at which g is true ad, for all these cases, f must also be true. (ii) The terms resultig from the Quie-McCluskey method are called prime implicats. y 40

3 I the Petrick modificatio of the Quie-McCluskey method, a table of prime implicats give by the results of the first phase is built. It has prime implicats i the heads of colums, miterms from a give CNDF are i the heads of rows ad, i cells represetig itersectios of rows ad colums, a selected symbol (e.g. ) is placed if the prime implicat i questio is a subset of a correspodig miterm. We say that prime implicats cover miterms. I our example the we get Table II as follows. TABLE II COVERING OF MINTERMS BY PRIME IMPLICANTS xz yz x yw xyz xzw x yzw Although the prime implicats caot be simplified, some of them ca be redudat ad thus may be omitted. However, symbols i colums of cosidered prime implicats must be spread ito all rows, otherwise the disjuctio of prime implicats would ot express the iitial caoical (complete) disjuctive ormal form, i.e., there would be a o-covered miterm. If there is a row i which occurs oly oce, the the prime implicat i the correspodig colum caot be omitted. Such implicats are called essetial prime implicats. I our example there are three essetial prime implicats: xz, yz ad xyz. Now we will simplify Table II by deletig colums of essetial prime implicats ad rows that cotai their symbols. We get Table 3. TABLE III x yw xzw It ca be easily see that, i simplified Table III, the miterm x yzw may be covered by the prime implicat x yw or by xzw. Hece we get two miimal disjuctive forms: fmi = xz + yz + xyw + xyz ad f = xz + yz + xzw + xyz, 2mi which agrees with the previous solutio by the Karaugh map. Although computatios by the Quie-McCluskey method with the Petrick modificatio have a wider use tha the approach based o the Karaugh map, however, this improved method has also its restrictios. The mai problem is i the procedure of coverig miterms by prime implicats. It ca be easily foud if the umber of the essetial prime implicats is high ad thus the table of prime implicats will be very reduced. I geeral, we caot expect this, ad it is eve possible that oe of the prime implicats is essetial. From the combiatorial optimisatio theory, it is kow that the set coverig problem is NP-hard ad its time complexity grows expoetially with the growig iput size. It ca be show that, for a CNDF with miterms, the upper boud of the umber of prime implicats is 3 /. If =32, we ca get more tha 6.5 * 0 5 prime implicats. To solve such a large istace of the set coverig problem is oly possible by heuristics (stochastic or determiistic) [], [2], [4], [6], [0], [], [4], [5], [20], [22] or by approximatio [7], [8] methods. However, they do ot guaratee a optimal solutio. A formal defiitio of the problem ad possible solutio by a geetic algorithm is proposed i the ext sectio. III. SET COVERING PROBLEM (SCP) The set coverig problem (SCP) is the problem of coverig the rows of a m-row, -colum, zero-oe matrix (a ij ) by a subset of colums at a miimal cost. Defiig x j = if colum j (with cost c j =>0) is i the solutio ad x j =0 otherwise, the SCP is: Miimise cx j j (5) subject to aij xj, i =, 2,..., m, (6) x j {0,}, j =, 2,..., (7) Costraits (6) esure that each row is covered by at least oe colum ad (7) is a costrait guarateeig itegers. I geeral, the cost coefficiets c j are positive itegers. Here, i the applicatio of the SCP for the secod phase of the Quie-McCluskey method, we assume all c j equal to because we try to miimise the umber of the coverig colums. This special case of SCP is called a uicost SCP. SCP has, besides Quie-McCluskey method, a wide rage of applicatios, for example vehicle ad crew schedulig [2], facilities locatio [], assembly lie balacig ad Boolea expressio simplificatio. There are umber of other combiatorial problems that ca be formulated as, or trasformed to, SCP such as the graph colourig problem [] ad the idepedet vertex set problem [7]. A fuzzy versio of SCP is studied i [3] ad [9]. Sice we use, for solvig the SCP, a modified versio of the geetic algorithm (GA) proposed by Beasley ad Chu [2], [4] for the o-uicost SCP, we summarise the basic 4

4 properties of GAs IV. GENETIC ALGORITHM The skeleto for GA ca be described as follows: geerate a iitial populatio ; evaluate fitess of idividuals i the populatio ; repeat select parets from the populatio; recombie (mate) parets to produce childre ; evaluate fitess of the childre ; replace some or all of the populatio by the childre util a satisfactory solutio has bee foud ; Sice the priciples of GAs are well-kow, we will oly deal with GA parameter settigs for the problems to be studied. Now we describe the geeral settigs. Idividuals i the populatio (chromosomes) are represeted as biary strigs of legth, where a value of 0 or at the i-th bit (gee) implies that x i = 0 or i the solutio respectively. The populatio size N is usually set betwee ad 2. May empirical results have show that populatio sizes i the rage [50, 200] work quite well for most problems. Iitial populatio is obtaied by geeratig radom strigs of 0s ad s i the followig way: First, all bits i all strigs are set to 0, ad the, for each of the strigs, radomly selected bits are set to util the solutios (represeted by strigs) are feasible. The fitess fuctio correspods to the objective fuctio to be maximised or miimised. There are three most commoly used methods of selectio of two paret solutio for reproductio: proportioate selectio, rakig selectio, ad touramet selectio. The touramet selectio is perhaps the simplest ad most efficiet amog these three methods. We use the biary touramet selectio method where two idividuals are chose radomly from the populatio. The more fit idividual is the allocated a reproductive trial. I order to produce a child, two biary touramets are held, each of which produces oe paret. The recombiatio is provided by the uiform crossover operator, which has a better recombiatio potetial tha do other crossover operators as the classical oe-poit ad twopoit crossover operators. The uiform crossover operator works by geeratig a radom crossover mask B (usig Beroulli distributio) which ca be represeted as a biary strig B = b b 2 b 3 b - b where is the legth of the chromosome. Let P ad P 2 be the paret strigs P [],...,P [] ad P 2 [],...,P 2 [] respectively. The the child solutio is created by lettig: C[i] = P [i] if b i = 0 ad C[i] = P 2 [i] if b i =. Mutatio is applied to each child after crossover. It works by ivertig M radomly chose bits i a strig where M is experimetally determied. We use a mutatio rate of 5/ as a lower boud o the optimal mutatio rate. It is equivalet to mutatig five radomly chose bits per strig. Whe v child solutios have bee geerated, the childre will replace v members of the existig populatio to keep the populatio size costat, ad the reproductive cycle will restart. As the replacemet of the whole paret populatio does ot guaratee that the best member of a populatio will survive ito the ext geeratio, it is better to use steady-state or icremetal replacemet which geerates ad replaces oly a few members (typically or 2) of the populatio durig each geeratio. The least-fit member, or a radomly selected member with below-average fitess, are usually chose for replacemet. Termiatio of a GA is usually cotrolled by specifyig a maximum umber of geeratios t max or relative improvemet of the best objective fuctio value over geeratios. Sice the optimal solutio values for most problems are ot kow, we choose t max V. GENETIC ALGORITHM FOR SCP The chromosome is represeted by a -bit biary strig S where is the umber of colums i the SCP. A value of for the j-th bit implies that colum j is i the solutio ad 0 otherwise. Sice the SCP is a miimisatio problem, the lower the fitess value, the more fit the solutio is. The fitess of a chromosome for the uicost SCP is calculated by (8). f ( S) = S[ j] (8) The biary represetatio causes problems with geeratig ifeasible chromosomes, e.g. i iitial populatio, i crossover ad/or mutatio operatios. To avoid ifeasible solutios a repair operator is applied. Let I = {,, m} = the set of all rows; J = {,, } = the set of all colums; α i = {j J a ij =} = the set of colums that cover row i, i I; β j = {i I a ij =} = the set of rows covered by colum j, j J; S = the set of colums i a solutio; U = the set of ucovered rows; w i = the umber of colums that cover row i, i I i S. The repair operator for the uicost SCP has the followig form: iitialise w i : = S α i, i I ; iitialise U : = { i w i = 0, i I } ; for each row i i U (i icreasig order of i) do begi fid the first colum j (i icreasig order of j) i α i that miimises / U β j ; S : = S + j ; w i : = w i +, i β j ; U : = U β j ed ; for each colum j i S (i decreasig order of j) do if w i 2, i β j the begi S : = S j ; w i : = w i, i β j ed ; { S is ow a feasible solutio to the SCP ad cotais o redudat colums } Iitialisig steps idetify the ucovered rows. For statemets are greedy heuristics i the sese that i the st 42

5 for, colums with low cost-ratios are beig cosidered first ad i the 2 d for, colums with high costs are dropped first wheever possible. VI. CONCLUSION I this paper, we studied the problem of miimisig the Boolea fuctios with a rather high umber of variables. Sice traditioal approaches based o the Boolea algebra or Karaugh maps have restrictios i the umber of variables ad the sequece of laws that could be applied is ot uique, we focus o the well-kow Quie-McCluskey method. Sice it does ot guaratee the fidig of a optimal solutio, we must apply a postprocessig phase. Ufortuately, the data resultig from the Quie-McCluskey method are i the form of a uicost set coverig problem, which is NP-hard. Therefore, for logical fuctios, the obvious Petrick s extesio of the Quie-McCluskey method caot be applied, ad heuristic or approximatio method must be used istead. We proposed a geetic algorithm-based approach ad discussed problem-orieted parameter settigs. I the future, we are goig to implemet also other stochastic heuristics, such as simulated aealig ad tabusearch, ad compare them with the geetic algorithm. [4] A. Mofroglio, Hybrid Heuristic Algorithms for Set Coverig, Computers & Operatios Research, vol. 25, pp , 998. [5] M. Ohlsso, C. Peterso ad B. Söderberg, A Efficiet Mea Field Approach to the Set Coverig Problem, Europea Joural of Operatioal Research, vol. 33, pp , 200. [6] S.K. Petrick, O the Miimizatio of Boolea Fuctios, i Proceedigs of the Iteratioal Coferece Iformatio Processig, Paris, 959, pp [7] Ch. Posthoff ad B. Steibach, Logic Fuctios ad Equatios: Biary Models for Computer Sciece. Berli: Spriger-Verlag, [8] W.V. Quie, The Problem of Simplifyig Truth Tables, America Mathematical Mothly, vol. 59, o. 8, pp , 952. [9] L. Sekaia, Evolvable Compoets. Berli: Spriger-Verlag, [20] M. Solar, V. Parada ad R. Urrutia, A Parallel Geetic Algorithm to Solve the Set-Coverig Problem, Computers & Operatios Research, vol. 29, pp , [2] S.P. Tomaszewski, I.U. Celik ad G.E. Atoiou, WWW-Based Boolea Fuctio Miimizatio, Iteratioal Joural of Applied Mathematics ad Computer Sciece, vol. 3, o. 4, pp , [22] M. Yagiura, M. Kishida ad T. Ibaraki, A 3-Flip Neighborhood Local Search for the Set Coverig Problem, Europea Joural of Operatioal Research, vol. 72, pp , REFERENCES [] L. Brotcore, G. Laporte ad F. Semet, Fast Heuristics for Large Scale Coverig-Locatio Problems, Computers & Operatios Research, vol. 29, pp , [2] J.E. Beasley P.C. Chu, A Geetic Algorithm for the Set Coverig Problem, Joural of Operatioal Research, vol. 95, o. 2, pp , 996. [3] C.I. Chiag, M.J. Hwag ad Y.H. Liu, A Alterative Formulatio for Certai Fuzzy Set-Coverig Problems, Mathematical ad Computer Modellig, vol. 42, pp , [4] P. Chu, A Geetic Algorithm Approach for Combiatorial Optimisatio Problems, PhD thesis, The Maagemet School Imperial College of Sciece, Techology ad Medicie, Lodo, 997. [5] K. Čulík, M. Skalická, I. Váňová, Logic (i Czech). Bro: VUT FE, 968. [6] P. Galiier ad A. Hertz, Solutio Techiques for the Large Set Coverig Problem, Discrete Applied Mathematics, vol. 55, pp , [7] F.C. Gomes, C.N. Meeses, P.M. Pardalos ad G.V.R. Viaa, Experimetal Aalysis of Approximatio Algorithms for the Vertex Cover ad Set Coverig Problems, Computers & Operatios Research, vol. 33, pp , [8] T. Grossma ad A. Wool, Computatioal Experiece with Approximatio Algorithms for the Set Coverig Problem, Europea Joural of Operatioal Research, vol. 0, pp. 8-92, 997. [9] M.J. Hwag, C.I. Chiag ad Y.H. Liu, Solvig a Fuzzy Set-Coverig Problem, Mathematical ad Computer Modellig, vol. 40, pp , [0] G. La ad G.W. DePuy, O the Effectiveess of Icorporatig Radomess ad Memory ito a Multi-Start Metaheuristic with Applicatio to the Set Coverig Problem, Computers & Idustrial Egieerig, vol. 5, pp , [] G. La, G.W. DePuy ad G.E. Whitehouse, A Effective ad Simple Heuristic for the Set Coverig Problem, Europea Joural of Operatioal Research, vol. 76, pp , [2] M. Mesquita ad A. Paias, Set Partitioig/Coverig-Based Approaches for the Itegrated Vehicle ad Crew Schedulig Problem, Computers & Operatios Research, i press, [3] E.J. McCluskey, Miimizatio of Boolea Fuctios, Bell System Techical Joural, vol. 35, o. 5, pp ,

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

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

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

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

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

Małgorzata Sterna. Mateusz Cicheński, Mateusz Jarus, Michał Miszkiewicz, Jarosław Szymczak

Małgorzata Sterna. Mateusz Cicheński, Mateusz Jarus, Michał Miszkiewicz, Jarosław Szymczak Małgorzata Stera Mateusz Cicheński, Mateusz Jarus, Michał Miszkiewicz, Jarosław Szymczak Istitute of Computig Sciece Pozań Uiversity of Techology Pozań - Polad Scope of the Talk Problem defiitio MP Formulatio

More information

Structuring Redundancy for Fault Tolerance. CSE 598D: Fault Tolerant Software

Structuring Redundancy for Fault Tolerance. CSE 598D: Fault Tolerant Software Structurig Redudacy for Fault Tolerace CSE 598D: Fault Tolerat Software What do we wat to achieve? Versios Damage Assessmet Versio 1 Error Detectio Iputs Versio 2 Voter Outputs State Restoratio Cotiued

More information

Research Article A New Formulation of the Set Covering Problem for Metaheuristic Approaches

Research Article A New Formulation of the Set Covering Problem for Metaheuristic Approaches ISRN Operatios Research Volume 2013, Article ID 203032, 10 pages http://dx.doi.org/10.1155/2013/203032 Research Article A New Formulatio of the Set Coverig Problem for Metaheuristic Approaches Nehme Bilal,

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

Optimal Mapped Mesh on the Circle

Optimal Mapped Mesh on the Circle Koferece ANSYS 009 Optimal Mapped Mesh o the Circle doc. Ig. Jaroslav Štigler, Ph.D. Bro Uiversity of Techology, aculty of Mechaical gieerig, ergy Istitut, Abstract: This paper brigs out some ideas ad

More information

ISSN (Print) Research Article. *Corresponding author Nengfa Hu

ISSN (Print) Research Article. *Corresponding author Nengfa Hu Scholars Joural of Egieerig ad Techology (SJET) Sch. J. Eg. Tech., 2016; 4(5):249-253 Scholars Academic ad Scietific Publisher (A Iteratioal Publisher for Academic ad Scietific Resources) www.saspublisher.com

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

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

An Estimation of Distribution Algorithm for solving the Knapsack problem

An Estimation of Distribution Algorithm for solving the Knapsack problem Vol.4,No.5, 214 Published olie: May 25, 214 DOI: 1.7321/jscse.v4.5.1 A Estimatio of Distributio Algorithm for solvig the Kapsack problem 1 Ricardo Pérez, 2 S. Jös, 3 Arturo Herádez, 4 Carlos A. Ochoa *1,

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Fuzzy Rule Selection by Data Mining Criteria and Genetic Algorithms

Fuzzy Rule Selection by Data Mining Criteria and Genetic Algorithms Fuzzy Rule Selectio by Data Miig Criteria ad Geetic Algorithms Hisao Ishibuchi Dept. of Idustrial Egieerig Osaka Prefecture Uiversity 1-1 Gakue-cho, Sakai, Osaka 599-8531, JAPAN E-mail: hisaoi@ie.osakafu-u.ac.jp

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

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

A Boolean Query Processing with a Result Cache in Mediator Systems

A Boolean Query Processing with a Result Cache in Mediator Systems A Boolea Query Processig with a Result Cache i Mediator Systems Jae-heo Cheog ad Sag-goo Lee * Departmet of Computer Sciece Seoul Natioal Uiversity Sa 56-1 Shillim-dog Kwaak-gu, Seoul Korea {cjh, sglee}cygus.su.ac.kr

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

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

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

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

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

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

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

Lecture 17: Feature Subset Selection II

Lecture 17: Feature Subset Selection II Lecture 17: Feature Subset Selectio II Expoetial search methods Brach ad Boud Approximate Mootoicity with Brach ad Boud Beam Search Radomized alorithms Radom Geeratio plus Sequetial Selectio Simulated

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

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

Mathematical Stat I: solutions of homework 1

Mathematical Stat I: solutions of homework 1 Mathematical Stat I: solutios of homework Name: Studet Id N:. Suppose we tur over cards simultaeously from two well shuffled decks of ordiary playig cards. We say we obtai a exact match o a particular

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

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

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

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

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

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

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

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

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

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

Filter design. 1 Design considerations: a framework. 2 Finite impulse response (FIR) filter design

Filter design. 1 Design considerations: a framework. 2 Finite impulse response (FIR) filter design Filter desig Desig cosideratios: a framework C ı p ı p H(f) Aalysis of fiite wordlegth effects: I practice oe should check that the quatisatio used i the implemetatio does ot degrade the performace of

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

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

THIN LAYER ORIENTED MAGNETOSTATIC CALCULATION MODULE FOR ELMER FEM, BASED ON THE METHOD OF THE MOMENTS. Roman Szewczyk

THIN LAYER ORIENTED MAGNETOSTATIC CALCULATION MODULE FOR ELMER FEM, BASED ON THE METHOD OF THE MOMENTS. Roman Szewczyk THIN LAYER ORIENTED MAGNETOSTATIC CALCULATION MODULE FOR ELMER FEM, BASED ON THE METHOD OF THE MOMENTS Roma Szewczyk Istitute of Metrology ad Biomedical Egieerig, Warsaw Uiversity of Techology E-mail:

More information

A New Bit Wise Technique for 3-Partitioning Algorithm

A New Bit Wise Technique for 3-Partitioning Algorithm Special Issue of Iteratioal Joural of Computer Applicatios (0975 8887) o Optimizatio ad O-chip Commuicatio, No.1. Feb.2012, ww.ijcaolie.org A New Bit Wise Techique for 3-Partitioig Algorithm Rajumar Jai

More information

Abstract. Chapter 4 Computation. Overview 8/13/18. Bjarne Stroustrup Note:

Abstract. Chapter 4 Computation. Overview 8/13/18. Bjarne Stroustrup   Note: Chapter 4 Computatio Bjare Stroustrup www.stroustrup.com/programmig Abstract Today, I ll preset the basics of computatio. I particular, we ll discuss expressios, how to iterate over a series of values

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

Evaluation of Different Fitness Functions for the Evolutionary Testing of an Autonomous Parking System

Evaluation of Different Fitness Functions for the Evolutionary Testing of an Autonomous Parking System Evaluatio of Differet Fitess Fuctios for the Evolutioary Testig of a Autoomous Parkig System Joachim Wegeer 1 ad Oliver Bühler 2 1 DaimlerChrysler AG, Research ad Techology, Alt-Moabit 96 a, D-10559 Berli,

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

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

Perhaps the method will give that for every e > U f() > p - 3/+e There is o o-trivial upper boud for f() ad ot eve f() < Z - e. seems to be kow, where

Perhaps the method will give that for every e > U f() > p - 3/+e There is o o-trivial upper boud for f() ad ot eve f() < Z - e. seems to be kow, where ON MAXIMUM CHORDAL SUBGRAPH * Paul Erdos Mathematical Istitute of the Hugaria Academy of Scieces ad Reu Laskar Clemso Uiversity 1. Let G() deote a udirected graph, with vertices ad V(G) deote the vertex

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

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

Name of the Student: Unit I (Logic and Proofs) 1) Truth Table: Conjunction Disjunction Conditional Biconditional

Name of the Student: Unit I (Logic and Proofs) 1) Truth Table: Conjunction Disjunction Conditional Biconditional SUBJECT NAME : Discrete Mathematics SUBJECT CODE : MA 2265 MATERIAL NAME : Formula Material MATERIAL CODE : JM08ADM009 (Sca the above QR code for the direct dowload of this material) Name of the Studet:

More information

Reversible Realization of Quaternary Decoder, Multiplexer, and Demultiplexer Circuits

Reversible Realization of Quaternary Decoder, Multiplexer, and Demultiplexer Circuits Egieerig Letters, :, EL Reversible Realizatio of Quaterary Decoder, Multiplexer, ad Demultiplexer Circuits Mozammel H.. Kha, Member, ENG bstract quaterary reversible circuit is more compact tha the correspodig

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

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

A Novel Approach to Solve Multiple Traveling Salesmen Problem by Genetic Algorithm

A Novel Approach to Solve Multiple Traveling Salesmen Problem by Genetic Algorithm A Novel Approach to Solve Multiple Travelig Salesme Problem by Geetic Algorithm Adrás Király, Jáos Aboyi Uiversity of Paoia, Departmet of Process Egieerig, P.O. Box 58. Veszprém H-8200, HUNGARY, e-mail:

More information

BAYESIAN WITH FULL CONDITIONAL POSTERIOR DISTRIBUTION APPROACH FOR SOLUTION OF COMPLEX MODELS. Pudji Ismartini

BAYESIAN WITH FULL CONDITIONAL POSTERIOR DISTRIBUTION APPROACH FOR SOLUTION OF COMPLEX MODELS. Pudji Ismartini Proceedig of Iteratioal Coferece O Research, Implemetatio Ad Educatio Of Mathematics Ad Scieces 014, Yogyakarta State Uiversity, 18-0 May 014 BAYESIAN WIH FULL CONDIIONAL POSERIOR DISRIBUION APPROACH FOR

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

Neural Networks A Model of Boolean Functions

Neural Networks A Model of Boolean Functions Neural Networks A Model of Boolea Fuctios Berd Steibach, Roma Kohut Freiberg Uiversity of Miig ad Techology Istitute of Computer Sciece D-09596 Freiberg, Germay e-mails: steib@iformatik.tu-freiberg.de

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

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

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

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

. 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

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

CIS 121 Data Structures and Algorithms with Java Fall Big-Oh Notation Tuesday, September 5 (Make-up Friday, September 8)

CIS 121 Data Structures and Algorithms with Java Fall Big-Oh Notation Tuesday, September 5 (Make-up Friday, September 8) CIS 11 Data Structures ad Algorithms with Java Fall 017 Big-Oh Notatio Tuesday, September 5 (Make-up Friday, September 8) Learig Goals Review Big-Oh ad lear big/small omega/theta otatios Practice solvig

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

Optimal Tolerance Allocation Based on Fuzzy Comprehensive Evaluation and Genetic Algorithm

Optimal Tolerance Allocation Based on Fuzzy Comprehensive Evaluation and Genetic Algorithm It J Adv Mauf Techol (2000) 16:461 468 2000 Spriger-Verlag Lodo Limited Optimal Tolerace Allocatio Based o Fuzzy Comprehesive Evaluatio ad Geetic Algorithm S. Ji, X. Li, Y. Ma ad H. Cai The Advaced Machiig

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

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

Job Scheduling for Hybrid Assembly Differentiation Flowshop to Minimize Total Actual Flow Time

Job Scheduling for Hybrid Assembly Differentiation Flowshop to Minimize Total Actual Flow Time Job Schedulig for Hybrid Assembly Differetiatio Flowshop to Miimize Total Actual Flow Time Rahmi Maulidya, Rachmawati Wagsaputra, Suprayogi, Abdul Hakim Halim Faculty of Idustrial Techology Istitut Tekologi

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

Civil Engineering Computation

Civil Engineering Computation Civil Egieerig Computatio Fidig Roots of No-Liear Equatios March 14, 1945 World War II The R.A.F. first operatioal use of the Grad Slam bomb, Bielefeld, Germay. Cotets 2 Root basics Excel solver Newto-Raphso

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

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

Chapter 4. Procedural Abstraction and Functions That Return a Value. Copyright 2015 Pearson Education, Ltd.. All rights reserved.

Chapter 4. Procedural Abstraction and Functions That Return a Value. Copyright 2015 Pearson Education, Ltd.. All rights reserved. Chapter 4 Procedural Abstractio ad Fuctios That Retur a Value Copyright 2015 Pearso Educatio, Ltd.. All rights reserved. Overview 4.1 Top-Dow Desig 4.2 Predefied Fuctios 4.3 Programmer-Defied Fuctios 4.4

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

Optimum Solution of Quadratic Programming Problem: By Wolfe s Modified Simplex Method

Optimum Solution of Quadratic Programming Problem: By Wolfe s Modified Simplex Method Volume VI, Issue III, March 7 ISSN 78-5 Optimum Solutio of Quadratic Programmig Problem: By Wolfe s Modified Simple Method Kalpaa Lokhade, P. G. Khot & N. W. Khobragade, Departmet of Mathematics, MJP Educatioal

More information

Optimization of Multiple Input Single Output Fuzzy Membership Functions Using Clonal Selection Algorithm

Optimization of Multiple Input Single Output Fuzzy Membership Functions Using Clonal Selection Algorithm Optimizatio of Multiple Iput Sigle Output Fuzzy Membership Fuctios Usig Cloal Selectio Algorithm AYŞE MERVE ACILAR, AHMET ARSLAN Computer Egieerig Departmet Selcuk Uiversity Selcuk Uiversity, Eg.-Arch.

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

Mobile terminal 3D image reconstruction program development based on Android Lin Qinhua

Mobile terminal 3D image reconstruction program development based on Android Lin Qinhua Iteratioal Coferece o Automatio, Mechaical Cotrol ad Computatioal Egieerig (AMCCE 05) Mobile termial 3D image recostructio program developmet based o Adroid Li Qihua Sichua Iformatio Techology College

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

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