Apress

A Modular Calculus for the Average Cost of Data Structuring

By Michel Schellekens

A Modular Calculus for the Average Cost of Data Structuring Cover Image

  • ISBN13: 978-0-3877-3383-8
  • 270 Pages
  • User Level: Science
  • Publication Date: June 17, 2008
  • Available eBook Formats: PDF
  • eBook Price: $149.00
Buy eBook Buy Print Book Add to Wishlist
Full Description
A Modular Calculus for the Average Cost of Data Structuring introduces MOQA, a new domain-specific programming language which guarantees the average-case time analysis of its programs to be modular.Time in this context refers to a broad notion of cost, which can be used to estimate the actual running time, but also other quantitative information such as power consumption, while modularity means that the average time of a program can be easily computed from the times of its constituents--something that no programming language of this scope has been able to guarantee so far. MOQA principles can be incorporated in any standard programming language. MOQA supports tracking of data and their distributions throughout computations, based on the notion of random bag preservation. This allows a unified approach to average-case time analysis, and resolves fundamental bottleneck problems in the area. The main techniques are illustrated in an accompanying Flash tutorial, where the visual nature of this method can provide new teaching ideas for algorithms courses. This volume, with forewords by Greg Bollella and Dana Scott, presents novel programs based on the new advances in this area, including the first randomness-preserving version of Heapsort. Programs are provided, along with derivations of their average-case time, to illustrate the radically different approach to average-case timing. The automated static timing tool applies the Modular Calculus to extract the average-case running time of programs directly from their MOQA code. A Modular Calculus for the Average Cost of Data Structuring is designed for a professional audience composed of researchers and practitioners in industry, with an interest in algorithmic analysis and also static timing and power analysis--areas of growing importance. It is also suitable as an advanced-level text or reference book for students in computer science, electrical engineering and mathematics. Michel Schellekens obtained his PhD from Carnegie Mellon University, following which he worked as a Marie Curie Fellow at Imperial College London. Currently he is an Associate Professor at the Department of Computer Science in University College Cork - National University of Ireland, Cork, where he leads the Centre for Efficiency-Oriented Languages (CEOL) as a Science Foundation Ireland Principal Investigator.
Table of Contents

Table of Contents

  1. Forewords by Dana Scott and Greg Bollella.
  2. Preface.
  3. Bridging Semantics and Complexity.
  4. The MOQA Programming Language.
  5. Implications for Real
  6. Time Languages and Automated Average
  7. Case Analysis.
  8. Basic sorting Algorithms.
  9. Compositionality as a Key to Software Timing.
  10. Random Structures.
  11. Series
  12. Parallel MOQA Data Structures.
  13. Examples of MOQA Programs.
  14. Compositional Determination of Average Time.
  15. Examples of Average
  16. Case Analysis in MOQA.
  17. Index.
Errata

If you think that you've found an error in this book, please let us know about it. You will find any confirmed erratum below, so you can check if your concern has already been addressed.

* Required Fields

No errata are currently published