Reconnect 04 ProblemSpecific Preprocessing and a hint at FPT - PowerPoint PPT Presentation

About This Presentation
Title:

Reconnect 04 ProblemSpecific Preprocessing and a hint at FPT

Description:

k a single parameter that can be 'big', but is usually small for ... Choose v. The total VC has size at most ks 1 = k. v. w. u. Slide 13. Rule 3 Justification ... – PowerPoint PPT presentation

Number of Views:51
Avg rating:3.0/5.0
Slides: 20
Provided by: willia112
Category:

less

Transcript and Presenter's Notes

Title: Reconnect 04 ProblemSpecific Preprocessing and a hint at FPT


1
Reconnect 04Problem-Specific Preprocessing (and
a hint at FPT)
  • Cynthia Phillips
  • Sandia National Laboratories

2
Preprocessing
  • Sets of little tricks that make the problem
    smaller while still allowing you to extract the
    optimal solution
  • e.g. There exists an optimal solution for which
    this choice holds, or this choice cannot hold.
  • If you know problem structure this can be quite
    powerful

3
A Formalization
  • Suppose your problem input size is naturally
    described by two values
  • n describes most of the problem
  • k a single parameter that can be big, but is
    usually small for practical instances
  • Examples
  • Graphs with bounded degree or bounded diameter
  • Nesting level in databases
  • Strings with small alphabet size
  • Cases where the value of the solution is small
    (cleaning up data)

4
Fixed-Parameter Tractability
  • A problem with size (n,k) is fixed-parameter
    tractable (FPT) if it can be solved in time
  • Where f(k) is an arbitrary function of the
    parameter k
  • A problem is FPT if and only if it is
    kernelizable there is a polynomial-time
    transformation from the problem of size (n,k) to
    another instance of the problem (ns,ks) such that
  • From here an enumerative method has a better
    chance

5
Example Vertex Cover is FPT
4
2
3
6
  • Find a minimum-size set of vertices such that
    each edge has at least one endpoint in the set.
  • k size of the vertex cover

6
Kernelizing
  • Kernelization usually is a set of (local)
    independent transformation rules
  • Rules cascade
  • Apply till the problem is irreducible

7
Kernelizing Vertex Cover
  • Well see 4 rules (not counting trivial degree-0
    one). There are more (even LP-based), but these
    are really simple!
  • Make this a decision problem Does graph G(V,E)
    have a vertex cover of size k?
  • Each rule transforms to a new question Does
    graph Gs(Vs,Es) have a vertex cover of size ks?
    where

8
Rule 1
  • If vertex v has degree 1, then put its neighbor u
    in the optimal VC and delete all edges (u,w)

y
x
u
v
9
Rule 2
  • If vertex v has degree 2, and its two neighbors u
    and w are connected, then put its neighbors u and
    w in the optimal VC

w
u
v
10
Rule 3
  • If vertex v has degree 2, and its two neighbors u
    and w are not connected, then shrink the (u,v,w)
    triangle to a single node v1.
  • Use ks k - 1

v1
11
Rule 3 Justification
  • If vertex v has degree 2, and its two neighbors u
    and w are not connected, then shrink the (u,v,w)
    triangle to a single node
  • If either u or w is necessary for the VC, then
    effectively v becomes degree one and the other is
    selected by rule 1

12
Rule 3 Justification
  • If vertex v has degree 2, and its two neighbors u
    and w are not connected, then shrink the (u,v,w)
    triangle to a single node v1
  • Use ks k - 1
  • Find the optimal VC of the graph with v1
  • If v1 is not selected, just cover the triple
    independently. Choose v. The total VC has size
    at most ks 1 k

13
Rule 3 Justification
  • If vertex v has degree 2, and its two neighbors u
    and w are not connected, then shrink the (u,v,w)
    triangle to a single node v1
  • Use ks k - 1
  • Find the optimal VC of the graph with v1
  • If v1 is selected, must take either u or w, so
    have to take both. Size of the VC is at most ks
    - 1 2 k

14
Rule 4
  • Take all the nodes of degree gt k
  • If we didnt take them, wed have to take all (gt
    k) neighbors (too many for a VC of size k)

15
Kernelization Results
  • If no more rules apply, the graph has

16
Proof
  • Graph with ns nodes and a VC of size ks
  • Satisfies all rules so degree of v (number of
    neighbors) for all v satisfies
  • The nodes not in the VC are an independent set of
    size ns-ks

17
Proof
  • F is the set of edges adjacent to nodes in the VC
  • The n-k nodes in the independent set have degree
    at least 3
  • The k nodes in the VC have degree at most k

18
Proof
19
Comments
  • These rules are local and independent (any order)
  • Could parallelize this
Write a Comment
User Comments (0)
About PowerShow.com