Heuristic Approaches for Solving the Multidimensional Knapsack Problem (MKP)

Size: px
Start display at page:

Download "Heuristic Approaches for Solving the Multidimensional Knapsack Problem (MKP)"

Transcription

1 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: - There are exact ad heuristic algorithms for solvig the MKP. Solutio quality ad time complexity are two mai differeces amog exact ad heuristic algorithms. Solutio quality is a measure of how close we are from the optimal poit ad time complexity is a measure of the required time to reach such poit. The purpose of this paper is to report the solutio quality obtaied from the evaluatio of three heuristic approaches preseted else i the literature ad to report the solutio quality obtaied from the evaluatio of modified versios of those approaches. A geetic algorithm ad a at system are two of the heuristic evaluated. Key-Words: - Kapsack problem, At System, Geetic Algorithm. Itroductio As it is kow, the Multidimesioal Kapsack Problem (MKP) ca be expressed as follows x r i b i p max = { } = subect to ri x bi i =,..., m () x 0, =,..., px represets the -variable, represets the required i-resource by the x variable, represets the total amout of i-resource, represets the value of the x variable. Exact ad heuristic approaches have bee proposed for solvig the MKP, some of them are [], [6], [8] ad [9]. A excellet review of the MKP ad its associated exact ad heuristic algorithms is give i [3]. As it is poited out i [3], for the same m, as icreases the problem become harder ad take more time to solve. Likewise, if m icreases while fixig, the difficulty icreases as well. I the problems evaluated i this paper, is the variable that icreases. For real time applicatios, the closer to the optimal poit ad the faster that poit is reached the better. It is always possible that a optimal poit may ot be foud withi a reasoable amout of computatioal effort. Because heuristic algorithms are faster tha exact algorithms, heuristic approaches are eeded for solvig problems that are too large to be solved, i a fiite amout of time, by optimal solutio procedures. [3] ad [8] (GA ad MKHEUR) are kow heuristic approaches for solvig the MKP. The heuristic approach called At Coloy System (ACS) appears to be iterestig as well; the idea behid it was proposed by Dorigo [4][5]. To the best of our kowledge there is ust oe reported work o at systems applied to the MKP [7]. The heuristic approaches MKHEUR, GA ad ACS were tested ad their performace compared. Ufortuately, the code was ot made available to us; the algorithms were coded based o the descriptio of the methods outlied i the correspodig papers. Modificatios to the metioed heuristics were proposed ad coded as well. Comparisos ad evaluatio performace, based o solutio quality ad time complexity, are give for the modified approaches. The umerical results were obtaied usig MATLAB. The paper is orgaized as follows. I sectio 2, descriptios of MKHEUR, GA ad ACS are give; the performace produces by each approach is reported i the same sectio. I sectio 3 modificatios to the origial approaches are suggested ad evaluated. Fially, coclusio from this work is give i sectio 4.

