|
|
|
|
|
by puzzledobserver
518 days ago
|
|
I am a computer scientist working in programming languages (so with no particular expertise in combinatorics). In my experience, treewidth is one of those ideas at the outer limits of my ability to understand. I have spent several hours staring at the idea on several different occasions, and at the end of each of these sessions, I come away with a vague sense of why it is important and why the definition is natural, only for its complexity to completely overwhelm me the next time I encounter the concept. |
|
You have an undirected graph with a robber moving infinitely fast along the edges of the graph.
You have k cops, each driving their own very slow helicopter that can land on any vertex you want (but it takes some time). The cops can communicate and they know at any time where the robber is.
Given a graph, how many cops do you need to catch the robber, i.e., trap the robber on an edge?
In a tree: 2
On a cycle: 3
In an n × m grid graph: you need min(n, m) + 1.
---
In the game where the cops don't know where the robber is, the "width measure" is called pathwidth.