Choosing an Optimal Set of Libraries
|
|
- Stephen Hoover
- 5 years ago
- Views:
Transcription
1 IEEE TRANSACTIONS ON RELIABILITY, VOL. 45, NO. 2, 1996 JUNE Choosig a Optimal Set of Libraries Oded Berma Uiversity of Toroto, Toroto Michal Cutler, Member IEEE State Uiversity of New York, Bighamto Keywords - Software reliability, Software library, Software cost, Optimizatio, Heuristics, Brach & boud Abstract - This paper presets optimizatio models for selectig a subset of software libraries, viz, collectios of programs, residig o floppy disks or compact disks, available o the market. Each library cotais a variety of programs whose reliabilities are assumed to be kow. The objective is to maximize the reliability of the computer system subject to a budget costrait o the total cost of the libraries selected. The paper icludes six models, each of which applies to a differet software structure ad assumptios. A detailed brach & boud algorithm for solvig oe of the six models is described; it cotais a simple greedy-procedure for geeratig a iitial solutio. For solvig the rest of the models, see Berma & Cutler (1995). 1. INTRODUCTION The relatioship betwee reliability & cost is importat for software developmet The reliability of the software is very ofte a measure of its quality [6] ad the cost of software programs must be cosidered whe the user has limited budget for ivestig i software. Ref 121 preseted two optimizatio models for selectig a set of available commercial programs to maximize the system reliability, subject to a budget costrait. I model 1, redudacy of various versios of the programs is ot allowed, whereas i model 2 such redudacy is permitted. Ref 131 exteded the work i 121 by cosiderig software systems where each program cosists of sequece of modules which, upo executio, perform a fuctio. Ref 141 cosiders the tradeoff betwee reliability & cost whe usig N-versio programmig i the framework of 12, 31. This paper cosiders the tradeoff betwee reliability & cost whe the problem is to choose a set of software libraries from may that are available i the market. Each oe of the available libraries cotais a variety of programs. The user has a list of programs that are required for the computer system, ad wishes to esure that each oe of the programs required is icluded i at least oe of the libraries chose so as to maximize the system reliability, subject to a budget costrait. This paper presets optimizatio models to derive the optimal selectio of commercial libraries available i the market. Sectio 2 itroduces the models. Sectio 3 describes the solutio method. Sectio 4 discusses limitatios of the models., N [umber, set] of programs required by the user N = {1,2,..., ) m umber of commercially available libraries cosidered Ll,..., L, m partitios (librairies) of L; U FZl Li = N Ci cost of library Li Ri,j, Rj reliability of program j i EL,, the software system] - implies the complemet; eg, R= 1 -R 4(.) idicator fuctio: S(True) = 1, S(Fa1se) =O K S(1ibrary i is selected) Xij S(1ibrary i AND program j are selected) 4 frequecy of use of program j B budget available sk set of programs that are required to be used i a sequece Fk frequecy of use of sk V umber of Sk Other, stadard otatio is give i Iformatio for Readers & Authors at the rear of each issue. 2.1 Geeral Models 2. THEMODELS Three models are developed separately for each of 2 cases (total of 6 models). The 2 cases are: Case 1. No redudacy. The reliability of a particular program is the largest amog selected libraries that cotai it. Case 2. Redudacy. All versios of the selected programs cotribute to the reliability. 4 The 3 models (pertaiig to 3 system structures) are: a. Each program is stad-aloe. b. The set of required programs is used to costruct 1 complex user program (system). A11 programs i the user s list are executed i sequece (geeratig 1 stad-aloe system). c. The set of required programs is used to costruct several complex user programs (systems): SI,..., S,. These complex programs (systems) are executed i sequece. 4 Thus there are 6 situatios (Cases 1 & 2, ad Models a,b,c): ClMa, ClMb, ClMc; C2Ma, C2Mb, C2Mc. Assumptios 1. Each library has a kow cost. 2. Each program cotaied i each oe of the libraries has a kow reliability /96/$ IEEE
2 304 leee TRANSAaIONS ON RELIABILITY, VOL. 45, NO. 2, 1996 JUNE 3. The collectios of library programs are s-idepedet. 4. Failure of differet versios of the same program are kl = X,,J.R,,J. s-idepedet. { E I E Lr} 5. Usage frequecy for each program is kow, viz, provided by the user. 2.3 Case 2: Redudacy 6. Usage frequecy for each required sk is kow, viz, provided by the user. The ureliability of program j E N is: 7. Each program has 2 states (it either performs well, or - fails). R. I = IT Ri,j, (9) 8. Complex systems ca be geerated directly by combi- {i: Y,=l, j E Lr} ig existig software. 4 Cosider the 3 models (idexed as i sectio 2.1) for this 2.2 Case 1: No Redudacy case 2: Oly 1 program, j, is used by the system - the oe with maximum reliability. The reliability of program j E N is: C2Ma, C2Mb, C2Mc. The set of costraits (2) - (5) is modified as show i (10) - R. = max {Rjj). (1) (12). Sice redudacy is allowed, the Xi,j= 1 U (y= 1) J {i: Y,=I, j E LJ Cosider the 3 models (idexed as i sectio 2.1) for this case 1: AND (j E Li). Therefore, the Xi,j are ot eeded ad the aalogous costrait for (3) is omitted, ad the oes for (2) & (5) are chaged appreciably. The costraits, (10) - (12), are the same for each of the 3 models: ClMa, ClMb, ClMc. The costraits, (2) - (5), are the same for each of the 3 models: y 2 1, forj = 17 2,...7 ; (10) {i: j E L} 0 E L,l = 1, forj = I, 2,..., ; i= 1-1 ~.yi ~ I 1 0, for i = 1,..., m; (3) Y, = 0, 1,fori = 1,..., m. (12) Each model has its ow objective fuctio (ObF) to be m (4) maximized, subject to the 3 costraits, (10) - (12). i= 1 ObF(C2Ma) = F,.k2:] Xjj = 0, 1, for Y, = 0, 1, fori = 1,..., m, adj E L,. (13) (5) ObF(C2Mb) = q2,. * Costraits (2) guaratee that exactly 1 program, j, is selected. j= 1 0 Costraits (3) esure that, if = 0 the o programj for j E Li ca be selected; else, at most, all programs i L, ca be selected. (15) Costrait (4) is required so that the budget is ot exceeded. Each model has its ow objective fuctio (ObF) to be maximized, subject to the costraits, (2) - (5). ObF(C1Ma) = J=1 F,.\kl, ObF(C1Mb) = PI] ObF(C1Mc) = I= 1 V k=l Fk- j E sk (7) J=1 k2:j = 1 - q. 3. SOLVING PROBLEM ClMa Problem ClMa is a iteger program (ad ca be solved as oe) while the remaiig 5 problems have o-liear objective fuctios. All 6 problems ca be solved usig brach & boud algorithms where the brach is o the Xi,? The mai ideas of
3 BERMANKUTLER: CHOOSING AN OPTIMAL SET OF LIBRARIES 305 the algorithms are explaied via problem ClMa; see [l] for details o all the problems. The example i the remaider of this sectio illustrates the algorithm. 3.1 Statemet of Example There are 5 programs ad 4 libraries. N = (11, 2, 3, 4, 5}, h_ = (2, 3, 51, L3 = (3, 47 51, Y,=2 for ay library i ot yet cosidered i the partial solutio reliability of the chose versio of program j i the R1OJ partial solutio: Y,. = 1 ad X,OJ = 1, for ay j E J Rt*, highest reliability that ca be achieved for program j : Rt*,] = maxi, WO} {RtJj for ay j +Z J LB reliability of the best feasible solutio UP upper boud for a partial solutio for ClMa C, C* [lower, upper] boud o cost for the solutio correspodig to [a give partial solutio i, UP] I* cotais the idexes of libraries with Y, = 2 that iclude the most reliable versios for programs ot selected yet. L4 = (1, 2, 5). UP = E $-Rio,; + $*R'i:;; ; J ;ej R1,1 = 0.90, R1,2 0.80, RI,4 = 0.70; c* = ci + ci; R2,2 = 0.85, R2,3 = 0.90, R2,5 = 0.95; {i: x=1} i E I* R3,3 = 0.70, R3,4 = 0.90, R3,5 = 0.80; I* = {i*: there exists j sf J with Ri:j R4,1 = 0.90, R4,2 = 0.80, R4,5 zz = {i: max Y,=2} (Ri,;) > {i,~a211 {Ri,j>) C1 = 10, Cz = 15, C3 = 20, C4 = 17. B = 44. FJ = 0.2 for all j E N. 3.2 Observatios About a Partial Solutio Four observatios about a partial solutio idetified i the brach & boud process are: 1. If (Xi,J = 1) i a partial solutio, the Y, = If (Xi,j = 1) AND (x = 1) i a partial solutio, the Yk = 0 for all libraries k such that Rk,; > Rjj. 3. If for a give partial solutio, there is: a. a program t which is ot part of the partial solutio, ad b. oly 1 library Lk (that is ot part of the partial solutio) that icludes program t; the set Yk = 1 ad xk,t = If for a give partial solutio: a. XiJ = 1, ad b. there is a program t, ot selected yet i L,, with reliability strictly greater tha that of program t i all libraries ot selected yet; the set = Geeral Procedure J set of all programs cosidered so far i a partial solutio If, from (17), C* 5 B, the the solutio correspodig to UP is feasible ad the curret ode o the brach & boud tree should ot be further brached out. Whe J = 0, viz, before ay program is selected, j=l ie, for every program j, take the miimum cost of program j if each program were sold separately, ad if all the programs of a sigle library had the same cost. Sice libraries are sold as a whole, 'actual cost for program j' 2 mi { Ci/ I Li I }. Let the partial solutio have J # 0; the the lower boud o the cost of this partial solutio is: c, = CA + CB. Q CA CB CBI U y,= I Li: set of all programs i selected libraries {i: y,=l} cm E (j: j E Q Ci: actual cost of selected libraries max(cb1, Cm) mi(ci: yi = 2, Li Q: Q} E mi ~~, K=21 [-,LjN- e,
4 306 IEEE TRANSACTIONS ON RELIABILITY, VOL. 45, NO. 2, 1996 JUNE Whe C* > B, the partial solutio should ot be further bra- Yl = 1. ched out sice the partial solutio caot be exteded to a feasible solutio. Iteratio 2 A iitial feasible solutio ad LB is ot easy to fid. Eve the miimum cost problem which disregards reliability is NP- i2 = 2 (sice mi[15/2, 20/2, 17/11 = 71/21, complete'. However the greedy heuristic for the Set Coverig problem [6] ca be used to fid a low cost solutio that satisfies N3 = 0, costraits (2), (3), (5). If this solutio also satisfies costrait (4) the it ca serve as a iitial solutio ad its reliability is L3 = {3, 41, LB. Moreover, this solutio ca be easily improved. Y, = Greedy Heuristic This heuristic fids a cheap solutio. Iitialize: N' = N, L1 = (1, 2,..., }, Y, = 0 for i E L'. Iteratio t: Select Library it such that, Choose, Yl = Y, =1, Y3 = Y4 = 0, so that x,, = XI4 = x,, = x,, = x25 = 1, C = 25; which is feasible for the example. The versio of program 2 i 4 is chose sice R22 > RI2. The reliability of this solutio is This procedure might improve the solutio obtaied by the greedy-heuristic from sectio 3.4. qt = 1. S set of libraries i the solutio If N"' # 0, set t - ts 1 ad repeat iteratio t. R(SU {i}) reliability of SU {i}. STOP Use this heuristic o the example. N' = (1, 2, 3, 4, 5}, 4 Step 1 L' = (1, 2, 3, 43, Step 2 Y = Iteratio 1 (0, 0, 0, 0). P = {i: Yi = 0 AND C' + Ci 5 B) If P # 0, fid, j S R = max{r(su{i}: i E P} = R(SU{i*}) i' = 1 (sice mi[l0/3, 15/3, 2013, 17/31 = 3%), N2 = (3, 5}, L2 = (2, 3, 4}, 'Show by reducig the miimum cover problem 141 (kow to be NP-complete) to it. If R > R(S), the set, s = SU{i*}, yi* = 1; GoTo step 1. (Ed of step 2) STOP Use this procedure o the example.
5 BERMANKUTLER: CHOOSING AN OPTIMAL SET OF LIBRARIES 307 Step 1 P = {4}, (S = {1,2}). Step 2 R(SU(4)) = = 0.86 = R(S). Thus S = { 1,2} remais as the iitial solutio ad LB = Brach & Boud Algorithm Apply the brach & boud algorithm [7]; the result is the optimal solutio: Y1 = Y2 = 1, Y, = Y4 = 0; This is also the iitial solutio. 4. LIMITATIONS Assumptios 2, 4, 8 limit the usefuless of the models ad idicate the eed for further research. Their limitatios are discussed here. 2. I reality these umbers are ot available. Moreover, eve whe serious attempts are made to evaluate the reliability of systems, the results are ot completely accurate. A possible remedy for this problem might be to assume fuzzy reliabilities such as highly-reliable i our models. 4. I reality the failure behavior of differet versios is s-correlated because they are subject to the same iput [ 11, 121. Although s-correlatio is a importat issue i N-versio programmig, it is less severe i our models sice we demad oly that oe versio must be reliable for a give iput. 8. Experiece shows that some code must be added to cotrol the executio of the system, ad to deal with the compatibility of the programs i the system. 4 Despite these limitatios, we believe that costructig reliable systems that use commercially available libraries uder budgetary costrait is importat ad the models i this paper ca be used as buildig blocks for more pragmatic models. We pla to cotiue our research effort i this directio, icludig the aalysis of the sesitivity of the results to the assumptios. REFERENCES [l] 0. Berma, M. Cutler, Choosig a optimal set of libraries, Workig Paper, 1995; Faculty of Maagemet, Uiv. of Toroto. N. Ashrafi, 0. Berma, Optimizatio models for selectio of programs, Cosiderig cost & reliability, IEEE Tras. Reliability, vol 41, 1992 Ju, pp , Berma, N. Ashrafi, Optimizatio models for reliability of modular software systems, IEEE Tras. Software Eg g, vol 19, 1993 Dec, pp N. Ashrafi, 0. Berma, M. Cutler, Optimal desig of large software systems usig -versio programmig, IEEE Tras. Reliability, vol43, 1994 Ju, pp M.R. Garey, D.S. Johso, Computers ad Itractability: A Guide to the Theory of NP-Completeess, 1979; Freema. D.J. Musa, Software quality ad reliability basics, Proc Fall Joit Computer Co5 1987, pp ; IEEE Explorig Techology Today & Tomorrow, 1987 Oct. G.L. Nemhauser, L.A. Wolsey, Iteger ad Combiatorial Optimizatios, 1988; Joh Wiley & Sos. R. M. Reiss, A predictio experiece with three software reliability models, Workshop o Quatitative Sofhyare Models for Reliability, Complexiry, Cost : A Assessmet of the State of Art, 1979 October, pp ; IEEE Cat- CH F. Zahedi, N. Ashrafi, Software reliability allocatio based o structure, utility, price, ad cost, IEEE Tras. Sofhyare Eg g, vol 17, 1991 Apr, pp B.W. Boehm, Software Egieerig Ecoomics, 1981 ; Pretice-Hall. V.F. Nicola, A. Goyal, Modellig of correlated failures ad commuity error recovery i multiversio software, IEEE Tras. Sojiware Eg g, vol 16, 1990 Mar, pp D.E. Eckhardt, L.D. Lee, A theoretical basis for the aalysis of multiversio software subject to coicidet errors. IEEE Tras. Software Eg g, vol 11, 1985 Dec, pp AUTHORS Dr. Oded Berma; Faculty of Maagemet,; Uiv. of Toroto; Toroto, Otario M5S 3E6 CANADA. Iteret ( ) : berma@ fmgmt. mgrt. utoroto. ca Oded Berma is a Full Professor ad Associate Dea of Programs at the Faculty of Maagemet at the Uiv. of Toroto. He received his PhD (1978) i Operatios Research from the Massachusetts Istitute of Techology. He has bee with the Electroic Systems Lab at MIT, the Uiv. of Calgary, ad the Uiv. of Massachusetts at Bosto, where he was also the Chair of the Dept. of Maagemet Scieces. He has published over 80 articles ad has cotributed to several books i his field. His mai research iterests iclude operatios maagemet i the service idustry, locatio theory, etwork models, ad software reliability. He is the area editor of public services ad military for Operatios Research, a member of the editorial board for Computers ad Operatios Research, ad Associate Editor of Maagemet Sciece ad Trasportatio Sciece. Dr. Michal Cutler; Dept. of Computer Sciece; State Uiversity of New York; Bighamto, New York USA. Iteret ( ): cutler@bigsuy. cc. bighamto. edu Michal Cutler (M 86) received a BA i Applied Mathematics from Tel- Aviv Uiversity, ad MA & PhD i Computer Sciece from the Weizma Ist. of Sciece, Rehovot. She is a Associate Professor of Computer Sciece at Bighamto Uiversity. Her iterests are fault-tolerat computig, iformatio retrieval, ad artificial itelligece. She is a member of the IEEE Computer Society. Mauscript received 1995 November 4 Publisher Item Idetifier S (96) TRb
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 informationSolving 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 informationRedundancy 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 informationAdaptive 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 informationCounting 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 informationAn 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 informationPerhaps 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 informationn 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 informationBASED 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 informationCIS 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 information3D 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 information6.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 information9.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 information1 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 informationSum-connectivity indices of trees and unicyclic graphs of fixed maximum degree
1 Sum-coectivity idices of trees ad uicyclic graphs of fixed maximum degree Zhibi Du a, Bo Zhou a *, Nead Triajstić b a Departmet of Mathematics, South Chia Normal Uiversity, uagzhou 510631, Chia email:
More informationCompactness of Fuzzy Sets
Compactess of uzzy Sets Amai E. Kadhm Departmet of Egieerig Programs, Uiversity College of Madeat Al-Elem, Baghdad, Iraq. Abstract The objective of this paper is to study the compactess of fuzzy sets i
More informationLoad 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 informationAlgorithms 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 informationLecture 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 informationData diverse software fault tolerance techniques
Data diverse software fault tolerace techiques Complemets desig diversity by compesatig for desig diversity s s limitatios Ivolves obtaiig a related set of poits i the program data space, executig the
More informationCS 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 informationCMSC Computer Architecture Lecture 12: Virtual Memory. Prof. Yanjing Li University of Chicago
CMSC 22200 Computer Architecture Lecture 12: Virtual Memory Prof. Yajig Li Uiversity of Chicago A System with Physical Memory Oly Examples: most Cray machies early PCs Memory early all embedded systems
More informationSorting 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 informationThe 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 informationMał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 informationBezier curves. Figure 2 shows cubic Bezier curves for various control points. In a Bezier curve, only
Edited: Yeh-Liag Hsu (998--; recommeded: Yeh-Liag Hsu (--9; last updated: Yeh-Liag Hsu (9--7. Note: This is the course material for ME55 Geometric modelig ad computer graphics, Yua Ze Uiversity. art of
More informationPruning and Summarizing the Discovered Time Series Association Rules from Mechanical Sensor Data Qing YANG1,a,*, Shao-Yu WANG1,b, Ting-Ting ZHANG2,c
Advaces i Egieerig Research (AER), volume 131 3rd Aual Iteratioal Coferece o Electroics, Electrical Egieerig ad Iformatio Sciece (EEEIS 2017) Pruig ad Summarizig the Discovered Time Series Associatio Rules
More informationElementary 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 informationPython 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 informationCSC 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 informationComputational 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 informationEuclidean Distance Based Feature Selection for Fault Detection Prediction Model in Semiconductor Manufacturing Process
Vol.133 (Iformatio Techology ad Computer Sciece 016), pp.85-89 http://dx.doi.org/10.1457/astl.016. Euclidea Distace Based Feature Selectio for Fault Detectio Predictio Model i Semicoductor Maufacturig
More informationCIS 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 informationChapter 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 informationA 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 informationDesigning 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 informationPattern 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 informationEmpirical Validate C&K Suite for Predict Fault-Proneness of Object-Oriented Classes Developed Using Fuzzy Logic.
Empirical Validate C&K Suite for Predict Fault-Proeess of Object-Orieted Classes Developed Usig Fuzzy Logic. Mohammad Amro 1, Moataz Ahmed 1, Kaaa Faisal 2 1 Iformatio ad Computer Sciece Departmet, Kig
More informationAn 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 informationarxiv: 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 informationThe Adjacency Matrix and The nth Eigenvalue
Spectral Graph Theory Lecture 3 The Adjacecy Matrix ad The th Eigevalue Daiel A. Spielma September 5, 2012 3.1 About these otes These otes are ot ecessarily a accurate represetatio of what happeed i class.
More informationECE4050 Data Structures and Algorithms. Lecture 6: Searching
ECE4050 Data Structures ad Algorithms Lecture 6: Searchig 1 Search Give: Distict keys k 1, k 2,, k ad collectio L of records of the form (k 1, I 1 ), (k 2, I 2 ),, (k, I ) where I j is the iformatio associated
More informationHomework 1 Solutions MA 522 Fall 2017
Homework 1 Solutios MA 5 Fall 017 1. Cosider the searchig problem: Iput A sequece of umbers A = [a 1,..., a ] ad a value v. Output A idex i such that v = A[i] or the special value NIL if v does ot appear
More informationCSC165H1 Worksheet: Tutorial 8 Algorithm analysis (SOLUTIONS)
CSC165H1, Witer 018 Learig Objectives By the ed of this worksheet, you will: Aalyse the ruig time of fuctios cotaiig ested loops. 1. Nested loop variatios. Each of the followig fuctios takes as iput a
More informationChapter 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 informationENGR Spring Exam 1
ENGR 300 Sprig 03 Exam INSTRUCTIONS: Duratio: 60 miutes Keep your eyes o your ow work! Keep your work covered at all times!. Each studet is resposible for followig directios. Read carefully.. MATLAB ad
More informationPython Programming: An Introduction to Computer Science
Pytho Programmig: A Itroductio to Computer Sciece Chapter 6 Defiig Fuctios Pytho Programmig, 2/e 1 Objectives To uderstad why programmers divide programs up ito sets of cooperatig fuctios. To be able to
More informationCIS 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 informationA 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 informationFuzzy 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 information3. b. Present a combinatorial argument that for all positive integers n : : 2 n
. b. Preset a combiatorial argumet that for all positive itegers : : Cosider two distict sets A ad B each of size. Sice they are distict, the cardiality of A B is. The umber of ways of choosig a pair of
More informationOptimum 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 informationExact 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 informationPseudocode ( 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 informationMorgan 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 informationChapter 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 informationData Structures Week #9. Sorting
Data Structures Week #9 Sortig Outlie Motivatio Types of Sortig Elemetary (O( 2 )) Sortig Techiques Other (O(*log())) Sortig Techiques 21.Aralık.2010 Boraha Tümer, Ph.D. 2 Sortig 21.Aralık.2010 Boraha
More informationA 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. 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 informationChapter 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 informationSub-Exponential Algorithms for 0/1 Knapsack and Bin Packing
Sub-Expoetial Algorithms for 0/1 Kapsack ad Bi Packig Thomas E. O Neil Computer Sciece Departmet Uiversity of North Dakota Grad Forks, ND, USA 58202-9015 Abstract - This paper presets simple algorithms
More informationProject 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 informationStructuring 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 informationBasic allocator mechanisms The course that gives CMU its Zip! Memory Management II: Dynamic Storage Allocation Mar 6, 2000.
5-23 The course that gives CM its Zip Memory Maagemet II: Dyamic Storage Allocatio Mar 6, 2000 Topics Segregated lists Buddy system Garbage collectio Mark ad Sweep Copyig eferece coutig Basic allocator
More informationINTERSECTION CORDIAL LABELING OF GRAPHS
INTERSECTION CORDIAL LABELING OF GRAPHS G Meea, K Nagaraja Departmet of Mathematics, PSR Egieerig College, Sivakasi- 66 4, Virudhuagar(Dist) Tamil Nadu, INDIA meeag9@yahoocoi Departmet of Mathematics,
More informationDesigning a learning system
CS 75 Itro to Machie Learig Lecture Desigig a learig system Milos Hauskrecht milos@pitt.edu 539 Seott Square, -5 people.cs.pitt.edu/~milos/courses/cs75/ Admiistrivia No homework assigmet this week Please
More informationAn 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Σ P(i) ( depth T (K i ) + 1),
EECS 3101 York Uiversity Istructor: Ady Mirzaia DYNAMIC PROGRAMMING: OPIMAL SAIC BINARY SEARCH REES his lecture ote describes a applicatio of the dyamic programmig paradigm o computig the optimal static
More information1. SWITCHING FUNDAMENTALS
. SWITCING FUNDMENTLS Switchig is the provisio of a o-demad coectio betwee two ed poits. Two distict switchig techiques are employed i commuicatio etwors-- circuit switchig ad pacet switchig. Circuit switchig
More informationProtected points in ordered trees
Applied Mathematics Letters 008 56 50 www.elsevier.com/locate/aml Protected poits i ordered trees Gi-Sag Cheo a, Louis W. Shapiro b, a Departmet of Mathematics, Sugkyukwa Uiversity, Suwo 440-746, Republic
More informationENGI 4421 Probability and Statistics Faculty of Engineering and Applied Science Problem Set 1 Descriptive Statistics
ENGI 44 Probability ad Statistics Faculty of Egieerig ad Applied Sciece Problem Set Descriptive Statistics. If, i the set of values {,, 3, 4, 5, 6, 7 } a error causes the value 5 to be replaced by 50,
More informationLecture Notes on Integer Linear Programming
Lecture Notes o Iteger Liear Programmig Roel va de Broek October 15, 2018 These otes supplemet the material o (iteger) liear programmig covered by the lectures i the course Algorithms for Decisio Support.
More informationAnalysis 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 informationOur second algorithm. Comp 135 Machine Learning Computer Science Tufts University. Decision Trees. Decision Trees. Decision Trees.
Comp 135 Machie Learig Computer Sciece Tufts Uiversity Fall 2017 Roi Khardo Some of these slides were adapted from previous slides by Carla Brodley Our secod algorithm Let s look at a simple dataset for
More informationThe 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 informationReversible 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 informationAn 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 informationCombination Labelings Of Graphs
Applied Mathematics E-Notes, (0), - c ISSN 0-0 Available free at mirror sites of http://wwwmaththuedutw/ame/ Combiatio Labeligs Of Graphs Pak Chig Li y Received February 0 Abstract Suppose G = (V; E) is
More information1.8 What Comes Next? What Comes Later?
35 1.8 What Comes Next? What Comes Later? A Practice Uderstadig Task For each of the followig tables, CC BY Hiroaki Maeda https://flic.kr/p/6r8odk describe how to fid the ext term i the sequece, write
More informationLower 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 informationLecture 18. Optimization in n dimensions
Lecture 8 Optimizatio i dimesios Itroductio We ow cosider the problem of miimizig a sigle scalar fuctio of variables, f x, where x=[ x, x,, x ]T. The D case ca be visualized as fidig the lowest poit of
More informationParabolic Path to a Best Best-Fit Line:
Studet Activity : Fidig the Least Squares Regressio Lie By Explorig the Relatioship betwee Slope ad Residuals Objective: How does oe determie a best best-fit lie for a set of data? Eyeballig it may be
More informationImage 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 informationIJESMR International Journal OF Engineering Sciences & Management Research
[Geetha, (10): October, 015] ISSN 39-6193 Impact Factor (PIF):.3 Iteratioal Joural OF Egieerig Scieces & Maagemet Research CONSTRUCTION OF DIOPHANTINE QUADRUPLES WITH PROPERTY D(A PERFECT SQUARE) V.Geetha
More informationOn Nonblocking Folded-Clos Networks in Computer Communication Environments
O Noblockig Folded-Clos Networks i Computer Commuicatio Eviromets Xi Yua Departmet of Computer Sciece, Florida State Uiversity, Tallahassee, FL 3306 xyua@cs.fsu.edu Abstract Folded-Clos etworks, also referred
More informationAlgorithm. Counting Sort Analysis of Algorithms
Algorithm Coutig Sort Aalysis of Algorithms Assumptios: records Coutig sort Each record cotais keys ad data All keys are i the rage of 1 to k Space The usorted list is stored i A, the sorted list will
More informationCSE 417: Algorithms and Computational Complexity
Time CSE 47: Algorithms ad Computatioal Readig assigmet Read Chapter of The ALGORITHM Desig Maual Aalysis & Sortig Autum 00 Paul Beame aalysis Problem size Worst-case complexity: max # steps algorithm
More informationperformance to the performance they can experience when they use the services from a xed location.
I the Proceedigs of The First Aual Iteratioal Coferece o Mobile Computig ad Networkig (MobiCom 9) November -, 99, Berkeley, Califoria USA Performace Compariso of Mobile Support Strategies Rieko Kadobayashi
More informationCOMPUTER ORGANIZATION AND DESIGN The Hardware/Software Interface. Chapter 4. The Processor. Part A Datapath Design
COMPUTER ORGANIZATION AND DESIGN The Hardware/Software Iterface 5 th Editio Chapter The Processor Part A path Desig Itroductio CPU performace factors Istructio cout Determied by ISA ad compiler. CPI ad
More informationA Reinforced Hungarian Algorithm for Task Allocation in Global Software Development
A Reiforced Hugaria Algorithm for Task Allocatio i Global Software Developmet Xiao Yu State Key Lab. of Software Egieerig, Computer School, Wuha Uiversity, Wuha, Chia xiaoyu_whu@yahoo.com Ma Wu School
More informationState-space feedback 6 challenges of pole placement
State-space feedbac 6 challeges of pole placemet J Rossiter Itroductio The earlier videos itroduced the cocept of state feedbac ad demostrated that it moves the poles. x u x Kx Bu It was show that whe
More informationIntro to Scientific Computing: Solutions
Itro to Scietific Computig: Solutios Dr. David M. Goulet. How may steps does it take to separate 3 objects ito groups of 4? We start with 5 objects ad apply 3 steps of the algorithm to reduce the pile
More informationA 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 informationLecture 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 informationA Note on Chromatic Transversal Weak Domination in Graphs
Iteratioal Joural of Mathematics Treds ad Techology Volume 17 Number 2 Ja 2015 A Note o Chromatic Trasversal Weak Domiatio i Graphs S Balamuruga 1, P Selvalakshmi 2 ad A Arivalaga 1 Assistat Professor,
More informationBOOLEAN 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 informationEM375 STATISTICS AND MEASUREMENT UNCERTAINTY LEAST SQUARES LINEAR REGRESSION ANALYSIS
EM375 STATISTICS AND MEASUREMENT UNCERTAINTY LEAST SQUARES LINEAR REGRESSION ANALYSIS I this uit of the course we ivestigate fittig a straight lie to measured (x, y) data pairs. The equatio we wat to fit
More informationA 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 informationHow 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 informationAdministrative 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