Generation of a New Complexity Dimension Scheme for Complexity Measure of Procedural Program

Size: px
Start display at page:

Download "Generation of a New Complexity Dimension Scheme for Complexity Measure of Procedural Program"

Transcription

1 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 - Software complexity measuremet has bee a agelog quadary i software egieerig as the effort used to develop, comprehed, or retai the software depeds o so may complicated factors. Measurig ad cotrollig of complexity will have a importat ifluece to improve productivity, quality ad maiteace of software. So far, most of the researches have tried to idetify ad measure the complexity i desig ad code phase. However, whe we have the code or desig for software, it is too late to cotrol complexity ad leads iaccuracy publishig i the whole system. I this paper, we propose a ew dimesio scheme, i the first phase i.e. Requiremet phase of software developmet which is based o software requiremet specificatios. Keyword Code based complexity measures, Cogitive complexity measures ad ew scheme for complexity measure. 1. INTRODUCTION Complexity is a feature of a computer program much like storage space ad speed of executio. It is the mai factor that ca lead to defects. The problem of reliability is basically the problem of software complexity. Whe the complexity reaches some thresholds, the defects or faults of the software grow rapidly. The maitaiability of the software is also havig tight correlatio with complexity. Complexity cotrol ad maagemet have importat roles i risk maagemet, cost cotrol, reliability predictio, ad quality improvemet. The complexity ca be classified i two parts: problem complexity (or itrisic complexity) ad solutio complexity (also referred to as additioal complexity). Solutio complexity is added durig the developmet stages followig the requiremets phase, mostly durig the desigig ad codig phase. May researchers suppose that software complexity is made up of the followig complexity: Problem complexity, which measures the complexity of the critical problem. This type of complexity ca be traced back to the requiremet phase, whe the problem is defied. Algorithmic complexity, which reflects the complexity of the algorithm implemeted to resolve the problem. Structural complexity reflects the complexity of the algorithm implemeted to solve the problem. Cogitive complexity measures the effort required to uderstad the software. Algorithmic complexity measured implemeted algorithm to solve the problem ad is based o mathematical methods. This complexity is computable as soo as a algorithm of a solutio is created, usually durig the desig phase. Structural complexity is composed of data flow, cotrol flow ad data structure. Some metrics are proposed to measure this type of complexity, for example McCabe cyclomatic complexity(that directly measures the umber of liear idepedet paths withi a module ad cosidered as a correct ad reliable metric), Hery ad Kafura metric(measures the iformatio flow to/from the module are measured, high value of iformatio flow represet the lack of cohesio i the desig that will cause higher complexity) ad Halstead metric (which is based o the priciple of cout of operators ad operad ad their respective occurreces i the code amog the primary metrics, ad is the strogest idicator i determiig the code complexity). There are some metrics based o cogitive methods [8] such as KLCID complexity metric (It defies idetifiers as the programmer defied variables ad based o idetifier desity. To calculate it, the umber of uique program lies is cosidered). To prevet slayig helpful resources ad complexity, it is better to focus o early stages of the software life cycle. Therefore, the result of idetifyig complexity factors is low costs ad high quality i software developmet ad particularly i maiteace stages of software. By kowig these factors, we try to prevet occurrig them or establish ew measure i requiremet phase. [7] Requiremets form the foudatio of the software developmet process. Loose foudatio brigs dow the whole structure ad weak requiremets documetatio leads to project failure. Recet surveys suggest that 40% to 85% of all defects are iserted i the requiremets phase. Thus, if errors are ot idetified i the requiremets phase, it is leadig to make mistakes, wrog product developmet ad loss valuable resource. Well-defied requiremets will icrease the probability of the overall success of the software project ad later stages of software developmet rely heavily o the quality of requiremets, there is a good reaso to pay close attetio to it. This paper aims to assessmet ad poit out the blemish of existig measures ad propose a ew measure i early phase of SDLC

