Skip to main content Accessibility help
×
Hostname: page-component-77c89778f8-9q27g Total loading time: 0 Render date: 2024-07-19T20:19:33.443Z Has data issue: false hasContentIssue false

10 - Appendix

Published online by Cambridge University Press:  25 January 2011

Peter Brass
Affiliation:
City College, City University of New York
Get access

Summary

In the following I collected some comments on relevant concepts, useful techniques, and the subject choices and restrictions of this book.

The Pointer Machine and Alternative Computation Models

In this book we restricted ourselves as far as possible to structures that can be represented in the model of the pointer machine and excluded structures that require stronger models of computation.

In the pointer machine, the memory consists of nodes that are of size O(1), each node containing possibly some values and some pointers to other nodes. The only thing we can do with these pointers is to follow them and create a pointer to a given node, or create a node and a pointer to it. All operations on pointers, as well as the creation and deletion of nodes, take constant time.

Almost all our structures fall into this model, the main exception being the hash tables, which were included for their great practical importance. In hash tables we compute a pointer out of some input data; there is no “pointer arithmetic” in the pointer machine. The other exceptions are our frequent use of arrays for stacks and the array-based heaps, which both again require address computations and non-constant-sized memory objects. We include these structures for their efficiency, but could have avoided them: the linkedlist implementation of a stack is an obvious example of a pointer-machine structure, and we gave many heaps that fall into this model.

Type
Chapter
Information
Publisher: Cambridge University Press
Print publication year: 2008

Access options

Get access to the full version of this content by using one of the access options below. (Log in options will check for institutional or personal access. Content may require purchase if you do not have access.)

Save book to Kindle

To save this book to your Kindle, first ensure coreplatform@cambridge.org is added to your Approved Personal Document E-mail List under your Personal Document Settings on the Manage Your Content and Devices page of your Amazon account. Then enter the ‘name’ part of your Kindle email address below. Find out more about saving to your Kindle.

Note you can select to save to either the @free.kindle.com or @kindle.com variations. ‘@free.kindle.com’ emails are free but can only be saved to your device when it is connected to wi-fi. ‘@kindle.com’ emails can be delivered even when you are not connected to wi-fi, but note that service fees apply.

Find out more about the Kindle Personal Document Service.

  • Appendix
  • Peter Brass, City College, City University of New York
  • Book: Advanced Data Structures
  • Online publication: 25 January 2011
  • Chapter DOI: https://doi.org/10.1017/CBO9780511800191.011
Available formats
×

Save book to Dropbox

To save content items to your account, please confirm that you agree to abide by our usage policies. If this is the first time you use this feature, you will be asked to authorise Cambridge Core to connect with your account. Find out more about saving content to Dropbox.

  • Appendix
  • Peter Brass, City College, City University of New York
  • Book: Advanced Data Structures
  • Online publication: 25 January 2011
  • Chapter DOI: https://doi.org/10.1017/CBO9780511800191.011
Available formats
×

Save book to Google Drive

To save content items to your account, please confirm that you agree to abide by our usage policies. If this is the first time you use this feature, you will be asked to authorise Cambridge Core to connect with your account. Find out more about saving content to Google Drive.

  • Appendix
  • Peter Brass, City College, City University of New York
  • Book: Advanced Data Structures
  • Online publication: 25 January 2011
  • Chapter DOI: https://doi.org/10.1017/CBO9780511800191.011
Available formats
×