Abstract
Let G be a connected graph and \(t \ge 1\) a (rational) constant. A t-spanner of G is a spanning subgraph of G in which the distance between any pair of vertices is at most t times its distance in G. We address two problems on spanners. The first one, known as the minimum t-spanner problem (MinS \(_t\)), seeks in a connected graph a t-spanner with the smallest possible number of edges. In the second one, called minimum cost tree t-spanner problem (MCTS \(_t\)), the input graph has costs assigned to its edges and seeks a t-spanner that is a tree with minimum cost. It is an optimization version of the tree t-spanner problem (TreeS \(_t\)), a decision problem concerning the existence of a t-spanner that is a tree. MinS \(_t\) is known to be \({\textsc {NP}}\)-hard for every \(t \ge 2\). On the other hand, TreeS \(_t\) admits a polynomial-time algorithm for \(t \le 2\) and is \({\textsc {NP}}\)-complete for \(t \ge 4\); but its complexity for \(t=3\) remains open. We focus on the class of subcubic graphs. First, we show that for such graphs MinS \(_3\) can be solved in polynomial time. These results yield a practical polynomial algorithm for TreeS \(_3\) that is of a combinatorial nature. We also show that MCTS \(_2\) can be solved in polynomial time. To obtain this last result, we prove a complete linear characterization of the polytope defined by the incidence vectors of the tree 2-spanners of a subcubic graph. A recent result showing that MinS \(_3\) on graphs with maximum degree at most 5 is NP-hard, together with the current result on subcubic graphs, leaves open only the complexity of MinS \(_3\) on graphs with maximum degree 4.
Similar content being viewed by others
Data Availability
Data sharing not applicable to this article as no datasets were generated or analyzed during the current study.
References
Ahmed R, Bodwin G, Sahneh F, Hamm K, Latifi M, Kobourov S, Spence R (2020) Graph spanners: a tutorial review. Comput Sci Rev 37:100253
Ahmed R, Hamm K, Latifi Jebelli M, Kobourov S, Sahneh F, Spence R (2019) Approximation algorithms and an integer program for multi-level graph spanners. In: Analysis of experimental algorithms, lecture notes in computer science, vol. 11544, Springer, Cham, pp 541–562
Álvarez-Miranda E, Sinnl M (2019) Mixed-integer programming approaches for the tree \(t^*\)-spanner problem. Optim Lett 13(7):1693–1709
Awerbuch B (1985) Complexity of network synchronization. J ACM 32(4):804–823
Baswana S, Sen S (2006) Approximate distance oracles for unweighted graphs in expected \(O(n^2)\) time. ACM Trans Algorithms 2(4):557–577
Bodlaender H (1996) A linear-time algorithm for finding tree-decompositions of small treewidth. SIAM J Comput 25(6):1305–1317
Brandstädt A, Dragan F, Le H, Le V, Uehara R (2007) Tree spanners for bipartite graphs and probe interval graphs. Algorithmica 47(1):27–51
Cai L (1994) NP-completeness of minimum spanner problems. Discrete Appl Math 48(2):187–194
Cai L, Corneil D (1995) Tree spanners. SIAM J Discrete Math 8(3):359–387
Cai L, Keil M (1994) Spanners in graphs of bounded degree. Networks 24(4):233–249
Courcelle B, Engelfriet J (2012) Graph structure and monadic second-order logic, Encyclopedia of Mathematics and its Applications, vol 138. Cambridge University Press, Cambridge
Couto F, Cunha L (2021) Hardness and efficiency on \(t\)-admissibility for graph operations. Discrete Appl Math 304:342–348
Couto F, Cunha L, Posner D (2021) Edge tree spanners, graphs and combinatorial optimization: from theory to applications: CTW2020 Proceedings. Springer, Cham, pp 195–207
Dantzig G, Thapa M (2003) Linear programming 2: theory and extensions. Springer, New York
Dragan F, Fomin F, Golovach P (2011) Spanners in sparse graphs. J Comput Syst Sci 77(6):1108–1119
Dragan F, Köhler E (2014) An approximation algorithm for the tree \(t\)-spanner problem on unweighted graphs via generalized chordal graphs. Algorithmica 69(4):884–905
Fekete S, Kremer J (2001) Tree spanners in planar graphs. Discrete Appl Math 108(1–2):85–103
Fomin F, Golovach P, van Leeuwen E (2011) Spanners of bounded degree graphs. Inform Process Lett 111(3):142–144
Gómez R, Miyazawa FK, Wakabayashi Y (2022) Minimum \(t\)-spanners on subcubic graphs, WALCOM: algorithms and computation. In: Lecture notes in computer science, vol. 13174, Springer, Cham, pp 365–380
Gómez R, Miyazawa FK, Wakabayashi Y (2023) Improved NP-hardness results for the minimum \(t\)-spanner problem on bounded-degree graphs. Theor Comput Sci 947:113691
Gómez R, Miyazawa FK, Wakabayashi Y (2022) Tree 3-spanners on generalized prisms of graphs, LATIN, theoretical informatics. In: Lecture notes in computer science, vol. 13568, Springer, Cham, pp 557–573
Kobayashi Y (2018) NP-hardness and fixed-parameter tractability of the minimum spanner problem. Theor Comput Sci 746:88–97
Lin L, Lin Y (2020) Optimality computation of the minimum stretch spanning tree problem. Appl Math Comput 386:125502
Papoutsakis I (2018) Tree spanners of bounded degree graphs. Discrete Appl Math 236:395–407
Peleg D, Schäffer A (1989) Graph spanners. J Graph Theory 13(1):99–116
Peleg D, Ullman J (1989) An optimal synchronizer for the hypercube. SIAM J Comput 18(4):740–747
Peleg D, Upfal E (1989) A trade-off between space and efficiency for routing tables. J ACM 36(3):510–530
Thorup M, Zwick U (2005) Approximate distance oracles. J ACM 52(1):1–24
Venkatesan G, Rotics U, Madanlal M, Makowsky J, Pandu Rangan C (1997) Restrictions of minimum spanner problems. Inform Comput 136(2):143–164
Wang W, Balkcom D, Chakrabarti A (2015) A fast online spanner for roadmap construction. Int J Rob Res 34(11):1418–1432
Acknowledgements
The authors would like to thank the referees for the useful remarks.
Funding
This research has been partially supported by FAPESP - São Paulo Research Foundation (Proc. 2015/11937-9) and by CNPq (Proc. 404315/2023-2). R. Gómez is supported by FAPESP (Proc. 2019/14471-1); F.K. Miyazawa is supported by FAPESP (Proc. 2022/05803-3) and by CNPq (Proc. 313146/2022-5); Y. Wakabayashi is supported by CNPq (Proc. 311892/2021-3), Brazil.
Author information
Authors and Affiliations
Contributions
All authors contributed equally to the study conception and design. All authors read and approved the final manuscript.
Corresponding author
Ethics declarations
Conflict of interest
The authors declare that they have no conflict of interest. The authors have no relevant financial or non-financial interests to disclose.
Additional information
Publisher's Note
Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.
Rights and permissions
Springer Nature or its licensor (e.g. a society or other partner) holds exclusive rights to this article under a publishing agreement with the author(s) or other rightsholder(s); author self-archiving of the accepted manuscript version of this article is solely governed by the terms of such publishing agreement and applicable law.
About this article
Cite this article
Gómez, R., Miyazawa, F.K. & Wakababayashi, Y. Polynomial algorithms for sparse spanners on subcubic graphs. J Comb Optim 48, 11 (2024). https://doi.org/10.1007/s10878-024-01197-9
Accepted:
Published:
DOI: https://doi.org/10.1007/s10878-024-01197-9