2 2. CODE BASED COMPLEXITY MEASURES Code based complexity measures, as its ame is idicatig are based o the code of the program. Code based measures are typically depeds upo the program sizes, program flow graphs, or module iterfaces such as Halstead s software sciece metrics [2] ad the most widely kow measure of cyclomatic complexity developed by McCabe [3]. However, Halstead s software metrics purely calculates the umber of operators ad operads, but it does ot cosider the iteral structures of modules, while McCabe s cyclomatic complexity does ot cosider I/O s of a system as it is based o the flow chart of the program. It uses flow chart of the program ad o the basis of odes ad edges it provides complexity of the program. 2.1 Halstead Complexity Measure Halstead complexity [4] metrics is established for measurig program complexity with accet o computatioal complexity. Halstead metric, directly measure the complexity from the source code ad based o four umeric values as followed: 1: Number of o-recurrig operators 2: Number of o- recurrig operads N1: Number of all operators N2: Number of all operads Further Legth ad Vocabulary serve as the basis for fidig out Volume, Latet Volume, Difficulty, effort ad fially Time by usig equatios (1-7): Legth N = N1+ N2 (1) Vocabulary = 1+ 2 (2) Volume V = log 2 (3) Latet Volume V * (2+2) = (2 + 2) log 2 (4) Difficulty D =V * /V (5) Effort E = V/D (6) Time T= E/18 (7) The mai problem with this method or we ca say blockage with this is that it does ot distiguish the differeces amog the same operators ad amog the same operads i a program. Moreover, it igores the ested structure ad fails to aalyze the case statemet whe code is ot accessible. Other drawback with the Halstead metric is that they are difficult to compute, especially i large programs. 2.2 Mac Cabe s Cyclometric Complexity McCabe s cyclomatic complexity also kow as coditioal complexity based o cotrol flow. It deotes the umber of liearly idepedet paths through a program s source code [10] [3]. This measure provides a sigle ordial umber that ca be used to measure the complexity of differet programs The metric is calculated by usig equatio (8): CC = e + p (8) Here, e is the edges of graph, is the odes of graph, p is the o-coected parts of the graph. Aother formula for calculatig complexity is the followig: CC = Number of Decisios +1 It ca be computed early i life cycle tha of Halstead's metrics but there are some difficulties with the McCabe metric [6]. Although o oe would argue that the umber of cotrol paths relates to code complexity, some argue that this umber is oly part of the complexity picture. Accordig to McCabe, a 5,000-lie program with six IF/THEN statemets is less complex tha a 500-lie program with seve IF/THEN statemets ad this shows the complexity of ucotrolled statemet are igored. 3. COGNITIVE COMPLEXITY MEASURES I cogitive iformatics, the fuctioal complexity of software i desig ad comprehesio is depedet o fudametal factors such as iputs, outputs, Loops/braches structure, ad umber of operators ad operads [5]. 3.1 KLCID Complexity Metrics Klemola ad Rillig proposed KLCID which defies idetifiers as programmer's defied labels. It defies the use of the idetifiers as programmer defied variables ad idetifiers (ID) whe software is built up [5] [13]. ID = Total o. of idetifiers/ LOC I order to calculate KLCID, we eed to fid the umber of uique lies of code i a module, lies that have same type ad kid of operads with same arragemets of operators would be cosider equal. I defie KLCID as KLCID= No. of Idetifier i the set of uique lies/ No. of uique lies cotaiig idetifier This is a time cosumig method whe comparig a lie of code with each lie of the program. KLCID accepts that iteral cotrol structures for differet software s are idetical. 3.2 Cogiitive Fuctioal Size (CFS) Wag proposed a Cogitive Fuctioal Size (CFS) state that the complexity of software is depedet o iputs, outputs, ad its iteral processig [9]. As Where, CFS = (N i + N o ) * Wc N i = No of iputs. N o = No of outputs. Wc =The total cogitive weight of software The cogitive weight of software [11] is the degree of itricacy or relative time ad attempt for comprehedig give software modeled by a umber of Basic cotrol structures (BCS). 3.3 Cogitive Iformatio Complexity Measure Cogitive Iformatics plays a importat role i uderstadig the fudametal characteristics of software. CICM [12] is defies as the product of weighted iformatio cout of software (WICS) ad the cogitive weight (W c ) of the BCS s i the software i.e, CICM = WICS * W c Where, WICS is sum of weighted iformatio cout of lie of code (WICL). WICL for k th lie of code is give by [9]: WICL k =ICS k / [LOCS-k] 260

