back to cs512-syllabus
CS512 - Teaching Material - Spring 2006
Lectures
- 3/27/06: Three computational problems: Vertex Cover, 3-SAT
and Subset-Sum. Decision Problems. Classes P and NP. Polynomial time
many-one reductions. Statement of Cook's
theorem. NP-completeness.
- 3/29/06: Review: deterministic and nondeterministic Turing
machines (DTM and NTM). Instantaneous descriptions. Moves and
Sequences of computation. Language accepted by a DTM. Deciders. Time
complexity of a DTM and of an NTM. Exponential time simulation of an NTM
with a DTM. Characterization of NP using NTMs.
- 4/3/06: Proof of Cook's Theorem. Proving the
NP-completeness of problems in NP by reduction from an NP-complete
problem. 3-SAT is NP-complete.
- 4/5/06: Proofs of NP-completeness: VC, CLIQUE, IS,
3-COLORABILITY, SubsetSum, Knapsack.
- 4/10/06: Linear Programming vs Integer Linear
Programming. Analysis of algorithms: the Master method and the Akra-Bazzi method.
- 4/12/06: Proof of the Akra-Bazzi method. Efficient
computation of the median.
- 4/17/06: Analysis of Select.
- 4/24/06: RandomizedSelect. Basic introduction to
probability spaces and random variables. Expectations. Indicator
random variables.
- 4/26/06: Review on probability theory and random
variables. Analysis of the expected running time of RandomizedSelect.
- 5/1/06: Randomized Quicksort. Analysis of the expected
running time. The Quicksort equation. Ordinary Generating Functions
(OGF). Solving recurrences using OGFs. The OGF of the Fibonacci
Numbers.
- 5/3/06: Properties of
OGFs. The OGF of the Harmonic numbers. Solution to the Quicksort
equation using OGFs.
- 5/8/06: Markov inequality. Chebyshev inequality. The Sample
Mean RV. Weak Law of Large Numbers. Chernoff bound.
- 5/10/06: Analysis of Randomized QuickSort. Application of the
Chernoff bound to show that the number of comparisons is O(nlogn) with
high probability.
- 5/15/06: Approximation algorithms. The approximation
ratio. A polytime 2-approximation algorithm for MinVC and for the
Euclidean TSP. The GAP technique. Nonapproximability within a constant
approximation ratio of the general TSP.
- 5/17/06: Approximation classes. Statement of the PCP theorem.
PCP and the GAP technique. Nonapproximability of MAX-CLIQUE.
- 5/22/06: Randomized Approximation Algorithms. The Max-3SAT Problem.
Approximation through LP relaxation: the Min-Weight-VC Problem.
- 5/24/06: A 2-approximation algorithm for the Min-Weight-VC
Problem.
- 5/30/06: Presentations.
- 5/31/06: Presentations.
- 6/1/06: Presentations.
Announcements
Downloads
References
- Herbert Wilf. Generatingfunctionology.
Academic Press, 1994. A book on Generating Functions available on line
(please read copyright note).
- R. Sedgewick and Philippe Flajolet. Analysis of
Algorithms. Addison-Wesley, 1996. (OGF, QuickSort equation, Catalan Numbers)
- Rajeev Motwani, Prabhakar Raghavan. Randomized
Algorithms. Cambridge International Series on Parallel Computation
(Hardcover). (Chernoff Bound, Randomized Algorithms)
- Approximability
Theory (PCP).
Assignments
- Class Project. Due Wed, May 24, by 4:20.
- MT. Due Sunday, May 14, by 11pm.
CSNS - Computer Science Network Services
Assignments and exams should be uploaded by the due date through the
CSNS - Computer Science
Network Services website. If you have never used this system
before then follow the instructions for students.