2 2 Heuristic approaches: MKHEUR, GA ad ACS 2. Multikapsack Heuristic: MKHEUR The procedure discussed i [8] uses a surrogate costrait to determie the order i which variables are fixed equal to oe. The surrogate problem ca be defied as follows max = m m i i i i = i= i= { } x 0, =,..., px (2) subect to w r x w b w={w,...,w m } set of surrogate multipliers. The surrogate problem (2) is usually solved to obtai a upper boud o the origial MKP. Usig m u = p / wr i= i i a pseudo-utility ratio is obtaied ad used to determie the order of fixig equal to oe variables. The MKHEUR procedure is as follows:. Determie a set of surrogate multipliers. 2. Calculate the pseudo-utility ratios. Sort ad reumber variables accordig to decreasig order of these ratios. 3. Fix variables equal to oe accordig to the order determied i Step 2. If fixig a variable equal to oe causes violatio of oe of the costraits, fix that variable to zero ad cotiue. Deote the feasible solutio determied i this step as X For each variable fixed equal to oe i X 0, fix the variable equal to zero ad repeat Step 3 to defied a ew feasible solutio. Deote these feasible solutios as X z ( z={,..., q}; q equals the umber of variables equal to oe i X 0 ) As Pirkul poited out, the first solutio obtaied i Step 3 (X 0 ) is geerally ot optimal. This observatio ad the observatio that optimal solutios differ from X 0 by oly a few variables, led to Step 4. This last step attempts to capture optimal solutios by forcig variables, which have values oe i X 0 to zero. The X z ={x,..., x } z {0,..., q} that max px = is the solutio uder MKHEUR. 2.2 Geetic Algorithm: GA I this approach a heuristic operator that utilizes problem-specific kowledge is icorporated ito the stadard geetic algorithm. The basic steps of a GA are. Geerate a iitial populatio. 2. Obtai value of idividuals i the populatio. 3. Repeat: select parets from populatio recombie parets to produce a child obtai value of the child replace populatio by the child Util: a satisfactory solutio has bee foud. I [3] a -bit strig represetatio, is the umber of variables i the MKP, is used. A value of 0 or at the -bit implies that x =0 or i the solutio, respectively. A bit strig represets a member or idividual i the populatio. If a bit strig represets a ifeasible solutio, a repair operator is used to covert a ifeasible solutio ito a feasible oe. The repair operator cosists of two phases. The first phase is called DROP. It examies each variable i icreasig order of the pseudo-utility u ad chages the variable from oe to zero if feasibility is violated. The pseudo-utility is give by m u = p / λ r (3) i i i= λ i Lagrage multipliers of the LPR-MKP solutio LPR-MKP stads for Liear Programmig Relaxatio of the MKP. The LPR-MKP is expressed by () but usig the relaxatio 0 x =,... (4) The secod phase is called ADD. It reverses the process by examiig each variable i decreasig order of u ad chages the variable from zero to oe as log as feasibility is ot violated. The obective of the DROP phase is to obtai a feasible solutio from a ifeasible oe. The ADD phase improves, if possible, the solutio quality of a feasible solutio. The first step i the GA approach is the creatio of a iitial feasible populatio. The, a touramet selectio is performed i order to select the parets who will have a child i the GA. After the child is created, it suffers a mutatio. I the mutatio, some radomly selected bits are chaged. If the child after the mutatio is ifeasible, the repair operator is used.