3 Where, ICS k iformatio cotaied i software for k th lie of code LOCS: total lies of code. Further ICS is give by: LOCS ICS= Σ (I k ) k=1 Where, I k is the iformatio cotaied i K th lie of code ad calculated I k = (Idetifiers + Operads) k Note that, similar to KLCID CICM is also difficult ad complex to calculate. It calculates the weighted iformatio cout of each lie. I their formulatio they claim that CICM is based o cogitive iformatics the fuctioal complexity of software oly deped o iput, output ad iteral architecture ot o the operators. Further they claimed that iformatio is a fuctio of idetifiers ad operators. It is difficult to uderstad that how they claimed that iformatio is fuctio of operators [5]. Operators are ru time attributes ad caot be take as iformatio cotaied i the software. 4. PROPOSED COMPLEXITY MEASURE Code based complexity measures such as Halstead Complexity Measure ad Mc Cabe s Cyclomatic Complexity Measure are based o the source code of the procedural programs. O the other had Cogitive based complexity measures such as Kids of Lies of Code Idetifier Desity (KLCID), Cogitive Fuctioal Size (CFS) ad Cogitive Iformatio Complexity Measure (CICM) deped o the iteral architecture of the procedural programs [1]. Thus both the methods will wait for the source code of the program ad take more time to get implemeted. It will be more beeficial if we ca calculate the complexity of the procedural programs i the earlier phases of the software developmet life cycle at the time of prelimiary assessmet that is requiremet aalysis. New dimesio scheme cosists of some of the attributes that must be studied at the time of software requiremet specificatio o the basis of which procedural program is to be developed. So the merit of this approach is that it is able to estimate the software complexity i early phases of software developmet life cycle, eve before aalysis ad desig is carried out. Due to this fact this is a cost effective ad less time cosumig. It ca be implemeted by cosiderig the various attributes such as: 4.1 Key I Out (KIO) KIO ca be defie as KIO = No. of Iputs + No. of outputs + No. of files + No of iterfaces 4.2 Fuctioal Requiremet (FR) Fuctioal requiremets should defie the elemetary trial that must take place. This ca be defied as FR = No. of Fuctios * SPF i i=1 Here, SPF is Sub Process or Sub-fuctios available after decompositio. 4.3 No Fuctioal Requiremet (NFR) It refers to the system qualitative requiremets ad ot satisfyig those leads to customer's dissatisfactio. This ca be represeted as NFR = Cout j Table Differet Types of No Fuctioal Requiremet 4.4 Obligatory Complexity Measure (OC) This ca be calculated by the sum of all fuctioal ad its decompositio ito sub-fuctios ad o fuctioal requiremets OC = FR + NFR 4.5 Special Complexity Attributes (SCA) This is referred to as the Cost Driver Attributes of uique Category from COCOMO Itermediate model proposed by Berry Boehm. Mathematically defied as i=1 5 SCA = MF i = 1 Here, MF is a Multiplyig Factor. 4.6 Desig Costraits Obligatory (DCO) It refers to the umber of costraits that are to be cosidered durig developmet of software. Represeted as DCO = C i i=0 Where C i is Number of Costraits ad value of C i will vary from 0 to. C i = 0 If Blid Developmet. C i = No-Zero If Costraits exists

4 4.7 Iterface Complexity (IFC) This parameter is used to defie umber of exteral iterfaces to the proposed program. IFC = I f Here I f is Number of Exteral Iterfaces ad value of I f will vary from 0 to. I f = 0 No Exteral Iterface. I f = No-Zero If Exteral Iterface exists 4.8 Users / Locatio Complexity (ULC) This parameter discuss the umber of users for accessig the program ad locatios (Sigle or Multiple) use. This ca be symbolized as i=0 ULC = No. of User * No. of Locatio 4.9 Program Feature Complexity (PFC) If advacemet of the program is to be doe the some features are added ad this parameter shows the program feature complexity by multiplyig all the features that have bee added ito it. Thus mathematical represetatio is as follows PFC = (Feature 1 * Feature 2 *. * Feature ) Now by cosiderig all these parameter ad defiig a ew measure that is SRS orieted complexity measure. It ca be mathematically show as SRSO = ((KIO + OC) * SCA + (DCI + IFC + PFC))* ULC The SRS Based Complexity will be higher for the programs, which have higher fuctioality to be performed ad more quality attributes which is to be retaied. All above measure have bee illustrated with the help of a example below Example 1: Develop a procedural program to eter 5 umbers at a time & display them i reverse order of the iput. Cosider this aim to upo goig through the SRS; we are able to extract the followig parameters Number of Iputs 05(Numbers) Number of Outputs 05(Reverse sequece of umbers) Number of Iterfaces 01(User Iterface) Number of Files 01(Storage of values) KIO = =12 Number of fuctio = 0 FR = 0 Number of No Fuctioal Requiremet (NFR) = 06 Obligatory Complexity (OC) = FR + NFR OC = 06 Special Complexity Attribute (SCA) = 0.90 (Suppose Programmer Capability = High) Desig Costraits Imposed (DCI) = 00 (No directives) DCI= 0 Iterface Complexity (IFC) = 0 Sice this program is ot to be further coected with ay exteral iterface Number of User / Locatio (ULC) = 1 * 1= 01 Program Feature Complexity (PFC) = 0 Now, OCM = ((KIO + OC) * SCA + (DCI + IFC + PFC))* ULC SRS Orieted Complexity Measure = The complexity measured by SRS Orieted Complexity Measure for the give SRS is 16.20, ow program code is illustrated i Program 1. Based o the above code we compute the complexity of the other proposed measures as show i Table 4.2 ad 4.3. Program 1: Program to Eter 5 Number at a time & Display them i Reverse Order of the iput. #iclude<stdio.h> #iclude<coio.h> void mai() { it i, x[5]; clrscr(); for (i=0;i<5;i++) { pritf("eter the umber\"); scaf("%d",&x[i]); } pritf("\the reverse order is\"); for (i=4;i>=0;i--) { pritf("\%d",x[i]); } getch(); } KLCID CFS CICM ID 6 N i 5 LOC 18 LOC 18 N o 5 Idetifier 6 ID 0.34 BCS (Seq.) 1 BCS (For 3 SBCS Loop) 7 No. of exceptioal Lies havig Idetifier No. of Idetifier i the set of exceptioal Lies 6 BCS (For Loop) Table 4.2 Calculatio for code ad cogitive complexity measure 3 12 W c 7 WICS 2.49 KLCID 0.50 CFS 70 CICM

5 Table 4.3 Calculatio for code ad cogitive complexity measure Mc Cabe Nodes 9 Edges 10 Predicate Node 5. COMPARISION BETWEEN VARIOUS COMPLEXITY MEASURES SRSO is applied o a program developed i C laguage ad used to eter 5 umbers at a time & display them i reverse order of the iput.i order to aalyze the validity of the result; the SRSO is calculated o the basis of SRS ad further compared with other established measures which are based o Code ad Cogitive complexity. I order to show compariso result a chart is cosidered Regios 2 Halstead N 1 36 N 2 07 Vocabulary 22 Program Legth 42 Effort Time V(G) 3 Halstead Difficulty Halstead KLCID CICM Figure 5.1 Compariso amog various complexity measures This graph cosist both code ad cogitive based complexity measures alog with the SRS orieted complexity measure for a procedural program for display reverse of 5 umbers. I other methods that are code ad cogitive complexity measure the source code of the program is eeded but i SRS orieted complexity measure time i waitig for codig is saved as it gauge the complexity at the time of very first phase of software developmet life cycle that is requiremet aalysis phase i which software requiremet specificatio is built up ad this also improves the quality of the program as Desig Costraits Obligatory (DCO), Iterface Complexity (IFC), Users / Locatio Complexity (ULC), Program Feature Complexity (PFC) are differet parameters that are also calculated for the program ad this other iformatio is gathered i SRS phase so quality of program is icreased as most of the parameters are very well kow ad calculated earlier. While other complexity measures will wait for the source code of the program ad eve the there is o way to calculate desig costraits, iterface eeded, locatio of accessig the program or umber of users who ca access program ad ay program features calculatig parameter. CONCLUSION I this paper, the drawbacks of existig software complexity measures were aalyzed such as Halstead measure the mai problem with this is that it does ot distiguish the differeces amog the same operators ad amog the same operads i a program. Other drawback with the Halstead metric is that they are difficult to compute, especially i large programs; a difficulty with the McCabe metric is it igored the complexity of ucotrolled statemet. Likewise whe we aalyze the cogitive complexity measures such as KLCID complexity metrics we foud that it is very time cosumig; similar to KLCID Cogitive Iformatio complexity measure (CICM) is also difficult ad complex to calculate because it calculates the weighted iformatio cout of each lie. Further CICM claimed that iformatio is a fuctio of idetifiers ad operators. It is difficult to uderstad that how they claimed that iformatio is fuctio of operators. Operators are ru time attributes ad caot be take as iformatio cotaied i the software. Thus we preseted a ew qualitative method to measure the complexity of procedural programs which is applicable before codig phase i.e, SRS Orieted Complexity Measure. It is useful for procedural programs as it is implemeted at requiremet phase of software developmet life cycle. So, it is ot depeded o the codig phase to be completed ad developig cost ad resources will be saved too. At the time of codig, programmer will be havig complexity so it will help him/her to keep limit o the complexity of the code is to be geerated. This measure is computatioally simple ad will aid the developer ad practitioer i evaluatig the software complexity i early phases which otherwise is very tedious to carry out as a itegral part of the software plaig. Sice etire approach is based o SRS documet so it is for sure that a SRS must have all the characteristics, cotet ad fuctioality to make this estimatio precise ad perfect. This measure is simple to uderstad, easy to calculate ad less time cosumig i.e. it satisfy most feature of a good measure. REFERENCES [1] Weyuker E., Evaluatig software complexity measures. IEEE Trasactios o Software Egieerig, 1988, 14 (9): [2] Halstead, M.H., Elemets of Software Sciece, Elsevier North, New York, [3] Mc Cabe, T.H., A Complexity measure, IEEE Trasactios o Software Egieerig, SE-2,6, pp , [4] Halstead M.H, "Elemet of Software Sciece", Amsterdam: Elsevier, [5] T.Klemola ad J.Rillig, "A Cogitive complexity metric based o Category learig" Proceedigs of EEEE (ICCI'03), pp , [6] Elaie J. Weyuker, Evaluatig Software Complexity Measures, IEEE Trasactios o software egieerig, Vol. 14, No. 9, September [7]IEEE Computer Society: IEEE Recommeded Practice for Software Requiremet Specificatios, New York,

6 [8] Wag. Y ad Shao,J., O Cogitive iformatics, 1 st IEEE Iteratioal Coferece o Cogitive Iformatics, Pages 34-42, August [9] Wag, Y. ad Shao, J., Measuremet of the Cogitive Fuctioal Complexity of Software, 3 rd IEEE Iteratioal Coferece o Cogitive Iformatics (ICCI 04). [10]Y.Wag. ad J. Shao. "Measuremet of the Cogitive Fuctioal Complexity of Software," Cogitive weights", Proceedigs of IEEE (ICCI'03) , [11] Wag.Y ad Shao J. (2003). A ew measure of software complexity based o cogiitive weights, Ca.J.Elect. Comput. Eg., 28, 2, [12]D.S.Kushwaha ad A.XK Misra,"Robustess Aalysis of Cogitive Iformatio Complexity\Measure usig Weyuker Properties," ACM SIGSOFT SEN 31, 1, [13]Aurag Bhatagar,Nikhar Tak ad Shweta Shukla, A literature survey o various software complexity measures, IJASCSE Volume 1 Issue

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

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

Keywords Software Architecture, Object-oriented metrics, Reliability, Reusability, Coupling evaluator, Cohesion, efficiency

Keywords 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 information

CSC 220: Computer Organization Unit 11 Basic Computer Organization and Design

CSC 220: Computer Organization Unit 11 Basic Computer Organization and Design College of Computer ad Iformatio Scieces Departmet of Computer Sciece CSC 220: Computer Orgaizatio Uit 11 Basic Computer Orgaizatio ad Desig 1 For the rest of the semester, we ll focus o computer architecture:

More information

Chapter 3 Classification of FFT Processor Algorithms

Chapter 3 Classification of FFT Processor Algorithms Chapter Classificatio of FFT Processor Algorithms The computatioal complexity of the Discrete Fourier trasform (DFT) is very high. It requires () 2 complex multiplicatios ad () complex additios [5]. As

More information

GE FUNDAMENTALS OF COMPUTING AND PROGRAMMING UNIT III

GE 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 information

Algorithm. Counting Sort Analysis of Algorithms

Algorithm. 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 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

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

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

What are we going to learn? CSC Data Structures Analysis of Algorithms. Overview. Algorithm, and Inputs

What are we going to learn? CSC Data Structures Analysis of Algorithms. Overview. Algorithm, and Inputs What are we goig to lear? CSC316-003 Data Structures Aalysis of Algorithms Computer Sciece North Carolia State Uiversity Need to say that some algorithms are better tha others Criteria for evaluatio Structure

More information

Chapter 1. Introduction to Computers and C++ Programming. Copyright 2015 Pearson Education, Ltd.. All rights reserved.

Chapter 1. Introduction to Computers and C++ Programming. Copyright 2015 Pearson Education, Ltd.. All rights reserved. Chapter 1 Itroductio to Computers ad C++ Programmig Copyright 2015 Pearso Educatio, Ltd.. All rights reserved. Overview 1.1 Computer Systems 1.2 Programmig ad Problem Solvig 1.3 Itroductio to C++ 1.4 Testig

More information

Python Programming: An Introduction to Computer Science

Python Programming: An Introduction to Computer Science Pytho Programmig: A Itroductio to Computer Sciece Chapter 1 Computers ad Programs 1 Objectives To uderstad the respective roles of hardware ad software i a computig system. To lear what computer scietists

More information

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

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

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

A Note on Least-norm Solution of Global WireWarping

A Note on Least-norm Solution of Global WireWarping A Note o Least-orm Solutio of Global WireWarpig Charlie C. L. Wag Departmet of Mechaical ad Automatio Egieerig The Chiese Uiversity of Hog Kog Shati, N.T., Hog Kog E-mail: cwag@mae.cuhk.edu.hk Abstract

More information

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

An Effort Estimation by UML Points in the Early Stage of Software Development

An Effort Estimation by UML Points in the Early Stage of Software Development A Effort Estimatio by UML Poits i the Early Stage of Software Developmet SagEu Kim Departmet of Computer Sciece Texas A&M Uiversity College Statio, TX USA William Lively Departmet of Computer Sciece Texas

More information

Copyright 2016 Ramez Elmasri and Shamkant B. Navathe

Copyright 2016 Ramez Elmasri and Shamkant B. Navathe Copyright 2016 Ramez Elmasri ad Shamkat B. Navathe CHAPTER 19 Query Optimizatio Copyright 2016 Ramez Elmasri ad Shamkat B. Navathe Itroductio Query optimizatio Coducted by a query optimizer i a DBMS Goal:

More information

A 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

Appendix D. Controller Implementation

Appendix D. Controller Implementation COMPUTER ORGANIZATION AND DESIGN The Hardware/Software Iterface 5 th Editio Appedix D Cotroller Implemetatio Cotroller Implemetatios Combiatioal logic (sigle-cycle); Fiite state machie (multi-cycle, pipelied);

More information

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

Basic allocator mechanisms The course that gives CMU its Zip! Memory Management II: Dynamic Storage Allocation Mar 6, 2000.

Basic 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 information

. Written in factored form it is easy to see that the roots are 2, 2, i,

. Written in factored form it is easy to see that the roots are 2, 2, i, CMPS A Itroductio to Programmig Programmig Assigmet 4 I this assigmet you will write a java program that determies the real roots of a polyomial that lie withi a specified rage. Recall that the roots (or

More information

Τεχνολογία Λογισμικού

Τεχνολογία Λογισμικού ΕΘΝΙΚΟ ΜΕΤΣΟΒΙΟ ΠΟΛΥΤΕΧΝΕΙΟ Σχολή Ηλεκτρολόγων Μηχανικών και Μηχανικών Υπολογιστών Τεχνολογία Λογισμικού, 7ο/9ο εξάμηνο 2018-2019 Τεχνολογία Λογισμικού Ν.Παπασπύρου, Αν.Καθ. ΣΗΜΜΥ, ickie@softlab.tua,gr

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

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

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

More information

Improvement of the Orthogonal Code Convolution Capabilities Using FPGA Implementation

Improvement of the Orthogonal Code Convolution Capabilities Using FPGA Implementation Improvemet of the Orthogoal Code Covolutio Capabilities Usig FPGA Implemetatio Naima Kaabouch, Member, IEEE, Apara Dhirde, Member, IEEE, Saleh Faruque, Member, IEEE Departmet of Electrical Egieerig, Uiversity

More information

Python Programming: An Introduction to Computer Science

Python 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 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

Data diverse software fault tolerance techniques

Data 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 information

BOOLEAN MATHEMATICS: GENERAL THEORY

BOOLEAN MATHEMATICS: GENERAL THEORY CHAPTER 3 BOOLEAN MATHEMATICS: GENERAL THEORY 3.1 ISOMORPHIC PROPERTIES The ame Boolea Arithmetic was chose because it was discovered that literal Boolea Algebra could have a isomorphic umerical aspect.

More information

Baan Tools User Management

Baan Tools User Management Baa Tools User Maagemet Module Procedure UP008A US Documetiformatio Documet Documet code : UP008A US Documet group : User Documetatio Documet title : User Maagemet Applicatio/Package : Baa Tools Editio

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

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

Lecture 28: Data Link Layer

Lecture 28: Data Link Layer Automatic Repeat Request (ARQ) 2. Go ack N ARQ Although the Stop ad Wait ARQ is very simple, you ca easily show that it has very the low efficiecy. The low efficiecy comes from the fact that the trasmittig

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

Bezier curves. Figure 2 shows cubic Bezier curves for various control points. In a Bezier curve, only

Bezier 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 information

Chapter 5. Functions for All Subtasks. Copyright 2015 Pearson Education, Ltd.. All rights reserved.

Chapter 5. Functions for All Subtasks. Copyright 2015 Pearson Education, Ltd.. All rights reserved. Chapter 5 Fuctios for All Subtasks Copyright 2015 Pearso Educatio, Ltd.. All rights reserved. Overview 5.1 void Fuctios 5.2 Call-By-Referece Parameters 5.3 Usig Procedural Abstractio 5.4 Testig ad Debuggig

More information

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

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

Chapter 8. Strings and Vectors. Copyright 2015 Pearson Education, Ltd.. All rights reserved.

Chapter 8. Strings and Vectors. Copyright 2015 Pearson Education, Ltd.. All rights reserved. Chapter 8 Strigs ad Vectors Copyright 2015 Pearso Educatio, Ltd.. All rights reserved. Overview 8.1 A Array Type for Strigs 8.2 The Stadard strig Class 8.3 Vectors Copyright 2015 Pearso Educatio, Ltd..

More information

1 Enterprise Modeler

1 Enterprise Modeler 1 Eterprise Modeler Itroductio I BaaERP, a Busiess Cotrol Model ad a Eterprise Structure Model for multi-site cofiguratios are itroduced. Eterprise Structure Model Busiess Cotrol Models Busiess Fuctio

More information

Running Time. Analysis of Algorithms. Experimental Studies. Limitations of Experiments

Running Time. Analysis of Algorithms. Experimental Studies. Limitations of Experiments Ruig Time Aalysis of Algorithms Iput Algorithm Output A algorithm is a step-by-step procedure for solvig a problem i a fiite amout of time. Most algorithms trasform iput objects ito output objects. The

More information

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

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 Advaced Materials Research Olie: 2013-01-25 IN: 1662-8985, Vol. 659, pp 196-201 doi:10.4028/www.scietific.et/amr.659.196 2013 Tras Tech Publicatios, witzerlad Aalysis of Class Desig Couplig Based o Iformatio

More information

EE 459/500 HDL Based Digital Design with Programmable Logic. Lecture 13 Control and Sequencing: Hardwired and Microprogrammed Control

EE 459/500 HDL Based Digital Design with Programmable Logic. Lecture 13 Control and Sequencing: Hardwired and Microprogrammed Control EE 459/500 HDL Based Digital Desig with Programmable Logic Lecture 13 Cotrol ad Sequecig: Hardwired ad Microprogrammed Cotrol Refereces: Chapter s 4,5 from textbook Chapter 7 of M.M. Mao ad C.R. Kime,

More information

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

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

CIS 121. Introduction to Trees

CIS 121. Introduction to Trees CIS 121 Itroductio to Trees 1 Tree ADT Tree defiitio q A tree is a set of odes which may be empty q If ot empty, the there is a distiguished ode r, called root ad zero or more o-empty subtrees T 1, T 2,

More information

n Some thoughts on software development n The idea of a calculator n Using a grammar n Expression evaluation n Program organization n Analysis

n Some thoughts on software development n The idea of a calculator n Using a grammar n Expression evaluation n Program organization n Analysis Overview Chapter 6 Writig a Program Bjare Stroustrup Some thoughts o software developmet The idea of a calculator Usig a grammar Expressio evaluatio Program orgaizatio www.stroustrup.com/programmig 3 Buildig

More information

COMPUTER ORGANIZATION AND DESIGN The Hardware/Software Interface. Chapter 4. The Processor. Part A Datapath Design

COMPUTER 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 information

Major CSL Write your name and entry no on every sheet of the answer script. Time 2 Hrs Max Marks 70

Major CSL Write your name and entry no on every sheet of the answer script. Time 2 Hrs Max Marks 70 NOTE:. Attempt all seve questios. Major CSL 02 2. Write your ame ad etry o o every sheet of the aswer script. Time 2 Hrs Max Marks 70 Q No Q Q 2 Q 3 Q 4 Q 5 Q 6 Q 7 Total MM 6 2 4 0 8 4 6 70 Q. Write a

More information

Chapter 4 The Datapath

Chapter 4 The Datapath The Ageda Chapter 4 The Datapath Based o slides McGraw-Hill Additioal material 24/25/26 Lewis/Marti Additioal material 28 Roth Additioal material 2 Taylor Additioal material 2 Farmer Tae the elemets that

More information

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-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 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 18 Strategies for Query Processig Copyright 2016 Ramez Elmasri ad Shamkat B. Navathe Itroductio DBMS techiques to process a query Scaer idetifies

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

Harris Corner Detection Algorithm at Sub-pixel Level and Its Application Yuanfeng Han a, Peijiang Chen b * and Tian Meng c

Harris 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 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

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

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

More information

Our Learning Problem, Again

Our Learning Problem, Again Noparametric Desity Estimatio Matthew Stoe CS 520, Sprig 2000 Lecture 6 Our Learig Problem, Agai Use traiig data to estimate ukow probabilities ad probability desity fuctios So far, we have depeded o describig

More information

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

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

More information

Running Time ( 3.1) Analysis of Algorithms. Experimental Studies. Limitations of Experiments

Running Time ( 3.1) Analysis of Algorithms. Experimental Studies. Limitations of Experiments Ruig Time ( 3.1) Aalysis of Algorithms Iput Algorithm Output A algorithm is a step- by- step procedure for solvig a problem i a fiite amout of time. Most algorithms trasform iput objects ito output objects.

More information

Analysis of Algorithms

Analysis of Algorithms Aalysis of Algorithms Iput Algorithm Output A algorithm is a step-by-step procedure for solvig a problem i a fiite amout of time. Ruig Time Most algorithms trasform iput objects ito output objects. The

More information

CMSC Computer Architecture Lecture 12: Virtual Memory. Prof. Yanjing Li University of Chicago

CMSC 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 information

End Semester Examination CSE, III Yr. (I Sem), 30002: Computer Organization

End Semester Examination CSE, III Yr. (I Sem), 30002: Computer Organization Ed Semester Examiatio 2013-14 CSE, III Yr. (I Sem), 30002: Computer Orgaizatio Istructios: GROUP -A 1. Write the questio paper group (A, B, C, D), o frot page top of aswer book, as per what is metioed

More information

CS : Programming for Non-Majors, Summer 2007 Programming Project #3: Two Little Calculations Due by 12:00pm (noon) Wednesday June

CS : 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 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

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

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

Homework 1 Solutions MA 522 Fall 2017

Homework 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 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

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

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

K-NET bus. When several turrets are connected to the K-Bus, the structure of the system is as showns

K-NET bus. When several turrets are connected to the K-Bus, the structure of the system is as showns K-NET bus The K-Net bus is based o the SPI bus but it allows to addressig may differet turrets like the I 2 C bus. The K-Net is 6 a wires bus (4 for SPI wires ad 2 additioal wires for request ad ackowledge

More information

1.2 Binomial Coefficients and Subsets

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

More information

Computers and Scientific Thinking

Computers and Scientific Thinking Computers ad Scietific Thikig David Reed, Creighto Uiversity Chapter 15 JavaScript Strigs 1 Strigs as Objects so far, your iteractive Web pages have maipulated strigs i simple ways use text box to iput

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

South Slave Divisional Education Council. Math 10C

South Slave Divisional Education Council. Math 10C South Slave Divisioal Educatio Coucil Math 10C Curriculum Package February 2012 12 Strad: Measuremet Geeral Outcome: Develop spatial sese ad proportioal reasoig It is expected that studets will: 1. Solve

More information

Data Structures and Algorithms. Analysis of Algorithms

Data Structures and Algorithms. Analysis of Algorithms Data Structures ad Algorithms Aalysis of Algorithms Outlie Ruig time Pseudo-code Big-oh otatio Big-theta otatio Big-omega otatio Asymptotic algorithm aalysis Aalysis of Algorithms Iput Algorithm Output

More information

Cubic Polynomial Curves with a Shape Parameter

Cubic Polynomial Curves with a Shape Parameter roceedigs of the th WSEAS Iteratioal Coferece o Robotics Cotrol ad Maufacturig Techology Hagzhou Chia April -8 00 (pp5-70) Cubic olyomial Curves with a Shape arameter MO GUOLIANG ZHAO YANAN Iformatio ad

More information

Recursion. Computer Science S-111 Harvard University David G. Sullivan, Ph.D. Review: Method Frames

Recursion. Computer Science S-111 Harvard University David G. Sullivan, Ph.D. Review: Method Frames Uit 4, Part 3 Recursio Computer Sciece S-111 Harvard Uiversity David G. Sulliva, Ph.D. Review: Method Frames Whe you make a method call, the Java rutime sets aside a block of memory kow as the frame of

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

Goals of the Lecture UML Implementation Diagrams

Goals 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 information

1 Graph Sparsfication

1 Graph Sparsfication CME 305: Discrete Mathematics ad Algorithms 1 Graph Sparsficatio I this sectio we discuss the approximatio of a graph G(V, E) by a sparse graph H(V, F ) o the same vertex set. I particular, we cosider

More information

Outline and Reading. Analysis of Algorithms. Running Time. Experimental Studies. Limitations of Experiments. Theoretical Analysis

Outline and Reading. Analysis of Algorithms. Running Time. Experimental Studies. Limitations of Experiments. Theoretical Analysis Outlie ad Readig Aalysis of Algorithms Iput Algorithm Output Ruig time ( 3.) Pseudo-code ( 3.2) Coutig primitive operatios ( 3.3-3.) Asymptotic otatio ( 3.6) Asymptotic aalysis ( 3.7) Case study Aalysis

More information

Mapping Publishing and Mapping Adaptation in the Middleware of Railway Information Grid System

Mapping 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 information

University of Waterloo Department of Electrical and Computer Engineering ECE 250 Algorithms and Data Structures

University of Waterloo Department of Electrical and Computer Engineering ECE 250 Algorithms and Data Structures Uiversity of Waterloo Departmet of Electrical ad Computer Egieerig ECE 250 Algorithms ad Data Structures Midterm Examiatio ( pages) Istructor: Douglas Harder February 7, 2004 7:30-9:00 Name (last, first)

More information

Our second algorithm. Comp 135 Machine Learning Computer Science Tufts University. Decision Trees. Decision Trees. Decision Trees.

Our 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 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

Security of Bluetooth: An overview of Bluetooth Security

Security 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 information

Baan Finance Financial Statements

Baan 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 information

Fast Fourier Transform (FFT) Algorithms

Fast Fourier Transform (FFT) Algorithms Fast Fourier Trasform FFT Algorithms Relatio to the z-trasform elsewhere, ozero, z x z X x [ ] 2 ~ elsewhere,, ~ e j x X x x π j e z z X X π 2 ~ The DFS X represets evely spaced samples of the z- trasform

More information

Appendix A. Use of Operators in ARPS

Appendix A. Use of Operators in ARPS A Appedix A. Use of Operators i ARPS The methodology for solvig the equatios of hydrodyamics i either differetial or itegral form usig grid-poit techiques (fiite differece, fiite volume, fiite elemet)

More information

CSC165H1 Worksheet: Tutorial 8 Algorithm analysis (SOLUTIONS)

CSC165H1 Worksheet: Tutorial 8 Algorithm analysis (SOLUTIONS) CSC165H1, Witer 018 Learig Objectives By the ed of this worksheet, you will: Aalyse the ruig time of fuctios cotaiig ested loops. 1. Nested loop variatios. Each of the followig fuctios takes as iput a

More information

Module 8-7: Pascal s Triangle and the Binomial Theorem

Module 8-7: Pascal s Triangle and the Binomial Theorem Module 8-7: Pascal s Triagle ad the Biomial Theorem Gregory V. Bard April 5, 017 A Note about Notatio Just to recall, all of the followig mea the same thig: ( 7 7C 4 C4 7 7C4 5 4 ad they are (all proouced

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

the beginning of the program in order for it to work correctly. Similarly, a Confirm

the beginning of the program in order for it to work correctly. Similarly, a Confirm I our sytax, a Assume statemet will be used to record what must be true at the begiig of the program i order for it to work correctly. Similarly, a Cofirm statemet is used to record what should be true

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

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