English Deutsch Français 简体中文 繁體中文
Book123, Download eBooks for Free - Anytime! Submit your article

Categories

Share With Friends



Like Book123?! Give us +1

Archive by Date

Search Tag

Newest

Learning Core Audio: A Hands-On Guide to Audio Programming for Mac and iOS
Introduction to Programming with Fortran: with coverage of Fortran 90, 95, 2003 and 77
Introduction to Programming with Fortran - with coverage of Fortran 90, 95, 2003 and 77
MATLAB - Modelling, Programming and Simulations
-MATLAB: Modelling, Programming and Simulations- ed. by Emilson Pereira Leite (Repost)
Introduction to Programming with Fortran: with coverage of Fortran 90, 95, 2003 and 77 [Repost]
An Introduction to Programming and Numerical Methods in MATLAB [Repost]
"MATLAB: Modelling, Programming and Simulations" ed. by Emilson Pereira Leite (Repost)
Programming Social Applications: Building Viral Experiences with OpenSocial, OAuth, OpenID, and Distributed Web... (repost)
MATLAB Programming for Engineers (2nd edition) [Repost]
Sriranga Veeraraghavan, "Sams Teach Yourself Shell Programming in 24 Hours" (Repost)
Programming Computer Vision with Python - Tools and algorithms for analyzing images
Matlab: A Practical Introduction to Programming and Problem Solving (2nd edition) [Repost]
ECOOP 2011 - Object-Oriented Programming
Mobile JavaScript Application Development - Bringing Web Programming to Mobile Devices [Paperback]
Concurrent Programming on Windows (repost)
Expert WSS 3.0 and MOSS 2007 Programming (repost)
Embedded Software Design and Programming of Multiprocessor System-on-Chip (repost)
OpenCV 2 Computer Vision Application Programming Cookbook
Programming Computer Vision with Python: Tools and algorithms for analyzing images

Useful Links


Programming Fundamentals of the Average Case Analysis of Particular Algorithms (Wiley-Teubner Series in Computer Science): Rainer Kemp

Posted on 2010-03-16




Name:Programming Fundamentals of the Average Case Analysis of Particular Algorithms (Wiley-Teubner Series in Computer Science): Rainer Kemp
ASIN/ISBN:0471903221
Language:English
File size:1.92 Mb
ISBN: 0471903221
Publish Date: 1985-01
Pages: 233 pages
File Size: 1.92 Mb
Other Info: John Wiley and Sons Inc; djvu (ocr)
   Programming Fundamentals of the Average Case Analysis of Particular Algorithms (Wiley-Teubner Series in Computer Science): Rainer Kemp



More

Fundamentals of the Average Case Analysis of Particular Algorithms (Wiley-Teubner Series in Computer Science): Rainer Kemp

'Analysis of algorithms' is quite important in computer programming, because there are generally several algorithms available for a particular application and we would like to measure and compare the time and storage requirements. Time may be measured by counting steps, statements, or the number of times some given operation is performed; space may be measured by bits, words, or the number of registers and cells required during execution of the algorithm. The analysis usually consists of determining the behaviour of an algorithm in the best case, in the worst case and in the average case. The best (worst) case is characterized by the minimum (maximum) total amount of time or space requirements taken over all inputs of some fixed size. To characterize the average case, it is necessary to define what we mean by the average; in general, we must make some assumptions about the expected characteristics of the inputs of some fixed size. If an input x of size n has the probability px and requires the total amount of time or space kx, then the average case is characterized by the behaviour of the expected value (Appendix A) of the random variable which has th^ value kx with probability px. In most problems we will make the reasonable assumption that each of the inputs of size n is equally likely, but the analysis can also be carried out under other assumptions. To obtain a quantitative indication of how close to the average we may expect the amount of time or storage requirements to be, we will compute further characteristics of the given distribution such as the variance, the standard deviation, the moments about the origin, or the (cumulative) distribution function (Appendix A).

Now an important problem is to compare the time and space requirements of algorithms available for a particular application. Sometimes we want to decide which is best. But this is easier said than done. In many cases we may only compare the time requirements or the storage requirements of two algorithms, because the one algorithm requires less time but more space than the other. Similarly, comparing two algorithms in the best, worst, or average case, the same situation can occur. For example, the sorting algorithm 'Heapsort' is faster than the algorithm 'Quicksort' in the worst case, but not in the average case. Summing up, a comparison of two algorithms should be made only for the time or storage requirements in the best or worst or average case. (Nevertheless, there are other criteria of goodness of algorithms such as the product of time and space requirements or the adaptability to computers.) The classical complexity theory deals with the time and storage requirements of algorithms in the worst case. In practice, there are some objections to the measuring of the goodness of an algorithm by these quantities, although their computation can be an extremely difficult task. If an algorithm requires time or space of order O(f(n)) in the worst case, then the constant in the 0-term can be fantastically large and the result is only of theoretical interest. Furthermore, if the inputs corresponding to the worst case have a probability which tends to zero for large input sizes, then it is hard to see why the goodness of the algorithm is measured by its worst case. Therefore, the importance of the worst case can be reduced by the knowledge of its probability. But the computation of this probability can be rather difficult, unless impossible. In practice, an algorithm requiring time n on the average in 99 per cent of all possible inputs of size n should be preferred to an algorithm for the same problem which needs time n2 in the worst and average case, even though the former algorithm needs time n3 in the worst case.

