Time_Complexity - TimeComplexity Fall 2006 Costas Busch RPI...

Info icon This preview shows pages 1–11. Sign up to view the full content.

View Full Document Right Arrow Icon
Fall 2006 Costas Busch - RPI 1 Time Complexity
Image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
Fall 2006 Costas Busch - RPI 2 M L Consider a deterministic  Turing Machine which decides  a language 
Image of page 2
Fall 2006 Costas Busch - RPI 3 For any string       the computation of terminates in a finite amount of transitions w M      Accept or Reject w Initial state
Image of page 3

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
Fall 2006 Costas Busch - RPI 4      Accept or Reject w Decision  Time  = #transitions Initial state
Image of page 4
Fall 2006 Costas Busch - RPI 5 Consider now all strings of length n ) (n T M = maximum time required to decide    any string of length  n
Image of page 5

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
Fall 2006 Costas Busch - RPI 6 ) (n T M Max time to accept a string of length      n 1 2 3 4 n STRING LENGTH TIME
Image of page 6
Fall 2006 Costas Busch - RPI 7 Time Complexity Class: )) ( ( n T TIME All Languages decidable by a deterministic Turing  Machine in time                     1 L 2 L 3 L )) ( ( n T O
Image of page 7

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
Fall 2006 Costas Busch - RPI 8 Example: } 0 : { 1 = n b a L n This can be decided in           time ) (n O ) (n TIME } 0 : { 1 = n b a L n
Image of page 8
Fall 2006 Costas Busch - RPI 9 ) (n TIME } 0 : { 1 = n b a L n } 0 , : { k n aba ab n } even   is   : { n b n Other example problems in the same class } 3 : { k n b n =
Image of page 9

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
Fall 2006 Costas Busch - RPI 10 ) ( 2 n TIME } 0 : { n b a n n Examples in class: }} , { : { b a w ww R }} , { : { b a w ww
Image of page 10
Image of page 11
This is the end of the preview. Sign up to access the rest of the document.

{[ snackBarMessage ]}

What students are saying

  • Left Quote Icon

    As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

    Student Picture

    Kiran Temple University Fox School of Business ‘17, Course Hero Intern

  • Left Quote Icon

    I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

    Student Picture

    Dana University of Pennsylvania ‘17, Course Hero Intern

  • Left Quote Icon

    The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

    Student Picture

    Jill Tulane University ‘16, Course Hero Intern