English

Faster approximation algorithms for computing shortest cycles on weighted graphs

Data Structures and Algorithms 2018-10-25 v1

Abstract

Given an nn-vertex mm-edge graph GG with non negative edge-weights, the girth of GG is the weight of a shortest cycle in GG. For any graph GG with polynomially bounded integer weights, we present a deterministic algorithm that computes, in O~(n5/3+m)\tilde{\cal O}(n^{5/3}+m)-time, a cycle of weight at most twice the girth of GG. Our approach combines some new insights on the previous approximation algorithms for this problem (Lingas and Lundell, IPL'09; Roditty and Tov, TALG'13) with Hitting Set based methods that are used for approximate distance oracles and date back from (Thorup and Zwick, JACM'05). Then, we turn our algorithm into a deterministic (2+ε)(2+\varepsilon)-approximation for graphs with arbitrary non negative edge-weights, at the price of a slightly worse running-time in O~(n5/3logO(1)(1/ε)+m)\tilde{\cal O}(n^{5/3}\log^{{\cal O}(1)}{(1/\varepsilon)}+m). Finally, if we insist in removing the dependency in the number mm of edges, we can transform our algorithms into an O~(n5/3)\tilde{\cal O}(n^{5/3})-time randomized 44-approximation for the graphs with non negative edge-weights -- assuming the adjacency lists are sorted. Combined with the aforementioned Hitting Set based methods, this algorithm can be derandomized, thereby yielding an O~(n5/3)\tilde{\cal O}(n^{5/3})-time deterministic 44-approximation for the graphs with polynomially bounded integer weights, and an O~(n5/3logO(1)(1/ε))\tilde{\cal O}(n^{5/3}\log^{{\cal O}(1)}{(1/\varepsilon)})-time deterministic (4+ε)(4+\varepsilon)-approximation for the graphs with non negative edge-weights. To the best of our knowledge, these are the first known subquadratic-time approximation algorithms for computing the girth of weighted graphs.

Keywords

Cite

@article{arxiv.1810.10229,
  title  = {Faster approximation algorithms for computing shortest cycles on weighted graphs},
  author = {Guillaume Ducoffe},
  journal= {arXiv preprint arXiv:1810.10229},
  year   = {2018}
}
R2 v1 2026-06-23T04:50:54.172Z