Study of the behaviour of an algorithm on the average is accompanied by many mathematical calculations; we need to use the results of complex variable theory, number theory, probability theory, discrete mathenutics and combina- combinatorics. The principal techniques involved in the analysis of igorithms consist of counting of certain objects, solving of recurrences, working with finite summations, handling of generating functions and asymptotic evaluating of expressions. The last part of this introductory section is devoted to some simple examples elucidating the above ideas and concepts.

Buy Book at Lowest Price on Amazon

To see my other books, click Download Link (Here).

Rating:

2.5 out of 5 by

 
Download Links
  ServerStatus
  Direct Download Link 1Alive
  Direct Download Link 2Alive
  Download Link ([email protected])Alive
  Download Link ([email protected])Alive


Buy This Book at Best Price >>

Like this article?! Give us +1:

Related Articles


Science/Engineering Fundamentals of Wavelets: Theory, Algorithms, and Applications (Wiley Series in Microwave and Optical Engineering)

Science/Engineering Fundamentals of Wavelets: Theory, Algorithms, and Applications (Wiley Series in Microwave and Optical Engineering)

ISBN: 0471197483Title: Fundamentals of Wavelets: Theory, Algorithms, and Applications(Wiley Series in Microwave and Optical Engineering)Author: Jaideva C. GoswamiPublisher: Wiley-IntersciencePublication Date: 1999-02-16Number Of Pages: 324A ...

Science/Engineering The Design and Analysis of Algorithms (Monographs in Computer Science)

Science/Engineering The Design and Analysis of Algorithms (Monographs in Computer Science)

The Design and Analysis of Algorithms (Monographs in Computer Science) Publisher: SpringerNumber Of Pages: 320Publication Date: 1991-12-03Sales Rank: 491746ISBN / ASIN: 0387976876EAN: 9780387976877Binding: HardcoverManufactur ...

Science/Engineering Knapsack Problems: Algorithms and Computer Implementations (Wiley Interscience Series in Discrete Mathematics and Optimization)

Science/Engineering Knapsack Problems: Algorithms and Computer Implementations (Wiley Interscience Series in Discrete Mathematics and Optimization)

Silvano Martello, Paolo Toth, "Knapsack Problems: Algorithms and Computer Implementations"Publisher: John Wiley & Sons Inc | Pages: 308 | ISBN: 0471924202 | DjVu | 1.7 MBIncludes not only the classical knapsack problems such as binary, boun ...

Programming Average-Case Analysis of Numerical Problems (Lecture Notes in Mathematics): Klaus Ritter

Programming Average-Case Analysis of Numerical Problems (Lecture Notes in Mathematics): Klaus Ritter

Average-Case Analysis of Numerical Problems (Lecture Notes in Mathematics): Klaus Ritter Springer | ISBN: 3540674497 | 2000-06-15 | PDF / djvu (ocr) | 254 pages | 10.29 / 3.72 Mb The average-case analysis of numerical problems is the count ...

Technical Average Case Analysis of Algorithms on Sequences

Technical Average Case Analysis of Algorithms on Sequences

A timely book on a topic that has witnessed a surge of interest over the last decade, owing in part to several novel applications, most notably in data compression and computational molecular biology. It describes methods employed in averag ...

The Complexity of Boolean Functions (Wiley Teubner on Applicable Theory in Computer Science)

The Complexity of Boolean Functions (Wiley Teubner on Applicable Theory in Computer Science)

The Complexity of Boolean Functions (Wiley Teubner on Applicable Theory in Computer Science)The Complexity of Boolean Functions (Wiley Teubner on Applicable Theory in Computer Science)Wiley | ISBN: 0471915556 | 470 pages | January 15, 1991 ...

Share this page with your friends now!
Text link
Forum (BBCode)
Website (HTML)
Tags:
Kemp   Rainer   Particular   Average   Analysis  
 

DISCLAIMER:

This site does not store Programming Fundamentals of the Average Case Analysis of Particular Algorithms (Wiley-Teubner Series in Computer Science): Rainer Kemp on its server. We only index and link to Programming Fundamentals of the Average Case Analysis of Particular Algorithms (Wiley-Teubner Series in Computer Science): Rainer Kemp provided by other sites. Please contact the content providers to delete Programming Fundamentals of the Average Case Analysis of Particular Algorithms (Wiley-Teubner Series in Computer Science): Rainer Kemp if any and email us, we'll remove relevant links or contents immediately.

Comments (0) All

Verify: Verify

    Sign In   Not yet a member?

Sign In | Not yet a member?