Menu
Home Explore People Places Arts History Plants & Animals Science Life & Culture Technology
On this page
Baker's technique

In theoretical computer science, Baker's technique is a method for designing polynomial-time approximation schemes (PTASs) for problems on planar graphs. It is named after Brenda Baker, who announced it in a 1983 conference and published it in the Journal of the ACM in 1994.

The idea for Baker's technique is to break the graph into layers, such that the problem can be solved optimally on each layer, then combine the solutions from each layer in a reasonable way that will result in a feasible solution. This technique has given PTASs for the following problems: subgraph isomorphism, maximum independent set, minimum vertex cover, minimum dominating set, minimum edge dominating set, maximum triangle matching, and many others.

The bidimensionality theory of Erik Demaine, Fedor Fomin, Hajiaghayi, and Dimitrios Thilikos and its offshoot simplifying decompositions (Demaine, Hajiaghayi & Kawarabayashi (2005),Demaine, Hajiaghayi & Kawarabayashi (2011)) generalizes and greatly expands the applicability of Baker's technique for a vast set of problems on planar graphs and more generally graphs excluding a fixed minor, such as bounded genus graphs, as well as to other classes of graphs not closed under taking minors such as the 1-planar graphs.

We don't have any images related to Baker's technique yet.
We don't have any YouTube videos related to Baker's technique yet.
We don't have any PDF documents related to Baker's technique yet.
We don't have any Books related to Baker's technique yet.
We don't have any archived web articles related to Baker's technique yet.

Example of technique

The example that we will use to demonstrate Baker's technique is the maximum weight independent set problem.

Algorithm

INDEPENDENT-SET( G {\displaystyle G} , w {\displaystyle w} , ϵ {\displaystyle \epsilon } ) Choose an arbitrary vertex r {\displaystyle r} k = 1 / ϵ {\displaystyle k=1/\epsilon } find the breadth-first search levels for G {\displaystyle G} rooted at r {\displaystyle r} ( mod k ) {\displaystyle {\pmod {k}}} : { V 0 , V 1 , … , V k − 1 } {\displaystyle \{V_{0},V_{1},\ldots ,V_{k-1}\}} for ℓ = 0 , … , k − 1 {\displaystyle \ell =0,\ldots ,k-1} find the components G 1 ℓ , G 2 ℓ , … , {\displaystyle G_{1}^{\ell },G_{2}^{\ell },\ldots ,} of G {\displaystyle G} after deleting V ℓ {\displaystyle V_{\ell }} for i = 1 , 2 , … {\displaystyle i=1,2,\ldots } compute S i ℓ {\displaystyle S_{i}^{\ell }} , the maximum-weight independent set of G i ℓ {\displaystyle G_{i}^{\ell }} S ℓ = ∪ i S i ℓ {\displaystyle S^{\ell }=\cup _{i}S_{i}^{\ell }} let S ℓ ∗ {\displaystyle S^{\ell ^{*}}} be the solution of maximum weight among { S 0 , S 1 , … , S k − 1 } {\displaystyle \{S^{0},S^{1},\ldots ,S^{k-1}\}} return S ℓ ∗ {\displaystyle S^{\ell ^{*}}}

Notice that the above algorithm is feasible because each S ℓ {\displaystyle S^{\ell }} is the union of disjoint independent sets.

Dynamic programming

Dynamic programming is used when we compute the maximum-weight independent set for each G i ℓ {\displaystyle G_{i}^{\ell }} . This dynamic program works because each G i ℓ {\displaystyle G_{i}^{\ell }} is a k {\displaystyle k} -outerplanar graph. Many NP-complete problems can be solved with dynamic programming on k {\displaystyle k} -outerplanar graphs. Baker's technique can be interpreted as covering the given planar graphs with subgraphs of this type, finding the solution to each subgraph using dynamic programming, and gluing the solutions together.