ArticleslgStudy

computer science

Baker's technique

Baker's technique is a computer science topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand Baker's technique rather than just read about it. In short: 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.

Key takeaways

  • Baker's technique belongs to computer science; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect Baker's technique to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of Baker's technique from memory before moving on to harder problems.

Reference excerpt

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.

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, w, ϵ) Choose an arbitrary vertex r k=1/ϵ find the breadth-first search levels for G rooted at r (modk): {V0,V1,…,Vk−1}

for ℓ=0,…,k−1 find the components G1ℓ,G2ℓ,…, of G after deleting Vℓ

for i=1,2,… compute Siℓ, the maximum-weight independent set of Giℓ

Sℓ=∪iSiℓ let Sℓ∗ be the solution of maximum weight among {S0,S1,…,Sk−1}

return Sℓ∗

Notice that the above algorithm is feasible because each Sℓ is the union of disjoint independent sets.

Dynamic programming Dynamic programming is used when we compute the maximum-weight independent set for each Giℓ. This dynamic program works because each Giℓ is a k-outerplanar graph. Many NP-complete problems can be solved with dynamic programming on 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.

References

Worked examples

Example 1 — a first encounter with Baker's technique

Start with the simplest possible case. Write down what Baker's technique claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In computer science, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to Baker's technique before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about Baker's technique ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of Baker's technique

In research
Baker's technique appears in computer science research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses Baker's technique in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
Baker's technique is common in secondary-school and first-year university syllabi. It links to neighbouring topics 1983 in computing, Approximation algorithms, Planar graphs, so understanding it makes those chapters shorter.
In everyday life
Look for Baker's technique outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.
Ask Teacher Smith questions about this articleOpens your AI tutor with a question about “Baker's technique” →

How to study Baker's technique in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what Baker's technique means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain Baker's technique out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is Baker's technique in simple terms?

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.

Why does Baker's technique matter?

Because it connects several computer science ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study Baker's technique?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on Baker's technique.

Tags

  • 1983 in computing
  • Approximation algorithms
  • Planar graphs

Keep exploring