3 If the child is a o-duplicated child, i.e., the child is ot a member of the populatio, the it replaces the populatio member that mi px =. O the other had, if the child is the same as a member of the populatio it is discarded ad the touramet selectio is performed agai. This process teds to improve the solutio quality of the populatio as time goes by. 2.3 At Coloy System: ACS Dorigo tried to reproduce the at behaviour i the ACS algorithm. Real ats are able to fid a path from a food source to a destiatio est by exploitig pheromoe iformatio. While walkig, ats deposit pheromoe o the groud, ad follow, i probability, pheromoe previously deposited by other ats. As it is explaied i [7], i the MKP there are ot liks or paths to be followed, istead there are variables that seems to be idepedet. The ACS works as follows: each at geerates a complete solutio (local solutio) by acceptig variables accordig to a probabilistic state trasitio rule. The rule is give by β ( ) τ( ) η( ) / ( ) η( ) β Pk x = x x r x x x Jk (5) x P k (x ) τ(x ) η(x ) β J k feasible -variable probability of variable x to be take by at k pheromoe value i variable x pseudo-utility value of x variable relative importace of pheromoe versus pseudo-utility set of all feasible variables that ca be take by at k There is ot a sigle rule to assig a value for τ ad η. I our implemetatio, the iitial value of τ(x ) equals the value of x give by the LPR-MKP solutio; η(x ) equals the pseudo-utility value give by (3). Before acceptig a variable, the at evaluates the variables that have ot bee take by the at yet, ad geerates a set of feasible variables. A feasible variable is oe that satisfies the at resources costrait. The iitial amout of at resources is give by b=[b,..., b m ]. Whe the at accepts the x variable the amout of its resources decreases by r=[r,..., r m ] (see ()). Based o the pheromoe ad pseudo-utility value, a probability value usig (5) is geerated for each of the feasible variables; the a radom selectio, based o the probability obtaied, is performed. It is evidet, from (5), that ats prefer to accept variables that have a high pseudo-utility value η(x ) ad a high amout of pheromoe τ(x ). Whe a at accepts a variable, it decreases the pheromoe amout o that variable by applyig a local updatig rule. The idea is to make the variable less desirable ad therefore it will be chose with a lower probability by the other ats. A local solutio is reached whe a at either allocates its iitial resources or, although there are available resources, it is ot feasible to accept more variables, i.e., resources are ot eough. After each at reaches a local solutio, a at-value is geerated usig at. value r = p x r =,..., R ( ) R represets the umber of ats (6) = The at with the highest at.value(r) is chose, ad the pheromoe amout of the variables take by this at is icreased. This is doe by applyig a global updatig rule. The goal of the global updatig rule is to make the variables, which belog to the best solutio, more attractive. The variables take by this at are recorded i a global memory. This complete oe cycle of the searchig process. A ew cycle is performed ad, agai, the at with the highest value is chose. If this value is higher tha the oe obtaied i the last cycle, the the global memory is updated with the ew variables. This process is doe cycle after cycle ad stops util either the umber of maximum cycles is reached or a certai criterio performace is obtaied. 2.4 Numerical results As suggested i [8], the dual variables from the LPR-MKP solutio were used as the surrogate multipliers. The performace of MKHEUR, GA, ad ACS is give i Tables ad 2. The approaches were tested i 4 sets of problems. Each set has 0 problems. The problems were take from the OR- Library (address The OR-Library test problems evaluated are cotaied i the files: mkapcb7 (first 0 problems: Set ), mkapcb8 (first 0 problems: Set 2) ad mkapcb9 (first 20 problems: Sets 3 ad 4). The umber of variables () goes from 00 to 500 ad the umber of costraits is 30 i all cases. For a i

4 detail descriptio about how the problems were geerated ad how they are orgaized i the metioed files, see [3] ad OR-Library web site. The heuristics were tested i a Petium II 400 MHz Persoal Computer ruig Liux OS. The performace of the approaches is measured by the percetage gap betwee the best solutio foud by the heuristic ad the optimal LPR-MKP solutio, i.e., gap=00*(optimal LPR value - best solutio value) / (optimal LPR value). Table. Heuristic Performaces (gap) MKHEUR GA ACS Set () % gap mea value (00) (250) (500) (500) Table 2. Heuristic Performaces (time) MKHEUR GA ACS Set () time (secs) (00) 0.50 >3000 <25 2 (250).47 >3000 <00 3 (500) 4.50 >3000 <300 4 (500) 5.68 >3000 <500 Because the GAP ad ACS are probabilistic algorithms, dispersio values are give i Table 3. GA ad ACS were ru 00 times for each set. For the GA, each time 0 6 o-duplicated childre were allowed. 00 feasible members were created for the iitial populatio. For the at system, each time 0 ats were used ad 50 iteratios performed. β equals log(0e2)/log(max(p.utility.value)/mi(p.utility.valu e)). Parameters eeded i the local ad global updated rules were set equal to 0. Table 3. Heuristic Performaces (dispersio values) MKHEUR GA ACS Set () Variace (00) (250) (500) (500) From Table is clear that GA is the best heuristic approach based o solutio quality. Nevertheless, GA is the heuristic that takes the logest (see Table 2). For small size problems (<250 variables) ACS appears to be a good choice. If time matters, as it usually does i real time applicatios, the MKHEUR appears to be the optio. 3 Modified Heuristic Approaches The results obtaied i the last sectio shows that MKHEUR is a good heuristic based o solutio quality ad time complexity. Nevertheless, GA produces better solutio quality if greater computatio time is allowed. GA performace ca be speeded up if more kowledge about the behaviour of the MKP solutio is icorporated ito the algorithm. GA starts with the geeratio of a iitial populatio. Throughout the algorithm the populatio performace is improved. After a certai performace is reached, almost all the idividuals of the populatio have the same characteristics (variables amog populatio members have almost the same values). The differeces are amog a subset of variables. The pseudo-utility values of this subset fall aroud a bad i betwee the highest ad lowest value of the pseudo-utility. This meas that almost always all the variables with the highest pseudo-utility are take ad almost all the variables with the lowest pseudoutility are reected. The MKHEUR solutios (Step 4 sectio 2.) could be used to geerate the iitial populatio i the GA algorithm. The populatio will take the highly desirable characteristics from the MKHEUR solutios. This will save the time origially eeded, i the GA algorithm, to start improvig the populatio performace. The solutio behaviour of the kapsack problem was origially otice by Balas ad Zemel, [2], while workig o sigle-costrait kapsack problems. It was oticed that the solutio obtaied by packig the kapsack i the decreasig order of utility ratios differed from the optimal solutio by oly a few variables. Differig variables were always aroud the poit the heuristic solutio switched from oes to zeros (after reumberig variables i decreasig value of their ratios). A core problem was defied as "the problems i those variables, whose cost/weight ratio falls betwee the maximum ad miimum c/a ratio for which x has a differet value i a optimal solutio to KP from that i a optimal solutio to LKP" (KP- sigle costrait problem; LKP-liear programmig relaxatio of KP). A similar statemet for the MKP core problem is give i [8].

5 This kowledge about the characteristics of the solutio could be used i the ext heuristic as follows. Reduce the origial problem. As it was metioed before, the variables with the lowest pseudo-utility values are almost always reected; these variables represet approximately 5% of the origial problem size. After the reductio is doe, MKHEUR is applied i the ew problem. The a re-mappig is performed i order to get the solutio, so far, i terms of the origial variables. 2. Apply a heuristic rule to get a estimatio of the core problem size ad 3. Apply GA oly o the core problem 3. MKHEURv2 For the part cocered to the reductio of the origial problem, the followig preprocessig steps eed to be doe:. Determiate a set of Lagrage multipliers 2. Calculate the pseudo-utility ratios. Sort ad reumber variables accordig to decreasig order of those ratios. 3. Fix variables equal to oe accordig to the order determied i the last step. If fixig a variable equal to oe causes violatio of oe of the costraits, fix that variable equal to zero ad cotiue. Deote the feasible solutio determied as X. Calculate the pseudo-utility mea value of X ( x% ). 4. Create a set of variables called Pseudo Reected Variables (PRV) (last 5% of the origial MKP variables with the lowest pseudo-utility ratio). 5. Merge PRVs based o their pseudo-utility ratio. Create ew variables made of packed PRVs. The umber of PRVs eeded to create a ew variable depeds o the pseudo-utility value of each PRV. The pseudo-utility value of each PRV is added up util the total pseudo-utility of the ew variable beig packed is greater tha x%. The total pseudo-utility value obtaied is the pseudo-utility value of the ew variable. I the same way, the amout of resources eeded by each PRV beig packed is added up. The total amout of resources is the oe required by the ew variable. It has to be oticed that a ew problem has bee created. The size of this oe is smaller tha that of the origial problem. The ew problem dimesio is -rv+v, i.e., origial dimesio mius umber of reected variables plus ew variables. The ext step is to apply MKHEUR to the ew problem. Fially, a mappig is performed i order to obtai the solutio foud i terms of the origial variables. As it is clearly evidet, the complexity of this modified versio (MKHEURv2) is greater tha that of MKHEUR, but as the umber of variables icreases the complexity pays off. The time used by MKHEURv2 to solve large-size problems is lesser tha the oe eeded usig MKHEUR. Moreover, MKHEURv2 seems to produce better solutio quality tha MKHEUR. A compariso performace is give i Table 4. Table 4. MKHEUR ad MKHEURv2 performace MKHEUR MKHEURv2 Set () % gap time (sec) % gap time (sec) (00) (250) (500) (500) MKHEURv2+GA MKHEURv2 was used to create the iitial populatio eeded for the GA algorithm. Because the populatio has highly desirable characteristics, the umber of o-duplicated childre for GA was reduced from 0 6 to 0 3. However, before mergig MKHEURv2 ad GA the dimesio of the core problem has to be defied. The core problem dimesio was set equal to the dimesio of the origial problem mius 80% of the first cosecutive variables equal oe i solutio X (sectio 3. Step 3) ad mius the variables used as PRVs. The results obtaied are give i Table 5. Table 5. GA, MKHEURv2 ad MKHEURv2+GA performace GAP (0 6 ) MKHEURv2 MKHEURv2 + GA (0 3 ) Set () % gap (00) (250) (500) (500) (000) For this sectio a ew set of problems was created. The set has 0 problems, each oe has 30 costraits ad it is made of Set 3 plus Set 4. Each set was evaluated 00 times. It is iterestig to otice that, although the umber of o-duplicated

6 childre i the MKHEURv2+GA algorithm has bee reduced dramatically, the performace of MKHEURv2+GA is similar as GA allowig 0 6 o-duplicated childre (problems with 250 variables or less). 3.3 ACS + MKHEUR It is also possible to merge ACS ad MKHEUR i order to try to obtai a approach that produces a better performace tha ay oe of these approaches aloe. I sectio 2.3 is reported that the LPR-MKP solutio is eeded for the pseudo-utility ratios estimatio; this is the mai step i the MKHEUR algorithm. The MKHEUR missig step ca be implemeted at the ed of the ACS algorithm. Whe a cycle is completed i the ACS, the best local solutio is recorded i memory. I the ACS+MKHEUR approach, the best local solutio is cosidered to be X 0 from Step 3 of MKHEUR (see 2.), ad the Step 4 is applied over this X 0 give by the ats. This was doe ad the solutio quality obtaied is slightly better the the oe reported for ACS aloe (about % better). Because the improvemet was miuscule the ACS + MKHEUR approach was ot further explored 4 Coclusio The MKP ca be used to express iterestig problems such as resource allocatio. The decisio about what algorithm use to solve the MKP is problem depeded. For real time applicatios, time is a critical factor to be cosidered ad heuristic methods are used more ofte over exact methods. MKHEUR produces a good solutio quality without requirig a excessive computatioal time. The LPR-MKP solutio part takes more tha 90% of the time eeded by MKHEUR. Therefore, ay improvemet i that directio is welcome. Usig kowledge about the solutio behaviour of the MKP, a mappig of the problem is suggested ad doe, ad the dimesio of the MKP is reduced. The, MKHEUR is applied ad the a re-mappig of the problem is performed i order to express the solutio i terms of the origial variables. Because MKHEURv2 works over a smaller dimesio of the origial problem, it is faster ad the solutio quality seems to be better tha that of MKHEUR. It has to be poited out that for small size problems, MKHEURv2 is slower because the time eeded to perform the mappig is greater the the time eeded for solvig the LPR-MKP. As the problem size icreases, MKHEURv2 becomes a better cadidate for solvig the MKP. If more computatioal time is allowed, the the GA algorithm ca be applied o a defied core sectio ad further improvemet could be obtaied. Heuristic approaches are divided i two sets, the probabilistic oes ad the o-probabilistic. GA ad ACS are probabilistic approaches, therefore dispersio values must be cosidered if a heuristic approach is to be chose. It is difficult to obtai reliable dispersio values for probabilistic approaches due to its ature. GA ad ACS were ru 00 times o the same problems. It appears that ACS produces a smaller dispersio value tha GA whe the latter is allowed to geerate up to 0 3 oduplicate childre. Refereces: [] Balas, E. ad Marti, C., Pivot ad Complemet A Heuristic for 0- programmig, Maagemet Sciece, Vol. 26, 980, pp [2] Balas, E., ad Zemel, A algorithm for large Zero-Oe kapsack problems, Operatios Research, Vol. 28, 980, pp [3] Chu, P., ad Beasley, J., A Geetic Algorithm for the Multidimesioal Kapsack Problem, Joural of Heuristics, Vol. 4, 998, pp [4] Dorigo, M., Optimizatio, learig ad atural algorithms. PhD Thesis. Politecico di Milao. Italy [5] Dorigo, M., ad Maiezzo, V., ad Colori, A., The at system: optimizatio by a coloy of cooperatig agets, IEEE Trasactios o Systems, Ma, ad Cyberetics - Part B, Vol. 26, 996, pp [6] Gavish, B. ad Pirkul, H., Efficiet Algorithms for Solvig the Multicostrait Zero-Oe Kapsack Problem to Optimality. Mathematical Programmig, Vol. 3, 985, pp [7] Leguizamo, G., ad Michalewicz, Z., A ew versio of at system for subset problems. Cogress o Evolutioary Computatio, Vol. 2, 999, pp [8] Pirkul, H., A Heuristic solutio procedure for the Multicostrait Zero-Oe Kapsack Problem, Naval Research Logistics, Vol. 34, 987, pp [9] Toyota, Y., A simplified algorithm for obtaiig approximate solutio to Zero-Oe programmig problems, Maagemet Sciece, Vol. 2, 975, pp

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

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

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

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

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

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

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

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

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

Adaptive Resource Allocation for Electric Environmental Pollution through the Control Network

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

More information

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

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

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

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

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

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

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

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

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

The golden search method: Question 1

The golden search method: Question 1 1. Golde Sectio Search for the Mode of a Fuctio The golde search method: Questio 1 Suppose the last pair of poits at which we have a fuctio evaluatio is x(), y(). The accordig to the method, If f(x())

More information

COSC 1P03. Ch 7 Recursion. Introduction to Data Structures 8.1

COSC 1P03. Ch 7 Recursion. Introduction to Data Structures 8.1 COSC 1P03 Ch 7 Recursio Itroductio to Data Structures 8.1 COSC 1P03 Recursio Recursio I Mathematics factorial Fiboacci umbers defie ifiite set with fiite defiitio I Computer Sciece sytax rules fiite defiitio,

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

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

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

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

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

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

WEBSITE STRUCTURE IMPROVEMENT USING ANT COLONY TECHNIQUE

WEBSITE STRUCTURE IMPROVEMENT USING ANT COLONY TECHNIQUE WEBSITE STRUCTURE IMPROVEMENT USING ANT COLONY TECHNIQUE Wiwik Aggraei 1, Agyl Ardi Rahmadi 1, Radityo Prasetyo Wibowo 1 1 Iformatio System Departmet, Faculty of Iformatio Techology, Istitut Tekologi Sepuluh

More information

A Polynomial Interval Shortest-Route Algorithm for Acyclic Network

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

More information

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

Variance as a Stopping Criterion for Genetic Algorithms with Elitist Model

Variance as a Stopping Criterion for Genetic Algorithms with Elitist Model Fudameta Iformaticae 120 (2012) 145 164 145 DOI 10.3233/FI-2012-754 IOS Press Variace as a Stoppig Criterio for Geetic Algorithms with Elitist Model Diabadhu Bhadari, C. A. Murthy, Sakar K. Pal Ceter for

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

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

Continuous Ant Colony System and Tabu Search Algorithms Hybridized for Global Minimization of Continuous Multi-minima Functions

Continuous Ant Colony System and Tabu Search Algorithms Hybridized for Global Minimization of Continuous Multi-minima Functions Cotiuous At Coloy System ad Tabu Search Algorithms Hybridized for Global Miimizatio of Cotiuous Multi-miima Fuctios Akbar Karimi Departmet of Aerospace Egieerig, Sharif Uiversity of Techology, P.O. Box:

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

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

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

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

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

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

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

Analysis of Documents Clustering Using Sampled Agglomerative Technique

Analysis of Documents Clustering Using Sampled Agglomerative Technique Aalysis of Documets Clusterig Usig Sampled Agglomerative Techique Omar H. Karam, Ahmed M. Hamad, ad Sheri M. Moussa Abstract I this paper a clusterig algorithm for documets is proposed that adapts a samplig-based

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

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

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

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

Descriptive Statistics Summary Lists

Descriptive Statistics Summary Lists Chapter 209 Descriptive Statistics Summary Lists Itroductio This procedure is used to summarize cotiuous data. Large volumes of such data may be easily summarized i statistical lists of meas, couts, stadard

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

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

SAMPLE VERSUS POPULATION. Population - consists of all possible measurements that can be made on a particular item or procedure.

SAMPLE VERSUS POPULATION. Population - consists of all possible measurements that can be made on a particular item or procedure. SAMPLE VERSUS POPULATION Populatio - cosists of all possible measuremets that ca be made o a particular item or procedure. Ofte a populatio has a ifiite umber of data elemets Geerally expese to determie

More information

Course Site: Copyright 2012, Elsevier Inc. All rights reserved.

Course Site:   Copyright 2012, Elsevier Inc. All rights reserved. Course Site: http://cc.sjtu.edu.c/g2s/site/aca.html 1 Computer Architecture A Quatitative Approach, Fifth Editio Chapter 2 Memory Hierarchy Desig 2 Outlie Memory Hierarchy Cache Desig Basic Cache Optimizatios

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

Designing a learning system

Designing a learning system CS 75 Machie Learig Lecture Desigig a learig system Milos Hauskrecht milos@cs.pitt.edu 539 Seott Square, x-5 people.cs.pitt.edu/~milos/courses/cs75/ Admiistrivia No homework assigmet this week Please try

More information

ANN WHICH COVERS MLP AND RBF

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

More information

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

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

EE University of Minnesota. Midterm Exam #1. Prof. Matthew O'Keefe TA: Eric Seppanen. Department of Electrical and Computer Engineering

EE University of Minnesota. Midterm Exam #1. Prof. Matthew O'Keefe TA: Eric Seppanen. Department of Electrical and Computer Engineering EE 4363 1 Uiversity of Miesota Midterm Exam #1 Prof. Matthew O'Keefe TA: Eric Seppae Departmet of Electrical ad Computer Egieerig Uiversity of Miesota Twi Cities Campus EE 4363 Itroductio to Microprocessors

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

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

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

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

An Algorithm to Solve Multi-Objective Assignment. Problem Using Interactive Fuzzy. Goal Programming Approach

An Algorithm to Solve Multi-Objective Assignment. Problem Using Interactive Fuzzy. Goal Programming Approach It. J. Cotemp. Math. Scieces, Vol. 6, 0, o. 34, 65-66 A Algorm to Solve Multi-Objective Assigmet Problem Usig Iteractive Fuzzy Goal Programmig Approach P. K. De ad Bharti Yadav Departmet of Mathematics

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

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

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

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

Dynamic Programming and Curve Fitting Based Road Boundary Detection

Dynamic Programming and Curve Fitting Based Road Boundary Detection Dyamic Programmig ad Curve Fittig Based Road Boudary Detectio SHYAM PRASAD ADHIKARI, HYONGSUK KIM, Divisio of Electroics ad Iformatio Egieerig Chobuk Natioal Uiversity 664-4 Ga Deokji-Dog Jeoju-City Jeobuk

More information

Sorting in Linear Time. Data Structures and Algorithms Andrei Bulatov

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

More information

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

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

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

Chapter 10. Defining Classes. Copyright 2015 Pearson Education, Ltd.. All rights reserved.

Chapter 10. Defining Classes. Copyright 2015 Pearson Education, Ltd.. All rights reserved. Chapter 10 Defiig Classes Copyright 2015 Pearso Educatio, Ltd.. All rights reserved. Overview 10.1 Structures 10.2 Classes 10.3 Abstract Data Types 10.4 Itroductio to Iheritace Copyright 2015 Pearso Educatio,

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

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

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

Criterion in selecting the clustering algorithm in Radial Basis Functional Link Nets

Criterion in selecting the clustering algorithm in Radial Basis Functional Link Nets WSEAS TRANSACTIONS o SYSTEMS Ag Sau Loog, Og Hog Choo, Low Heg Chi Criterio i selectig the clusterig algorithm i Radial Basis Fuctioal Lik Nets ANG SAU LOONG 1, ONG HONG CHOON 2 & LOW HENG CHIN 3 Departmet

More information

CMPT 125 Assignment 2 Solutions

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

More information

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

Higher-order iterative methods free from second derivative for solving nonlinear equations

Higher-order iterative methods free from second derivative for solving nonlinear equations Iteratioal Joural of the Phsical Scieces Vol 6(8, pp 887-89, 8 April, Available olie at http://wwwacademicjouralsorg/ijps DOI: 5897/IJPS45 ISSN 99-95 Academic Jourals Full Legth Research Paper Higher-order

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

Random Graphs and Complex Networks T

Random Graphs and Complex Networks T Radom Graphs ad Complex Networks T-79.7003 Charalampos E. Tsourakakis Aalto Uiversity Lecture 3 7 September 013 Aoucemet Homework 1 is out, due i two weeks from ow. Exercises: Probabilistic iequalities

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

Chapter 8. Strings and Vectors. Copyright 2014 Pearson Addison-Wesley. All rights reserved.

Chapter 8. Strings and Vectors. Copyright 2014 Pearson Addison-Wesley. All rights reserved. Chapter 8 Strigs ad Vectors Overview 8.1 A Array Type for Strigs 8.2 The Stadard strig Class 8.3 Vectors Slide 8-3 8.1 A Array Type for Strigs A Array Type for Strigs C-strigs ca be used to represet strigs

More information

Recursion. Recursion. Mathematical induction: example. Recursion. The sum of the first n odd numbers is n 2 : Informal proof: Principle:

Recursion. Recursion. Mathematical induction: example. Recursion. The sum of the first n odd numbers is n 2 : Informal proof: Principle: Recursio Recursio Jordi Cortadella Departmet of Computer Sciece Priciple: Reduce a complex problem ito a simpler istace of the same problem Recursio Itroductio to Programmig Dept. CS, UPC 2 Mathematical

More information

( n+1 2 ) , position=(7+1)/2 =4,(median is observation #4) Median=10lb

( n+1 2 ) , position=(7+1)/2 =4,(median is observation #4) Median=10lb Chapter 3 Descriptive Measures Measures of Ceter (Cetral Tedecy) These measures will tell us where is the ceter of our data or where most typical value of a data set lies Mode the value that occurs most

More information

SOFTWARE usually does not work alone. It must have

SOFTWARE usually does not work alone. It must have Proceedigs of the 203 Federated Coferece o Computer Sciece ad Iformatio Systems pp. 343 348 A method for selectig eviromets for software compatibility testig Łukasz Pobereżik AGH Uiversity of Sciece ad

More information

New HSL Distance Based Colour Clustering Algorithm

New HSL Distance Based Colour Clustering Algorithm The 4th Midwest Artificial Itelligece ad Cogitive Scieces Coferece (MAICS 03 pp 85-9 New Albay Idiaa USA April 3-4 03 New HSL Distace Based Colour Clusterig Algorithm Vasile Patrascu Departemet of Iformatics

More information

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

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

More information

Parameter Tuning of Evolutionary Algorithms: Generalist vs. Specialist

Parameter Tuning of Evolutionary Algorithms: Generalist vs. Specialist Parameter Tuig of Evolutioary Algorithms: Geeralist vs. Specialist S.K. Smit ad A.E. Eibe Vrije Uiversiteit Amsterdam The Netherlads {sksmit,gusz}@cs.vu.l http://mobat.sourceforge.et Abstract. Fidig appropriate

More information

Convergence results for conditional expectations

Convergence results for conditional expectations Beroulli 11(4), 2005, 737 745 Covergece results for coditioal expectatios IRENE CRIMALDI 1 ad LUCA PRATELLI 2 1 Departmet of Mathematics, Uiversity of Bologa, Piazza di Porta Sa Doato 5, 40126 Bologa,

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

Avid Interplay Bundle

Avid Interplay Bundle Avid Iterplay Budle Versio 2.5 Cofigurator ReadMe Overview This documet provides a overview of Iterplay Budle v2.5 ad describes how to ru the Iterplay Budle cofiguratio tool. Iterplay Budle v2.5 refers

More information

An Algorithm to Solve Fuzzy Trapezoidal Transshipment Problem

An Algorithm to Solve Fuzzy Trapezoidal Transshipment Problem Iteratioal Joural of Systems Sciece ad Applied Mathematics 206; (4): 58-62 http://www.sciecepublishiggroup.com/j/ssam doi: 0.648/j.ssam.206004.4 A Algorithm to Solve Fuzzy Trapezoidal Trasshipmet Problem

More information

Improved Random Graph Isomorphism

Improved Random Graph Isomorphism Improved Radom Graph Isomorphism Tomek Czajka Gopal Paduraga Abstract Caoical labelig of a graph cosists of assigig a uique label to each vertex such that the labels are ivariat uder isomorphism. Such

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

SD vs. SD + One of the most important uses of sample statistics is to estimate the corresponding population parameters.

SD vs. SD + One of the most important uses of sample statistics is to estimate the corresponding population parameters. SD vs. SD + Oe of the most importat uses of sample statistics is to estimate the correspodig populatio parameters. The mea of a represetative sample is a good estimate of the mea of the populatio that

More information

Lower Bounds for Sorting

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

More information

quality/quantity peak time/ratio

quality/quantity peak time/ratio Semi-Heap ad Its Applicatios i Touramet Rakig Jie Wu Departmet of omputer Sciece ad Egieerig Florida Atlatic Uiversity oca Rato, FL 3343 jie@cse.fau.edu September, 00 . Itroductio ad Motivatio. relimiaries

More information

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

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

More information

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