Title: Complexity
1Complexity
2Topics for Today
- Ive learned decidability to a level I never
thought possible. - Why do I care?
- Thats the topic of paper 2
- 1-2 pages
- Clear up Thm 3.18
- Intro to Complexity
- sup, inf, space bound, off-line, thm 5.1, 5.2
3Why NP-Completeness is useful
Youve been assigned to write an efficient
algorithm for X. After a while, you cant find
an efficient algorithm. Your advisor is getting
restless. Your options are
4Option 2
taken from Garey and Johnson
May lead to undesirable educational outcomes
5Option 3
taken from Garey and Johnson
makes a good paper, if you are right. But the
proof is hard.
6Option 4
taken from Garey and Johnson
easier proof and also a good paper (maybe).
7What NP Completeness is useful to a PhD Student
- The result helps you avoid wasting time coming up
with an - efficient and
- correct and
- general purpose algorithm.
8What to do with an NP Complete problem
- Give up.
- Relax the problem.
- Go probabilistic.
- Find efficient solutions to subproblems.
- Buy more hardware.
9Theorems 5.1 and 5.2
- 5.1 If a K-tape TM accepts L in space S(n)
then a 1-tape TM accepts L in space cS(n).