NSPACE: Difference between revisions
en>BattyBot changed {{Unreferenced}} to {{Refimprove}} & general fixes using AWB (8062) |
en>Addbot m Bot: Migrating 5 interwiki links, now provided by Wikidata on d:q1756295 (Report Errors) |
||
Line 1: | Line 1: | ||
In [[computational complexity theory]], the [[complexity class]] '''NTIME(''f''(''n''))''' is the set of [[decision problem]]s that can be solved by a [[non-deterministic Turing machine]] which runs in time ''O''(''f''(''n'')). Here ''O'' is the [[big O notation]], ''f'' is some function, and ''n'' is the size of the input (for which the problem is to be decided). | |||
This means that there is a non-deterministic machine which, for a given input of size ''n'', will run in time ''O''(''f''(''n'')) (i.e. within a constant multiple of ''f''(''n''), for ''n'' greater than some value), and will always "reject" the input if the answer to the decision problem is "no" for that input, while if the answer is "yes" the machine will "accept" that input for at least one computation path. Equivalently, there is a [[deterministic Turing machine]] ''M'' that runs in time ''O''(''f''(''n'')) and is able to check a polynomial-length certificate for an input; if the input is a "yes" instance, then at least one certificate is accepted, if the input is a "no" instance, no certificate can make the machine accept. | |||
The space available to the machine is not limited, although it cannot exceed ''O''(''f''(''n'')), because the time available limits how much of the tape is reachable. | |||
The well-known complexity class [[NP (complexity)|NP]] can be defined in terms of NTIME as follows: | |||
:<math>\mbox{NP} = \bigcup_{k\in\mathbb{N}} \mbox{NTIME}(n^k)</math> | |||
Similarly, the class [[NEXP]] is defined in terms of NTIME: | |||
:<math>\mbox{NEXP} = \bigcup_{k\in\mathbb{N}} \mbox{NTIME}(2^{n^k})</math> | |||
The non-deterministic [[time hierarchy theorem]] says that nondeterministic machines can solve more problems in asymptotically more time. | |||
NTIME is also related to [[DSPACE]] in the following way. For any [[time constructible]] function ''t''(''n''), we have | |||
:<math>\mbox{NTIME}(t(n)) \subseteq \mbox{DSPACE}(t(n))</math>. | |||
A generalization of '''NTIME''' is '''ATIME''', defined with [[alternation (complexity)|alternating Turing machines]]. It turns out that | |||
:<math>\mbox{NTIME}(t(n)) \subseteq \mbox{ATIME}(t(n)) \subseteq \mbox{DSPACE}(t(n))</math>. | |||
==References== | |||
{{ComplexityZoo|NTIME(''f''(''n''))|N#ntime}}. | |||
{{ComplexityClasses}} | |||
{{DEFAULTSORT:Ntime}} | |||
{{comp-sci-theory-stub}} | |||
[[Category:Computational resources]] | |||
[[Category:Complexity classes]] |
Latest revision as of 05:40, 28 February 2013
In computational complexity theory, the complexity class NTIME(f(n)) is the set of decision problems that can be solved by a non-deterministic Turing machine which runs in time O(f(n)). Here O is the big O notation, f is some function, and n is the size of the input (for which the problem is to be decided).
This means that there is a non-deterministic machine which, for a given input of size n, will run in time O(f(n)) (i.e. within a constant multiple of f(n), for n greater than some value), and will always "reject" the input if the answer to the decision problem is "no" for that input, while if the answer is "yes" the machine will "accept" that input for at least one computation path. Equivalently, there is a deterministic Turing machine M that runs in time O(f(n)) and is able to check a polynomial-length certificate for an input; if the input is a "yes" instance, then at least one certificate is accepted, if the input is a "no" instance, no certificate can make the machine accept.
The space available to the machine is not limited, although it cannot exceed O(f(n)), because the time available limits how much of the tape is reachable.
The well-known complexity class NP can be defined in terms of NTIME as follows:
Similarly, the class NEXP is defined in terms of NTIME:
The non-deterministic time hierarchy theorem says that nondeterministic machines can solve more problems in asymptotically more time.
NTIME is also related to DSPACE in the following way. For any time constructible function t(n), we have
A generalization of NTIME is ATIME, defined with alternating Turing machines. It turns out that
References
Hi generally. Let me start by introducing the author, his name is Benjamin Cassity and he totally digs that address. To climb is a thing that we're totally dependent on. California is where her house is but now she is considering additional. After being beyond his part of years he became a postal service worker. See what's new on my website here: http://devolro.com/diablo-gallery
Look at my web blog :: cars