Skip to main content
  • 344 Accesses

In this chapter we provide the specifications for theMOQAlanguage. The intention is to sketch in sufficient detail the main concepts of the language as opposed to a strict and exhaustive formal development. The language specifications suffice to develop the examples considered in Chapters 8 and 9.

Note that MOQAis a domain specific language. It shares its restrictive nature with current languages aimed at automating average-case timing, including [Coh74, Weg 75, Ram96, FSZ89, FSZ91].MOQA’s distinctive feature is that it enables one to implement algorithms built from randomness preserving operations over abstract data types, which supports its modularity. MOQAcan be interpreted as a suite of purposely designed operations aimed at facilitating average time analysis.

Most languages for automated average-case analysis can not incorporate traditional data structures, such as lists, binary search trees and heaps, in a natural way and hence stay quite removed from traditional programming practice. TheMOQAlanguage, though still restricted in nature, aims at incorporating traditional data structures and provides a new basis to support the development of static average-case analysis tools, where its main distinctive feature is the incorporation of the notion of randomness preserving operations to support compositionality.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 84.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 109.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info
Hardcover Book
USD 109.99
Price excludes VAT (USA)
  • Durable hardcover edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

Rights and permissions

Reprints and permissions

Copyright information

© 2008 Springer Science+Business Media, LLC

About this chapter

Cite this chapter

(2008). The MOQA Language. In: A Modular Calculus for the Average Cost of Data Structuring. Springer, Boston, MA. https://doi.org/10.1007/978-0-387-73384-5_7

Download citation

  • DOI: https://doi.org/10.1007/978-0-387-73384-5_7

  • Publisher Name: Springer, Boston, MA

  • Print ISBN: 978-0-387-73383-8

  • Online ISBN: 978-0-387-73384-5

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics