
Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!

ECS 122A: Algorithm Design and Analysis Handout ?? UC Davis — Charles Martel May 28, 2008
15 Problem 1 The book’s vertex cover solution uses fact 10.1 to help stop the search for a vertex cover when the graph has too many edges to be covered by the remaining vertices in our “budget”. However, this is a rather weak statement about how many edges can be covered by k vertices since it only uses the maximum degree. Instead use the actual degrees of the graph, d 1 , d 2 ,... dn to prove a smaller (and thus better) bound on the number of edges that can be covered by k vertices.
25 Problem 2. Problem 3 in chapter 10 of the text (page 596). Hint: consider solving problems of the form: let j be a vertex other than v 1 , and S a subset of vertices {v 2 , v 3 ,... vn− 1 } − j, then T (S, j) is true if there is a path from v 1 to j visiting every vertex in S once and no other vertices (otherwise false). It is easy to compute this when S is small (e.g. empty or of size 1). Show how to solve it for successively lager size sets, and then use this to solve the original problem.
25 Problem 3. Problem 5 a) in chapter 10 (page 597).
15 Problem 4. Problem 1, chapter 13, page 782.