Jump to content
Main menu
Main menu
move to sidebar
hide
Navigation
Main page
Recent changes
Random page
Help about MediaWiki
Special pages
Niidae Wiki
Search
Search
Appearance
Create account
Log in
Personal tools
Create account
Log in
Pages for logged out editors
learn more
Contributions
Talk
Editing
Nondeterministic Turing machine
(section)
Page
Discussion
English
Read
Edit
View history
Tools
Tools
move to sidebar
hide
Actions
Read
Edit
View history
General
What links here
Related changes
Page information
Appearance
move to sidebar
hide
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
==Computational equivalence with DTMs== Any computational problem that can be solved by a DTM can also be solved by a NTM, and vice versa. However, it is believed that in general the [[time complexity]] may not be the same. ===DTM as a special case of NTM=== NTMs include DTMs as special cases, so every computation that can be carried out by a DTM can also be carried out by the equivalent NTM. ===DTM simulation of NTM=== It might seem that NTMs are more powerful than DTMs, since they can allow trees of possible computations arising from the same initial configuration, accepting a string if any one branch in the tree accepts it. However, it is possible to simulate NTMs with DTMs, and in fact this can be done in more than one way. ====Multiplicity of configuration states==== One approach is to use a DTM of which the configurations represent multiple configurations of the NTM, and the DTM's operation consists of visiting each of them in turn, executing a single step at each visit, and spawning new configurations whenever the transition relation defines multiple continuations. ====Multiplicity of tapes==== Another construction simulates NTMs with 3-tape DTMs, of which the first tape always holds the original input string, the second is used to simulate a particular computation of the NTM, and the third encodes a path in the NTM's computation tree.<ref>{{cite book |last1=Lewis |first1=Harry R. |author1-link=Harry R. Lewis |last2=Papadimitriou |first2=Christos |author2-link=Christos Papadimitriou |year=1981 |chapter=Section 4.6: Nondeterministic Turing machines |title=Elements of the Theory of Computation |publisher=Prentice-Hall |place=Englewood Cliffs, New Jersey |edition=1st |pages=204β211 |isbn=978-0132624787 |url-access=registration |url=https://archive.org/details/elementsoftheory0000lewi}}</ref> The 3-tape DTMs are easily simulated with a normal single-tape DTM. ====Time complexity and P versus NP==== {{Main|P versus NP problem}} In the second construction, the constructed DTM effectively performs a [[breadth-first search]] of the NTM's computation tree, visiting all possible computations of the NTM in order of increasing length until it finds an accepting one. Therefore, the length of an accepting computation of the DTM is, in general, exponential in the length of the shortest accepting computation of the NTM. This is believed to be a general property of simulations of NTMs by DTMs. The [[P = NP problem]], the most famous unresolved question in computer science, concerns one case of this issue: whether or not every problem solvable by a NTM in polynomial time is necessarily also solvable by a DTM in polynomial time.
Summary:
Please note that all contributions to Niidae Wiki may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
Encyclopedia:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Search
Search
Editing
Nondeterministic Turing machine
(section)
Add topic