Week 10 Flashcards
How are NP-hard problems dealt with?
Approximation and randomized algorithms
Exact exponential time algorithms (via branching + dynamic programming)
Fixed parameter tractable algorithms
What is the recurrence featured in Vertex Cover, and how is it solved?
T(n) <= T(n - 1) + T(n - 3), where n = input size.
Solved by setting T(n) = x^n.
What does n! roughly equal?
(n / e)^n
PROBLEM: Set Cover
Given sets
U = {u1 , u2 , . . . , uN } of N elements and
S = {S1 , S2 , . . . , SM } of non-empty subsets of U such that |S| = M
Find a collection S’ from S of minimum size such that union of sets in S’ covers all elements of U.
What is an FPT algorithm?
A parameterized problem with parameter k and input size n is said to be fixed-parameter tractable (FPT) if it can be solved in f (k) · n^O(1) time, for some function f , where k <= n.
What is the k-VC problem?
Given an undirected graph G = (V, E) on n vertices and a parameter k, is there a set X ⊆ V of size <= k such that each edge of G has at least one end-point in X.