English

The Gap Between Greedy Algorithm and Minimum Multiplicative Spanner

Data Structures and Algorithms 2024-11-05 v1 Discrete Mathematics Combinatorics

Abstract

The greedy algorithm adapted from Kruskal's algorithm is an efficient and folklore way to produce a kk-spanner with girth at least k+2k+2. The greedy algorithm has shown to be `existentially optimal', while it's not `universally optimal' for any constant kk. Here, `universal optimality' means an algorithm can produce the smallest kk-spanner HH given any nn-vertex input graph GG. However, how well the greedy algorithm works compared to `universal optimality' is still unclear for superconstant k:=k(n)k:=k(n). In this paper, we aim to give a new and fine-grained analysis of this problem in undirected unweighted graph setting. Specifically, we show some bounds on this problem including the following two (1) On the negative side, when k<13nO(1)k<\frac{1}{3}n-O(1), the greedy algorithm is not `universally optimal'. (2) On the positive side, when k>23n+O(1)k>\frac{2}{3}n+O(1), the greedy algorithm is `universally optimal'. We also introduce an appropriate notion for `approximately universal optimality'. An algorithm is (α,β)(\alpha,\beta)-universally optimal iff given any nn-vertex input graph GG, it can produce a kk-spanner HH of GG with size Hn+α(Hn)+β|H|\leq n+\alpha(|H^*|-n)+\beta, where HH^* is the smallest kk-spanner of GG. We show the following positive bounds. (1) When k>47n+O(1)k>\frac{4}{7}n+O(1), the greedy algorithm is (2,O(1))(2,O(1))-universally optimal. (2) When k>1223n+O(1)k>\frac{12}{23}n+O(1), the greedy algorithm is (18,O(1))(18,O(1))-universally optimal. (3) When k>12n+O(1)k>\frac{1}{2}n+O(1), the greedy algorithm is (32,O(1))(32,O(1))-universally optimal. All our proofs are constructive building on new structural analysis on spanners. We give some ideas about how to break small cycles in a spanner to increase the girth. These ideas may help us to understand the relation between girth and spanners.

Keywords

Cite

@article{arxiv.2411.01486,
  title  = {The Gap Between Greedy Algorithm and Minimum Multiplicative Spanner},
  author = {Yeyuan Chen},
  journal= {arXiv preprint arXiv:2411.01486},
  year   = {2024}
}

Comments

33 pages