Lecture 22. Time of DTM. Time of DTM Time M (x) = # of moves that DTM M takes on input x. Time M (x) < infinity iff x ε L(M).

Slides:



Advertisements
Similar presentations
Part VI NP-Hardness. Lecture 23 Whats NP? Hard Problems.
Advertisements

Lecture 3 Universal TM. Code of a DTM Consider a one-tape DTM M = (Q, Σ, Γ, δ, s). It can be encoded as follows: First, encode each state, each direction,
Lecture 16 Deterministic Turing Machine (DTM) Finite Control tape head.
Variants of Turing machines
1 Savitch and Immerman- Szelepcsènyi Theorems. 2 Space Compression  For every k-tape S(n) space bounded offline (with a separate read-only input tape)
Lecture 23 Space Complexity of DTM. Space Space M (x) = # of cell that M visits on the work (storage) tapes during the computation on input x. If M is.
Lecture 24 Time and Space of NTM. Time For a NDM M and an input x, Time M (x) = the minimum # of moves leading to accepting x if x ε L(M) = infinity if.
More Turing Machines Sipser 3.2 (pages ). CS 311 Fall Multitape Turing Machines Formally, we need only change the transition function to.
Reducibility Sipser 5.1 (pages ). CS 311 Fall Reducibility.
Reducibility Sipser 5.1 (pages ).
More Turing Machines Sipser 3.2 (pages ).
P, NP, PS, and NPS By Muhannad Harrim. Class P P is the complexity class containing decision problems which can be solved by a Deterministic Turing machine.
Computability and Complexity 7-1 Computability and Complexity Andrei Bulatov Recursion Theorem.
Programming the TM qa  (,q) (,q) q1q1 0q1q1 R q1q1 1q1q1 R q1q1  h  Qa  (,q) (,q) q1q1 0q2q2  q1q1 1q3q3  q1q1  h  q2q2 0q4q4 R q2q2 1q4q4.
Lecture 5 Turing Machines
CS Master – Introduction to the Theory of Computation Jan Maluszynski - HT Lecture 8+9 Time complexity 1 Jan Maluszynski, IDA, 2007
CS 310 – Fall 2006 Pacific University CS310 P vs NP the steel cage death match Section 7.2 November 29, 2006.
Umans Complexity Theory Lectures Lecture 2c: EXP Complete Problem: Padding and succinctness.
CS 310 – Fall 2006 Pacific University CS310 Complexity Section 7.1 November 27, 2006.
Lecture 18 Various TMs. Allow the head not move Theorem. If the head is allowed to stay at the cell in each move, then every function computed by the.
CS 461 – Nov. 21 Sections 7.1 – 7.2 Measuring complexity Dividing decidable languages into complexity classes. Algorithm complexity depends on what kind.
חישוביות וסיבוכיות Computability and Complexity Lecture 7 TexPoint fonts used in EMF. Read the TexPoint manual before you delete this box.: A AAAA.
Ding-Zhu Du Office: ECSS 3-611, M 3:15-4:30 Lecture: ECSS 2.311, MW 12:30-1:45.
The Halting Problem – Undecidable Languages Lecture 31 Section 4.2 Wed, Oct 31, 2007.
Discrete Mathematics Lecture 7. 2 Analysis of Algorithms Analyzing an algorithm Time complexity Space complexity Time complexity Running time needed by.
Lecture 21 Reducibility. Many-one reducibility For two sets A c Σ* and B c Γ*, A ≤ m B if there exists a Turing-computable function f: Σ* → Γ* such that.
Umans Complexity Theory Lectures Lecture 1c: Robust Time & Space Classes.
Chapter 15 P, NP, and Cook’s Theorem. 2 Computability Theory n Establishes whether decision problems are (only) theoretically decidable, i.e., decides.
Umans Complexity Theory Lectures Lecture 1b: Turing Machines & Halting Problem.
Lecture 2 Time and Space of DTM. Time of DTM Time M (x) = # of moves that DTM M takes on input x. Time M (x) < infinity iff x ε L(M).
Theory of Computational Complexity Yuji Ishikawa Avis lab. M1.
1 8.4 Extensions to the Basic TM Extended TM’s to be studied: Multitape Turing machine Nondeterministic Turing machine The above extensions make no increase.
1 Design and Analysis of Algorithms Yoram Moses Lecture 13 June 17, 2010
The Church-Turing Thesis
Theory of Computational Complexity TA : Junichi Teruyama Iwama lab. D3
CSCI 2670 Introduction to Theory of Computing November 15, 2005.
 2005 SDU Lecture14 Mapping Reducibility, Complexity.
Design and Analysis of Approximation Algorithms
Intractable Problems Time-Bounded Turing Machines Classes P and NP
Lecture 1-2 Time and Space of DTM
CSCI 2670 Introduction to Theory of Computing
Complexity & the O-Notation
Part VI NP-Hardness.
Reducibility The Chinese University of Hong Kong Fall 2010
Turing Machines Acceptors; Enumerators
Intro to Theory of Computation
CSE322 The Chomsky Hierarchy
Intractable Problems Time-Bounded Turing Machines Classes P and NP
Intractable Problems Time-Bounded Turing Machines Classes P and NP
Decidability of logical theories
Intro to Theory of Computation
Intractable Problems Time-Bounded Turing Machines Classes P and NP
Chapter 14 Time Complexity.
CLASSES P AND NP.
Variations of the Turing Machine
Proposed in Turing’s 1936 paper
CS154, Lecture 12: Time Complexity
Part II Theory of Nondeterministic Computation
CSC 4170 Theory of Computation Time complexity Section 7.1.
Time Complexity Classes
Section 8.1: Sequences.
Decidability of logical theories
Theory of Computability
Algorithm Analysis T(n) O() Growth Rates 5/21/2019 CS 303 – Big ‘Oh’
Variants of Turing machines
CS6382 Theory of Computation
CSC 4170 Theory of Computation Time complexity Section 7.1.
Intro to Theory of Computation
Lecture 1-2 Time and Space of DTM
Presentation transcript:

Lecture 22. Time of DTM

Time of DTM Time M (x) = # of moves that DTM M takes on input x. Time M (x) < infinity iff x ε L(M).

Time Bound M is said to have a time bound t(n) if for every x with |x| < n, Time M (x) < max {n+1, t(n)}

Theorem For any multitape DTM M, there exists a one-tape DTM M’ to simulate M within time Time M’ (x) < c + (Time M (x)) c is a constant. 2

Complexity Class A language L has a (deterministic) time- complexity t(n) if there is a multitape DTM M accepting L, with time bound t(n). DTIME(t(n)) = {L | L has a time bound t(n)}

Model Multitape TM with write-only output.

Linear Speed Up Suppose t(n)/n → infinity as n → infinity. Then for any constant c > 0, DTIME(t(n)) = DTIME(ct(n))