Analysis of Class Design Coupling Based on Information Entropy Di Jiang 1,2, a, Hua Zhou 1,2,b and Xingping Sun 1,2,c
|
|
- Franklin Dickerson
- 6 years ago
- Views:
Transcription
1 Advaced Materials Research Olie: IN: , Vol. 659, pp doi: / Tras Tech Publicatios, witzerlad Aalysis of Class Desig Couplig Based o Iformatio Etropy Di Jiag 1,2, a, Hua Zhou 1,2,b ad Xigpig u 1,2,c 1 chool of oftware, Yua Uiversity, Kumig, , Chia 2 Key Laboratory for oftware Egieerig of Yua Provice Republic of Chia a alexjiag.y@gmail.com, b zh6691@hotmail.com, c ysuxp@gmail.com Keywords: Iformatio etropy; Couplig; Class desig; Quatitative aalysis Abstract. I object-orieted programmig, desigig class is oe of the most importat steps of software developmet. How to aalyze ad evaluate the class desig is a importat topic i the field of software egieerig. The paper puts forward a method which is based o iformatio etropy to quatify the couplig of class desig. Compared to the covetioal methods, this method has a better operability ad accuracy. O the above basis, this paper validates the feasibility of the method by the case studies. Itroductio There are two importat idicators to measure the merits of a class desig i object-orieted software developmet. They are cohesio ad couplig. A excellet class should be desiged to meet the characteristics of high cohesio, low couplig. The couplig idicates the depedecies betwee classes which ca affect the exteral quality attributes of the system. The higher couplig meas the classes are more closely liked. I this case, if oe class is modified may result i multiple classes associated with it does ot work properly. o couplig of the system should be reduced as much as possible i the desig phase, thus esurig that the system has good extesibility. May researches about system couplig have bee doe i the past years. Ad the most represetative oe of them is the KobrA method. KobrA method is developed i KobrA project fuded by the Germa Federal Miistry of Educatio ad Research (BMBF). The method raises a set of guidig priciples for how to quatify the system couplig, but ot the cocrete methods. Ad most of the other researches just aalyze the couplig of system from a qualitative perspective, but they have ot yet doe ay quatitative aalysis about the system couplig. Therefore, the paper set the problem above as the research backgroud, proposed a quatitative aalysis method based o iformatio etropy to aalyze the couplig of class desig, ad the method is applied to the case. It has realistic value ad sigificace. The iformatio etropy mathematical model I 1948, hao has a scietific defiitio of the iformatio give i his book "Mathematical Theory of Commuicatio". Iformatio is the thig ca elimiate or reduce the ucertaity of thigs to uderstad. O this basis, hao proposed the cocept of iformatio etropy, ad poited out that the amout of iformatio ad iformatio etropy are two opposite amout. Iformatio is egative etropy. We ca use mathematical methods based o statistical to measure the amout of iformatio i quatitative metrics [1]. Assumig that the probability of occurrece of evet A is P(A), hao use Eq. 1 to calculate the amout of iformatio of evet A, called self-iformatio. I( A) = log P( A) (1) All rights reserved. No part of cotets of this paper may be reproduced or trasmitted i ay form or by ay meas without the writte permissio of Tras Tech Publicatios, (# , Pesylvaia tate Uiversity, Uiversity Park, UA-18/09/16,12:37:53)
2 Advaced Materials Research Vol Eq. 1 idicates: 1) the greater probability of occurrece of Evet A, the less iformatio it cotais; 2) the amout of iformatio ca be added. I( AB) = I( A) + I( B) (2) O the basis of Eq. 1, assumig that a radom evet has may possible results. Ad probabilities of occurrece of these results are p 1, p 2,, p. Thus the formula about the average amout of iformatio of the evet is as follow: H p l ogp i i i 1 (3) hao called the result of Eq. 3 iformatio etropy; the uit of it is bit [2]. Quatitative aalysis of class couplig From the perspective of the iformatio, the relatioship betwee classes ca essetially be uderstood as message passig betwee classes. o the couplig of class desig ca be measured by usig the iformatio etropy. I order to esure the validity ad completeess of the method, the research about couplig of class desig should be carried out from the followig aspects: The Directivity of couplig; Types of relatioships betwee classes i object-orieted desig (such as depedecy, iheritace, realizatio); Metrics of the relatioship closeess; Relatioship betwee classes withi the system. (1) The Directivity of couplig. I object-orieted desig, all relatioships are directioal, e.g. associatio (uidirectioal associatio ad bidirectioal associatios), depedecies (oe-way), ad iheritace relatioships (oe-way), implemetatio (oe-way) ad so o. Depedecies, iheritace ad implemetatio are the relatioships most commoly used. Therefore, the Directivity of couplig should be take ito accout whe calculatig the couplig of the class desig. The cocept of the iput couplig ad output couplig eed to be itroduced here. Iput couplig aalyses the etities which play a role as the properties, methods, or the cliet (cosumer) of other etities. Output couplig aalyses the etities which play a role as the properties, methods, or the server (provider) of other etities. Iput couplig is related with the followig exteral attributes [3]: Comprehesibility: I order to uderstad the class, we must kow the service provided by it. Error tedecies: If a exteral service is used icorrectly because of the misuderstadig of the class, it may itroduce errors. Maitaiability: lower uderstadability ad higher error tedecy will lead to lower maitaiability. Output couplig is related with the followig exteral attributes: Dager level:ay errors i the class with a high-output couplig may be passed to other parts of the system. Testability: class with a high output couplig is relatively difficult to be tested. Assumig exist the followig sceario: There are two classes ad the relatioship betwee them is depedecy. o judgig from the above discussio about the iput ad output couplig, because the two classes ifluece each other, the depedecy betwee two classes should be a two-way relatioship. It is differet from the defiitio of depedecies directio i UML.
3 198 Advaced Materials ad Computer ciece II Therefore, i the calculatio of the class couplig, iput couplig ad output couplig of a class should be calculated respectively. iput(i) represets the iput couplig of Class C i, output(i) represets the output couplig of Class C i, the the couplig of classes C i with other classes ca be expressed as follow: i i put ( i ) out put ( i ) (4) (2) The process of differet types of relatioship. I the discussio above, a importat issue, the type of class is igored. I the actual system desig, there are may types of class, such as: abstract class, iterface class etc. Relatioships betwee differet types of classes are o loger the simple depedecy, it may also iclude iheritace (geeralizatio), implemetatio etc. o whe calculatig the couplig of classes the directioality of the couplig eed to be take ito accout. Here takig iheritace ad implemetatio for example. ee by the characteristics of object-orieted programmig, the subclass iherits all the attributes ad operatios of the paret class due to the iheritace relatioship. I aother words, the subclass kows (uderstads) the paret class. ubclass ca use the properties ad methods of the paret class, but the paret class caot use the subclass. o i iheritace relatioship, the paret class does ot have the iput couplig. Just the same as the iheritace relatioship, iterface class does ot have iput couplig. Whe calculatig the couplig betwee classes, iput couplig of the paret class (or iterface class) will ot be calculated. upposig that Class C i is the paret class or iterface class of other classes, the the couplig of class C i with other classes is show below: i out put ( i ) (5) (3)Calculatio formula of class couplig. I order to measure the relatioship betwee the classes, the cocept of iformatio etropy will be itroduced. Uder the premise of ot cosiderig the closeess of relatioships betwee classes (i.e. all depedecies are equivalet), the directioality of the relatioship should be take ito accout at the same time. That meas whe aalyzig the couplig of classes, iput couplig ad output couplig of each class are couted respectively ad based o the above discussio a specific type of relatioship eeds for special treatmet. Accordig to the iformatio etropy that the calculatio formula of the couplig betwee classes is defied as follow: Assumig that a system with may classes C 1,C 2,..,C, if there is a relatioship betwee C i ad C j, the g ij =1, or else g ij =0, R(i ) represets the total amout of the relatioship betwee the class C i ad R( i ) gij Z j 1 other classes,, the total amout of the relatioship of the system is i 1 associative stregth of classes C i i the system is ( i ) R( i ) / Z ( i ) 1, ad i 1. Accordig to iformatio etropy, the couplig betwee classes C i ad class C j is ij. R( i ), The ij 1 1 l og( ) Z Z (6) The couplig betwee the classes C i ad other classes is i. i j 1 i j (7) As ca be see from the above equatio, if the relatioship amog classes is closer i the system, the couplig of system is higher.
4 Advaced Materials Research Vol (4)Itroducig depedecy coefficiets to measure the relatioship closeess. I the above sectio, calculatio formula of class couplig is put forward i the cotext of ot cosiderig the closeess of the relatioship betwee classes. But i the actual object-orieted desig, the closeess of the relatioship betwee classes is differet. This is because the class has two basic characteristics--- attributes ad operates, so the relatioship betwee classes ca be cosidered as the exteral performace of the two basic properties. The depedecy betwee classes is caused by the iterdepedece betwee attribute ad operatio of classes. o the depedecy ca be divided ito two types--- data depedecy ad method depedecy. Depedecy caused by attribute called data depedecy, deoted as RDD; depedecy is caused by the operatio kow as the method depedecy, referred as the RMD [4, 5]. This paper itroduces the cocept of depedecy coefficiet to quatify the stregth of the iterdepedece betwee two classes; the quatizatio method is show as below: Assumig that i a system, class C i depeds o the class C j, the data depedecy betwee class C i ad class C j deoted as C i RDD C j, the method depedecy betwee class C i ad class C j deoted as C i RMD C j, Cout(C i RDD C j ) represets the umber of attributes of C j which called by C i, Cout(C i RDD C j ) represets the umber of methods of C j which Called by C i, R ij deotes as the depedecy coefficiet betwee classes C i ad C j. R Cout ( C R C ) Cout ( C R C ) i j i DD j i MD j R ij represets the closeess of the relatioship betwee classes. The greater R ij is, the higher the closeess of the relatioship is, o the cotrary the smaller R ij is, the lower the closeess of the relatioship is. Assumig that there are three classes A, B, C, the relatioships of three classes are show below: (8) Class A +IvokeOperatioB1() : void +IvokeOperatioC() : void +IvokeAttributeB1() : void Class B -AttributeB1 : it +OperatioB1() : void +OperatioB2() : strig Class C +OperatioC() : strig Fig. 1 Examples of depedecy Class A deped o class B ad class C, class A calls the attribute Attribute1 ad method OperatioB2 of class B, class A also calls the method OperatioC of class C. O the basis of Eq. 8, the depedecy coefficiet of class A ad class B i Fig. 1 ca be calculated, ad the do the same operatio o the class A ad class C, it ca be fouded that: Depedecy coefficiet of class A ad class B: R AB =2 Depedecy coefficiet of class A ad class C: R Ac =1 o the relatioship betwee class A ad class B is closer, the relatioship betwee the class A ad class C is i the secod place. Now, the Eq. 6 ca be modified by itroducig the depedecy coefficiets, the ew computatioal formula of class desig couplig is show as follow: 1 1 l og( ) R i j i j Z Z (9) The couplig of whole system ca be calculated by usig the computatioal formula show below: i If the value of is greater, the couplig of the system is higher. Coversely, if is smaller, the couplig of the system is lower. i 1 (10)
5 200 Advaced Materials ad Computer ciece II Case tudies I actual software developmet, so as to achieve the purpose of reducig the couplig of system, class desig of the system is ofte based o certai desig patter. imple factory patter is oe of the most commoly used desig patters. It is usually used for object creatio operatio. Here takig the class desig before ad after the applicatio of a simple factory patter as the example to measure ad compare the couplig of a system. Assumig that there is a task to desig ad implemet a simple calculator which ca do the operatio, such as additio, subtractio, multiplicatio ad divisio of two itegers. Fig. 2 (A) shows the class desig without ay desig patter. Fig. 2 (B) shows the class desig which is based o the simple factory patter. Oly from the perspective of complexity, the class desig which uses the simple factory patter is seemigly more complex ad has a higher couplig. Now, the Eq. 10 is used to distiguish which class desig has the lower couplig. Factory +CreateObj() : Operatio Operatio ub ub (A) (B) Fig. 2 The compariso of class desig I Fig. 2 (A), the couplig of class diagram without ay desig patter is show as follow: 2 9l og (11) I Fig. 2 (B), the couplig of class diagram usig sample factory patter is show as follow: ' l og (12) The result is <. o it ca be see from the results that the couplig of the class desig which uses the simple factory patter is sigificat reduced. Next, i order to observer the chage of couplig after fuctio expasio, the requiremet eeds to make some adjustmets. The modulus operatios will be added o the basis of the existig fuctio. The class diagrams after adjustmet are show as Fig. 3. Factory +CreateObj() : Operatio Operatio ub Mod ub Mod (A) (B) Fig. 3 The compariso of class desig (after expasio)
6 Advaced Materials Research Vol I Fig. 3 (A), the couplig of class desig without ay desig patter is show as follow: ex 10 3l og (13) I Fig. 3 (B), the couplig of class desig usig sample factory patter is show as follow: 2. 6l og ' 9 ex (14) It ca be see from the above results, ex < ex. That meas whe carryig out the same fuctio expasio to both class desigs, the class desig usig the simple factory patter still has a lower couplig. Now let us compare the couplig icremet of two class desigs before ad after expasio. Fig. 3 (A) compared to Fig. 2 (A), the icremet of the couplig is show as follow: add ex 0. 3 (15) Fig. 3 (B) compared to Fig. 2 (B), the icremet of couplig is show as follow: ' ' ' add ex (16) It is sigificat that add < add. By comparig the result, it is easy to get the coclusio that whe carryig out the same expasio, class desig which uses the simple factory patter has less couplig icesemet tha the oe without ay desig patter used. It idicates that by usig the sample factory patter, the class desig has a obvious superiority i expasibility. Coclusio I the object-orieted software desig, the couplig of class desig ca reflect the pros ad cos of the class desig o some level. O the basis of iformatio etropy, this paper proposes a method of quatitative aalysis which is used to aalyze ad evaluate the class desig. I additio, this paper validates the feasibility of the method by the case studies. The research fidigs show that, I the case of achievig the same fuctio, if a desiger ca correctly apply a desig patter whe desigig class, it ca effectively reduce couplig amog classes, ad make the desig have good extesibility. Ackowledgemets This work is fuded by the Ope Foudatio of Key Laboratory of oftware Egieerig of Yua Provice uder Grat No. 2011E11, ad ciece ad egieerig uiversity-level research projects of Yua Uiversity uder Grat No. 2010YB048. Referece [1] u Dogchua, Li Fuyog, Itroductio to ystems Egieerig, Tsighua Uiversity Press, Beijig, [2] Zhag Yi, Zhou Hua, Dua Qig, Liao Yu, Liu Huhui, He Zheli, Quatitative aalysis of system couplig, Proceedigs th Iteratioal Coferece o Fuzzy ystems ad kowledge Discovery. (2011) [3] Coli Atkiso, Compoet-based product lie egieerig with UML, iso-wesley, [4] Ou Yag, Hu hure, Wag Zhihua, Measuremet Research of Depedecy Relatios amog Class Based o Object-Orieted ystem, Computer ciece. 31 (2004) [5] Yu Yog, Tag Jia hua, Li Wehog, Li Tog, Approach to measuremet of class cohesio based o structure etropy, ystems Egieerig ad Electroics. 31 (2000)
Empirical 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 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 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 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 informationOptimization for framework design of new product introduction management system Ma Ying, Wu Hongcui
2d Iteratioal Coferece o Electrical, Computer Egieerig ad Electroics (ICECEE 2015) Optimizatio for framework desig of ew product itroductio maagemet system Ma Yig, Wu Hogcui Tiaji Electroic Iformatio Vocatioal
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 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 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 informationHarris Corner Detection Algorithm at Sub-pixel Level and Its Application Yuanfeng Han a, Peijiang Chen b * and Tian Meng c
Iteratioal Coferece o Computatioal Sciece ad Egieerig (ICCSE 015) Harris Corer Detectio Algorithm at Sub-pixel Level ad Its Applicatio Yuafeg Ha a, Peijiag Che b * ad Tia Meg c School of Automobile, Liyi
More informationSectio 4, a prototype project of settig field weight with AHP method is developed ad the experimetal results are aalyzed. Fially, we coclude our work
200 2d Iteratioal Coferece o Iformatio ad Multimedia Techology (ICIMT 200) IPCSIT vol. 42 (202) (202) IACSIT Press, Sigapore DOI: 0.7763/IPCSIT.202.V42.0 Idex Weight Decisio Based o AHP for Iformatio Retrieval
More informationThe Research Based on Fuzzy Sliding Mode Control for Linear Double. Inverted Pendulum
Advaced Materials Research Olie: 04-05-3 ISSN: 66-8985, Vols. 96-930, pp 463-467 doi:0.408/www.scietific.et/amr.96-930.463 04 Tras Tech Publicatios, Switzerlad The Research Based o Fuzzy Slidig Mode Cotrol
More informationLow Complexity H.265/HEVC Coding Unit Size Decision for a Videoconferencing System
BULGARIAN ACADEMY OF SCIENCES CYBERNETICS AND INFORMATION TECHNOLOGIES Volume 15, No 6 Special Issue o Logistics, Iformatics ad Service Sciece Sofia 2015 Prit ISSN: 1311-9702; Olie ISSN: 1314-4081 DOI:
More informationThe identification of key quality characteristics based on FAHP
Iteratioal Joural of Research i Egieerig ad Sciece (IJRES ISSN (Olie: 2320-9364, ISSN (Prit: 2320-9356 Volume 3 Issue 6 ǁ Jue 2015 ǁ PP.01-07 The idetificatio of ey quality characteristics based o FAHP
More informationKeywords Software Architecture, Object-oriented metrics, Reliability, Reusability, Coupling evaluator, Cohesion, efficiency
Volume 3, Issue 9, September 2013 ISSN: 2277 128X Iteratioal Joural of Advaced Research i Computer Sciece ad Software Egieerig Research Paper Available olie at: www.ijarcsse.com Couplig Evaluator to Ehace
More informationGoals of the Lecture UML Implementation Diagrams
Goals of the Lecture UML Implemetatio Diagrams Object-Orieted Aalysis ad Desig - Fall 1998 Preset UML Diagrams useful for implemetatio Provide examples Next Lecture Ð A variety of topics o mappig from
More informationA 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 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 informationA Comparative Study of Positive and Negative Factorials
A Comparative Study of Positive ad Negative Factorials A. M. Ibrahim, A. E. Ezugwu, M. Isa Departmet of Mathematics, Ahmadu Bello Uiversity, Zaria Abstract. This paper preset a comparative study of the
More informationAnalysis of Server Resource Consumption of Meteorological Satellite Application System Based on Contour Curve
Advaces i Computer, Sigals ad Systems (2018) 2: 19-25 Clausius Scietific Press, Caada Aalysis of Server Resource Cosumptio of Meteorological Satellite Applicatio System Based o Cotour Curve Xiagag Zhao
More informationThe Counterchanged Crossed Cube Interconnection Network and Its Topology Properties
WSEAS TRANSACTIONS o COMMUNICATIONS Wag Xiyag The Couterchaged Crossed Cube Itercoectio Network ad Its Topology Properties WANG XINYANG School of Computer Sciece ad Egieerig South Chia Uiversity of Techology
More 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 informationNew Fuzzy Color Clustering Algorithm Based on hsl Similarity
IFSA-EUSFLAT 009 New Fuzzy Color Clusterig Algorithm Based o hsl Similarity Vasile Ptracu Departmet of Iformatics Techology Tarom Compay Bucharest Romaia Email: patrascu.v@gmail.com Abstract I this paper
More informationMapping Publishing and Mapping Adaptation in the Middleware of Railway Information Grid System
Mappig Publishig ad Mappig Adaptatio i the Middleware of Railway Iformatio Grid ystem You Gamei, Liao Huamig, u Yuzhog Istitute of Computig Techology, Chiese Academy of cieces, Beijig 00080 gameiu@ict.ac.c
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 informationΤεχνολογία Λογισμικού
ΕΘΝΙΚΟ ΜΕΤΣΟΒΙΟ ΠΟΛΥΤΕΧΝΕΙΟ Σχολή Ηλεκτρολόγων Μηχανικών και Μηχανικών Υπολογιστών Τεχνολογία Λογισμικού, 7ο/9ο εξάμηνο 2018-2019 Τεχνολογία Λογισμικού Ν.Παπασπύρου, Αν.Καθ. ΣΗΜΜΥ, ickie@softlab.tua,gr
More informationPerformance Plus Software Parameter Definitions
Performace Plus+ Software Parameter Defiitios/ Performace Plus Software Parameter Defiitios Chapma Techical Note-TG-5 paramete.doc ev-0-03 Performace Plus+ Software Parameter Defiitios/2 Backgroud ad Defiitios
More informationTask 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 informationGPUMP: a Multiple-Precision Integer Library for GPUs
GPUMP: a Multiple-Precisio Iteger Library for GPUs Kaiyog Zhao ad Xiaowe Chu Departmet of Computer Sciece, Hog Kog Baptist Uiversity Hog Kog, P. R. Chia Email: {kyzhao, chxw}@comp.hkbu.edu.hk Abstract
More informationChapter 3 Classification of FFT Processor Algorithms
Chapter Classificatio of FFT Processor Algorithms The computatioal complexity of the Discrete Fourier trasform (DFT) is very high. It requires () 2 complex multiplicatios ad () complex additios [5]. As
More informationDETECTION OF LANDSLIDE BLOCK BOUNDARIES BY MEANS OF AN AFFINE COORDINATE TRANSFORMATION
Proceedigs, 11 th FIG Symposium o Deformatio Measuremets, Satorii, Greece, 2003. DETECTION OF LANDSLIDE BLOCK BOUNDARIES BY MEANS OF AN AFFINE COORDINATE TRANSFORMATION Michaela Haberler, Heribert Kahme
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 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 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 informationMobile terminal 3D image reconstruction program development based on Android Lin Qinhua
Iteratioal Coferece o Automatio, Mechaical Cotrol ad Computatioal Egieerig (AMCCE 05) Mobile termial 3D image recostructio program developmet based o Adroid Li Qihua Sichua Iformatio Techology College
More 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 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 informationA Generalized Set Theoretic Approach for Time and Space Complexity Analysis of Algorithms and Functions
Proceedigs of the 10th WSEAS Iteratioal Coferece o APPLIED MATHEMATICS, Dallas, Texas, USA, November 1-3, 2006 316 A Geeralized Set Theoretic Approach for Time ad Space Complexity Aalysis of Algorithms
More information. 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 informationGeneration of a New Complexity Dimension Scheme for Complexity Measure of Procedural Program
Geeratio of a New Complexity Dimesio Scheme for Complexity Measure of Procedural Program Nikhar Tak, Dr. Navee Hemrajai Departmet of Computer Sciece & Egg, Suresh Gya Vihar Uiversity,Jaipur Abstract -
More informationChapter 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 informationOnes 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 informationAccuracy 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 informationBaan Finance Financial Statements
Baa Fiace Fiacial Statemets Module Procedure UP041A US Documetiformatio Documet Documet code : UP041A US Documet group : User Documetatio Documet title : Fiacial Statemets Applicatio/Package : Baa Fiace
More informationStudy on effective detection method for specific data of large database LI Jin-feng
Iteratioal Coferece o Automatio, Mechaical Cotrol ad Computatioal Egieerig (AMCCE 205) Study o effective detectio method for specific data of large database LI Ji-feg (Vocatioal College of DogYig, Shadog
More informationWEBSITE 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 informationStone Images Retrieval Based on Color Histogram
Stoe Images Retrieval Based o Color Histogram Qiag Zhao, Jie Yag, Jigyi Yag, Hogxig Liu School of Iformatio Egieerig, Wuha Uiversity of Techology Wuha, Chia Abstract Stoe images color features are chose
More informationBayesian 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 informationGE FUNDAMENTALS OF COMPUTING AND PROGRAMMING UNIT III
GE2112 - FUNDAMENTALS OF COMPUTING AND PROGRAMMING UNIT III PROBLEM SOLVING AND OFFICE APPLICATION SOFTWARE Plaig the Computer Program Purpose Algorithm Flow Charts Pseudocode -Applicatio Software Packages-
More informationEvaluation 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 informationAppendix D. Controller Implementation
COMPUTER ORGANIZATION AND DESIGN The Hardware/Software Iterface 5 th Editio Appedix D Cotroller Implemetatio Cotroller Implemetatios Combiatioal logic (sigle-cycle); Fiite state machie (multi-cycle, pipelied);
More 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 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 informationISSN (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 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 informationSecurity of Bluetooth: An overview of Bluetooth Security
Versio 2 Security of Bluetooth: A overview of Bluetooth Security Marjaaa Träskbäck Departmet of Electrical ad Commuicatios Egieerig mtraskba@cc.hut.fi 52655H ABSTRACT The purpose of this paper is to give
More informationChapter 5. Functions for All Subtasks. Copyright 2015 Pearson Education, Ltd.. All rights reserved.
Chapter 5 Fuctios for All Subtasks Copyright 2015 Pearso Educatio, Ltd.. All rights reserved. Overview 5.1 void Fuctios 5.2 Call-By-Referece Parameters 5.3 Usig Procedural Abstractio 5.4 Testig ad Debuggig
More informationLecture 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 informationMATHEMATICAL METHODS OF ANALYSIS AND EXPERIMENTAL DATA PROCESSING (Or Methods of Curve Fitting)
MATHEMATICAL METHODS OF ANALYSIS AND EXPERIMENTAL DATA PROCESSING (Or Methods of Curve Fittig) I this chapter, we will eamie some methods of aalysis ad data processig; data obtaied as a result of a give
More informationAvailable online at ScienceDirect. Procedia CIRP 53 (2016 ) 21 28
vailable olie at www.sciecedirect.com ScieceDirect Procedia CIRP 53 (206 ) 2 28 The 0th Iteratioal Coferece o xiomatic Desig, ICD 206 systematic approach to couplig disposal of product family desig (part
More informationAPPLICATION NOTE PACE1750AE BUILT-IN FUNCTIONS
APPLICATION NOTE PACE175AE BUILT-IN UNCTIONS About This Note This applicatio brief is iteded to explai ad demostrate the use of the special fuctios that are built ito the PACE175AE processor. These powerful
More informationIMP: 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 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 informationBig-O Analysis. Asymptotics
Big-O Aalysis 1 Defiitio: Suppose that f() ad g() are oegative fuctios of. The we say that f() is O(g()) provided that there are costats C > 0 ad N > 0 such that for all > N, f() Cg(). Big-O expresses
More 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 informationChapter 4. Procedural Abstraction and Functions That Return a Value. Copyright 2015 Pearson Education, Ltd.. All rights reserved.
Chapter 4 Procedural Abstractio ad Fuctios That Retur a Value Copyright 2015 Pearso Educatio, Ltd.. All rights reserved. Overview 4.1 Top-Dow Desig 4.2 Predefied Fuctios 4.3 Programmer-Defied Fuctios 4.4
More informationOntology-based Decision Support System with Analytic Hierarchy Process for Tour Package Selection
2017 Asia-Pacific Egieerig ad Techology Coferece (APETC 2017) ISBN: 978-1-60595-443-1 Otology-based Decisio Support System with Aalytic Hierarchy Process for Tour Pacage Selectio Tie-We Sug, Chia-Jug Lee,
More informationNeuro Fuzzy Model for Human Face Expression Recognition
IOSR Joural of Computer Egieerig (IOSRJCE) ISSN : 2278-0661 Volume 1, Issue 2 (May-Jue 2012), PP 01-06 Neuro Fuzzy Model for Huma Face Expressio Recogitio Mr. Mayur S. Burage 1, Prof. S. V. Dhopte 2 1
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 informationOn Infinite Groups that are Isomorphic to its Proper Infinite Subgroup. Jaymar Talledo Balihon. Abstract
O Ifiite Groups that are Isomorphic to its Proper Ifiite Subgroup Jaymar Talledo Baliho Abstract Two groups are isomorphic if there exists a isomorphism betwee them Lagrage Theorem states that the order
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 informationGoals of this Lecture Activity Diagram Example
Goals of this Lecture Activity Diagram Example Object-Orieted Aalysis ad Desig - Fall 998 Preset a example activity diagram Ð Relate to requiremets, use cases, ad class diagrams Also, respod to a questio
More informationCS : Programming for Non-Majors, Summer 2007 Programming Project #3: Two Little Calculations Due by 12:00pm (noon) Wednesday June
CS 1313 010: Programmig for No-Majors, Summer 2007 Programmig Project #3: Two Little Calculatios Due by 12:00pm (oo) Wedesday Jue 27 2007 This third assigmet will give you experiece writig programs that
More informationAvid 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 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 informationWhat 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 informationImproving 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 informationImprovement of the Orthogonal Code Convolution Capabilities Using FPGA Implementation
Improvemet of the Orthogoal Code Covolutio Capabilities Usig FPGA Implemetatio Naima Kaabouch, Member, IEEE, Apara Dhirde, Member, IEEE, Saleh Faruque, Member, IEEE Departmet of Electrical Egieerig, Uiversity
More 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 informationImproving Information Retrieval System Security via an Optimal Maximal Coding Scheme
Improvig Iformatio Retrieval System Security via a Optimal Maximal Codig Scheme Dogyag Log Departmet of Computer Sciece, City Uiversity of Hog Kog, 8 Tat Chee Aveue Kowloo, Hog Kog SAR, PRC dylog@cs.cityu.edu.hk
More informationAnalysis of Algorithms
Presetatio for use with the textbook, Algorithm Desig ad Applicatios, by M. T. Goodrich ad R. Tamassia, Wiley, 2015 Aalysis of Algorithms Iput 2015 Goodrich ad Tamassia Algorithm Aalysis of Algorithms
More 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 informationNew 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 informationComputer Systems - HS
What have we leared so far? Computer Systems High Level ENGG1203 2d Semester, 2017-18 Applicatios Sigals Systems & Cotrol Systems Computer & Embedded Systems Digital Logic Combiatioal Logic Sequetial Logic
More informationOutline. Research Definition. Motivation. Foundation of Reverse Engineering. Dynamic Analysis and Design Pattern Detection in Java Programs
Dyamic Aalysis ad Desig Patter Detectio i Java Programs Outlie Lei Hu Kamra Sartipi {hul4, sartipi}@mcmasterca Departmet of Computig ad Software McMaster Uiversity Caada Motivatio Research Problem Defiitio
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 informationBOOLEAN DIFFERENTIATION EQUATIONS APPLICABLE IN RECONFIGURABLE COMPUTATIONAL MEDIUM
MATEC Web of Cofereces 79, 01014 (016) DOI: 10.1051/ mateccof/0167901014 T 016 BOOLEAN DIFFERENTIATION EQUATIONS APPLICABLE IN RECONFIGURABLE COMPUTATIONAL MEDIUM Staislav Shidlovskiy 1, 1 Natioal Research
More informationFREQUENCY ESTIMATION OF INTERNET PACKET STREAMS WITH LIMITED SPACE: UPPER AND LOWER BOUNDS
FREQUENCY ESTIMATION OF INTERNET PACKET STREAMS WITH LIMITED SPACE: UPPER AND LOWER BOUNDS Prosejit Bose Evagelos Kraakis Pat Mori Yihui Tag School of Computer Sciece, Carleto Uiversity {jit,kraakis,mori,y
More informationSoftware development of components for complex signal analysis on the example of adaptive recursive estimation methods.
Software developmet of compoets for complex sigal aalysis o the example of adaptive recursive estimatio methods. SIMON BOYMANN, RALPH MASCHOTTA, SILKE LEHMANN, DUNJA STEUER Istitute of Biomedical Egieerig
More informationArchitectural styles for software systems The client-server style
Architectural styles for software systems The cliet-server style Prof. Paolo Ciacarii Software Architecture CdL M Iformatica Uiversità di Bologa Ageda Cliet server style CS two tiers CS three tiers CS
More informationTHIN LAYER ORIENTED MAGNETOSTATIC CALCULATION MODULE FOR ELMER FEM, BASED ON THE METHOD OF THE MOMENTS. Roman Szewczyk
THIN LAYER ORIENTED MAGNETOSTATIC CALCULATION MODULE FOR ELMER FEM, BASED ON THE METHOD OF THE MOMENTS Roma Szewczyk Istitute of Metrology ad Biomedical Egieerig, Warsaw Uiversity of Techology E-mail:
More 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 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 informationBayesian Network Structure Learning from Attribute Uncertain Data
Bayesia Network Structure Learig from Attribute Ucertai Data Wetig Sog 1,2, Jeffrey Xu Yu 3, Hog Cheg 3, Hogya Liu 4, Ju He 1,2,*, ad Xiaoyog Du 1,2 1 Key Labs of Data Egieerig ad Kowledge Egieerig, Miistry
More informationPolynomial Functions and Models. Learning Objectives. Polynomials. P (x) = a n x n + a n 1 x n a 1 x + a 0, a n 0
Polyomial Fuctios ad Models 1 Learig Objectives 1. Idetify polyomial fuctios ad their degree 2. Graph polyomial fuctios usig trasformatios 3. Idetify the real zeros of a polyomial fuctio ad their multiplicity
More informationData Structures and Algorithms. Analysis of Algorithms
Data Structures ad Algorithms Aalysis of Algorithms Outlie Ruig time Pseudo-code Big-oh otatio Big-theta otatio Big-omega otatio Asymptotic algorithm aalysis Aalysis of Algorithms Iput Algorithm Output
More informationCubic Polynomial Curves with a Shape Parameter
roceedigs of the th WSEAS Iteratioal Coferece o Robotics Cotrol ad Maufacturig Techology Hagzhou Chia April -8 00 (pp5-70) Cubic olyomial Curves with a Shape arameter MO GUOLIANG ZHAO YANAN Iformatio ad
More informationΤεχνολογία Λογισμικού
ΕΘΝΙΚΟ ΜΕΤΣΟΒΙΟ ΠΟΛΥΤΕΧΝΕΙΟ Σχολή Ηλεκτρολόγων Μηχανικών και Μηχανικών Υπολογιστών Τεχνολογία Λογισμικού, 7ο/9ο εξάμηνο 2018-2019 Τεχνολογία Λογισμικού Ν.Παπασπύρου, Αν.Καθ. ΣΗΜΜΥ, ickie@softlab.tua,gr
More informationRunning Time. Analysis of Algorithms. Experimental Studies. Limitations of Experiments
Ruig Time Aalysis of Algorithms Iput Algorithm Output A algorithm is a step-by-step procedure for solvig a problem i a fiite amout of time. Most algorithms trasform iput objects ito output objects. The
More 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 Warehousing. Paper
Data Warehousig Paper 28-25 Implemetig a fiacial balace scorecard o top of SAP R/3, usig CFO Visio as iterface. Ida Carapelle & Sophie De Baets, SOLID Parters, Brussels, Belgium (EUROPE) ABSTRACT Fiacial
More information