Skip to main content Accessibility help
×
Hostname: page-component-848d4c4894-r5zm4 Total loading time: 0 Render date: 2024-06-20T23:24:00.463Z Has data issue: false hasContentIssue false

Appendix B - Turing machines

Published online by Cambridge University Press:  13 August 2009

Chitta Baral
Affiliation:
Arizona State University
Get access

Summary

Turing machines

This appendix is based on [Pap94] and it is recommended that the reader refer to that for detailed exposition on Turing machines, and computational complexity.

Intuitively, a deterministic Turing machine (DTM) is an automata bundled with a semi-infinite tape with a cursor to read from and write to. So, like an automata, there is a state and state transitions are based on the current state and what the cursor points to on the tape. But in addition to the state transition, there is an accompanying transition that dictates if the symbol in the tape location pointed to by the cursor should be overwritten and if the cursor should move to the left or right – by one cell – of its current position. Special symbols mark the beginning of the tape (>), the end of the input on the tape (⊔), and the output of the computation (‘halt’, ‘yes’, ‘no’). We now give a formal definition of DTMs.

Definition 151 A DTM is a quadruple M = (S, Σ, δ, s0) where S is a finite set of nonfinal states that includes s0 the initial state, Σ is a finite alphabet of symbols including the special symbols > and ⊔, and δ is a transition function that maps S × Σ to S ∪ {halt, yes, no} × Σ × {←, →, –}

Intuitively, δ is the control (or the program) of the machine that dictates how the machine behaves.

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

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.

  • Turing machines
  • Chitta Baral, Arizona State University
  • Book: Knowledge Representation, Reasoning and Declarative Problem Solving
  • Online publication: 13 August 2009
  • Chapter DOI: https://doi.org/10.1017/CBO9780511543357.012
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.

  • Turing machines
  • Chitta Baral, Arizona State University
  • Book: Knowledge Representation, Reasoning and Declarative Problem Solving
  • Online publication: 13 August 2009
  • Chapter DOI: https://doi.org/10.1017/CBO9780511543357.012
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.

  • Turing machines
  • Chitta Baral, Arizona State University
  • Book: Knowledge Representation, Reasoning and Declarative Problem Solving
  • Online publication: 13 August 2009
  • Chapter DOI: https://doi.org/10.1017/CBO9780511543357.012
Available formats
×