The Art Gallery Guardian

Induced subgraph with constant diameter


Let be a rooted tree on vertices . to be the subtree of rooted at . Let contains all graphs on with the property that for every , the diameter of is at most .

Let to be the graph in with minimum number of edges(break ties arbitrarily), what can we say about the number of edges in ?

Theorem1

If has vertices, then have edges.

Proof

Let to be the number of vertices in .

We construct a graph recursively. For each , we construct a on the same vertex set such that it has the property there exist a vertex that connects to all other vertex in . Call such vertex a golden vertex of . would be a union of all , where is a child of with some extra edges. Let to be the child of such that has the maximum number of vertices (break ties arbitrarily), and is the golden vertex of , then we add edges from to all other vertices in . Let , where is the root of .

The distance between any two vertex is at most in for all , because any two vertex is connected by a golden vertex in the induced subgraph.

The number of edges is at most . Label with . The number of edges added at the step to build is , where contains the golden vertex, and it also have the most number of vertices among all where is a child of in . Sum of all labels over the tree except the heaviest child is using analysis akin to heavy-light decomposition.

This bound is in fact best possible by considering a complete binary tree and the following lemma:

Lemma2

If is a graph with diameter , then for any cut , we have .

Proof

wlog, let . If all vertex in has an neighbor in , then and we are done. Otherwise, there is an vertex has no neighbor in , then for any , there is an , and there is a path . This implies there are at least edges in .

Is this the best possible for general too? Not at all. To show this, we introduce an algorithmic problem.

Problem3

Preprocess a rooted tree where the elements in the tree has weights from a semigroup , such that we can answer the following query in semigroup operations.

Query Input: and where is an ancestor of .

Query Output: The sum of weights of the unique simple path between and .

Alon and Schieber showed this problem can be solved by precompute path sums [1]. Where is related to the inverse Ackermann function, and .

Theorem4

If has vertices, then have edges.

Proof

A simple reduction from our tree problem by input our rooted tree into Alon and Schieber’s algorithm. For each path sum they preprocess, we create an edge in our . The diameter of all is at most , since for any 2 vertices and , we find it’s lowest common ancestor in , then there is a path of length from to and another of length at most from to .

Their paper argued an lower bound of preprocess path sums for a single rooted path. In our model, we can add edges is sufficient. An edge from the leaf to every other vertex, making the diameter only . This is because we have a lot more freedom in our diameter problem.

In their problem, their path sum is actually divide the path into subpaths, our path of length would imply there is an overlap in the sum.

One might to think the reason we can do it in edges comes directly from in the undirected model we can traverse back from the leaf and allow overlaps. Maybe the following problem might give us an lower bound.

Problem5

Preprocess a rooted tree where the elements in the tree has weights from a semigroup , such that we can answer the following query in semigroup operations.

Query Input: and where is an ancestor of and is a leaf.

Query Output: The sum of weights of any walk lies strictly in between and that start at and ends at .

Unfortunately, this does not give us an lower bound. Following the proof in Alon’s and Schieber’s paper, we can show any algorithm would need to precompute at least paths in order to output the solution using semigroup operations on this particular tree: is a rooted tree consist of one single path of length , and for each vertex, we add one single dangling leaf.

Again, for this graph, we can add at most edges and force diameter to be at most . Take the lowest leaf and add edge to all other vertices. Here would be an formulation that could result an lower bound.

Problem6

Preprocess a rooted tree where the elements in the tree has weights from a semigroup , such that we can answer the following query in semigroup operations.

Query Input: and where is an ancestor of .

Query Output: The sum of weights of any walk from to that lies strictly inside the subtree rooted at .

Finally, here is a conjecture. Instead of using tree, we use Laminar family to simplify the wording of the conjecture.

Conjecture7

For every constant , there exist a Laminar family over ground set of vertices, such that for any graph such that has diameter at most for all , then .

If diameter is , then we can show there is a lower bound by consider the Laminar family such that a set of size gets partitioned into children each with vertices, and it is applied recursively.

The idea is at any level, say has elements and subsets. A vertex is called interior if it does not connect to any vertex outside the subset, and exterior otherwise. A subset is shy if it contains a interior vertex. We show there is at least edges in between the subsets. If there are at least exterior vertices, then we are done. Otherwise, there are at lease interior vertices. We call the subsets with at least one interior vertex shy. At least of those subsets are shy. Consider any two distinct shy subset and pick a interior vertex from each. In order to have a distance 3 path between two interior vertices, the path has to contain two exterior vertex, one in each shy subset. But this shows if we contract all the shy subsets to one vertex, we get a clique. This means there has to be at least edges in between the subsets (for large enough ).

References

[1]
N. Alon, B. Schieber, Optimal preprocessing for answering on-line product queries, 1987.
Posted by Chao Xu on .
Tags: Graph Theory.