lecture 22. time of dtm

7
Lecture 22. Time of DTM

Upload: evangeline-phelps

Post on 30-Dec-2015

20 views

Category:

Documents


2 download

DESCRIPTION

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. - PowerPoint PPT Presentation

TRANSCRIPT

Page 1: Lecture 22. Time of DTM

Lecture 22. Time of DTM

Page 2: Lecture 22. Time of DTM

Time of DTM

• TimeM (x) = # of moves that DTM M takes on input x.

• TimeM(x) < infinity iff x ε L(M).

Page 3: Lecture 22. Time of DTM

Time Bound

M is said to have a time bound t(n) if for every x with |x| < n,

TimeM(x) < max {n+1, t(n)}

Page 4: Lecture 22. Time of DTM

Theorem

• For any multitape DTM M, there exists a one-tape DTM M’ to simulate M within time

TimeM’(x) < c + (TimeM(x))

c is a constant.

2

Page 5: Lecture 22. Time of DTM

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)}

Page 6: Lecture 22. Time of DTM

Model

• Multitape TM with write-only output.

Page 7: Lecture 22. Time of DTM

Linear Speed Up

Suppose t(n)/n → infinity as n → infinity. Then for any constant c > 0,

DTIME(t(n)) = DTIME(ct(n))