English

An Improvement of Reed's Treewidth Approximation

Data Structures and Algorithms 2022-06-24 v2

Abstract

We present a new approximation algorithm for the treewidth problem which finds an upper bound on the treewidth and constructs a corresponding tree decomposition as well. Our algorithm is a faster variation of Reed's classical algorithm. For the benefit of the reader, and to be able to compare these two algorithms, we start with a detailed time analysis of Reed's algorithm. We fill in many details that have been omitted in Reed's paper. Computing tree decompositions parameterized by the treewidth kk is fixed parameter tractable (FPT), meaning that there are algorithms running in time O(f(k)g(n))\mathcal{O}(f(k) g(n)) where ff is a computable function, and g(n)g(n) is polynomial in nn, where nn is the number of vertices. An analysis of Reed's algorithm shows f(k)=2O(klogk)f(k) = 2^{\mathcal{O}(k \log k)} and g(n)=nlogng(n) = n \log n for a 5-approximation. Reed simply claims time O(nlogn)\mathcal{O}(n \log n) for bounded kk for his constant factor approximation algorithm, but the bound of 2Ω(klogk)nlogn2^{\Omega(k \log k)} n \log n is well known. From a practical point of view, we notice that the time of Reed's algorithm also contains a term of O(k2224knlogn)\mathcal{O}(k^2 2^{24k} n \log n), which for small kk is much worse than the asymptotically leading term of 2O(klogk)nlogn2^{\mathcal{O}(k \log k)} n \log n. We analyze f(k)f(k) more precisely, because the purpose of this paper is to improve the running times for all reasonably small values of kk. Our algorithm runs in O(f(k)nlogn)\mathcal{O}(f(k)n\log{n}) too, but with a much smaller dependence on kk. In our case, f(k)=2O(k)f(k) = 2^{\mathcal{O}(k)}. This algorithm is simple and fast, especially for small values of kk. We should mention that Bodlaender et al. [2016] have an algorithm with a linear dependence on nn, and Korhonen [2021] obtains the much better approximation ratio of 2, while the current paper achieves a better dependence on kk.

Keywords

Cite

@article{arxiv.2010.03105,
  title  = {An Improvement of Reed's Treewidth Approximation},
  author = {Mahdi Belbasi and Martin Fürer},
  journal= {arXiv preprint arXiv:2010.03105},
  year   = {2022}
}
R2 v1 2026-06-23T19:06:37.070Z