Finding Long Directed Cycles Is Hard Even When DFVS Is Small or Girth Is Large

Authors Ashwin Jacob , Michał Włodarczyk , Meirav Zehavi



PDF
Thumbnail PDF

File

LIPIcs.ESA.2023.65.pdf
  • Filesize: 6.54 MB
  • 17 pages

Document Identifiers

Author Details

Ashwin Jacob
  • Ben-Gurion University of the Negev, Beer-Sheva, Israel
Michał Włodarczyk
  • Ben-Gurion University of the Negev, Beer-Sheva, Israel
Meirav Zehavi
  • Ben-Gurion University of the Negev, Beer-Sheva, Israel

Cite AsGet BibTex

Ashwin Jacob, Michał Włodarczyk, and Meirav Zehavi. Finding Long Directed Cycles Is Hard Even When DFVS Is Small or Girth Is Large. In 31st Annual European Symposium on Algorithms (ESA 2023). Leibniz International Proceedings in Informatics (LIPIcs), Volume 274, pp. 65:1-65:17, Schloss Dagstuhl – Leibniz-Zentrum für Informatik (2023)
https://doi.org/10.4230/LIPIcs.ESA.2023.65

Abstract

We study the parameterized complexity of two classic problems on directed graphs: Hamiltonian Cycle and its generalization Longest Cycle. Since 2008, it is known that Hamiltonian Cycle is W[1]-hard when parameterized by directed treewidth [Lampis et al., ISSAC'08]. By now, the question of whether it is FPT parameterized by the directed feedback vertex set (DFVS) number has become a longstanding open problem. In particular, the DFVS number is the largest natural directed width measure studied in the literature. In this paper, we provide a negative answer to the question, showing that even for the DFVS number, the problem remains W[1]-hard. As a consequence, we also obtain that Longest Cycle is W[1]-hard on directed graphs when parameterized multiplicatively above girth, in contrast to the undirected case. This resolves an open question posed by Fomin et al. [ACM ToCT'21] and Gutin and Mnich [arXiv:2207.12278]. Our hardness results apply to the path versions of the problems as well. On the positive side, we show that Longest Path parameterized multiplicatively above girth belongs to the class XP.

Subject Classification

ACM Subject Classification
  • Mathematics of computing → Graph algorithms
  • Theory of computation → Parameterized complexity and exact algorithms
Keywords
  • Hamiltonian cycle
  • longest path
  • directed feedback vertex set
  • directed graphs
  • parameterized complexity

Metrics

  • Access Statistics
  • Total Accesses (updated on a weekly basis)
    0
    PDF Downloads

References

  1. Isolde Adler. Directed tree-width examples. Journal of Combinatorial Theory, Series B, 97(5):718-725, 2007. Google Scholar
  2. Takanori Akiyama, Takao Nishizeki, and Nobuji Saito. NP-completeness of the hamiltonian cycle problem for bipartite graphs. Journal of Information processing, 3(2):73-76, 1980. Google Scholar
  3. Noga Alon and Shai Gutner. Balanced hashing, color coding and approximate counting. In Parameterized and Exact Computation, 4th International Workshop, IWPEC 2009, Copenhagen, Denmark, September 10-11, 2009, Revised Selected Papers, pages 1-16, 2009. Google Scholar
  4. Noga Alon and Shai Gutner. Balanced families of perfect hash functions and their applications. ACM Trans. Algorithms, 6(3):54:1-54:12, 2010. Google Scholar
  5. Noga Alon, Raphael Yuster, and Uri Zwick. Color-coding. J. ACM, 42(4):844-856, 1995. Google Scholar
  6. Vikraman Arvind and Venkatesh Raman. Approximation algorithms for some parameterized counting problems. In Algorithms and Computation: 13th International Symposium, ISAAC 2002 Vancouver, BC, Canada, November 21-23, 2002 Proceedings 13, pages 453-464. Springer, 2002. Google Scholar
  7. Benjamin Bergougnoux, Mamadou Moustapha Kanté, and O-joung Kwon. An optimal xp algorithm for hamiltonian cycle on graphs of bounded clique-width. Algorithmica, 82(6):1654-1674, 2020. Google Scholar
  8. Ivona Bezáková, Radu Curticapean, Holger Dell, and Fedor V. Fomin. Finding detours is fixed-parameter tractable. SIAM J. Discret. Math., 33(4):2326-2345, 2019. Google Scholar
  9. Andreas Björklund. Determinant sums for undirected hamiltonicity. SIAM J. Comput., 43(1):280-299, 2014. URL: https://doi.org/10.1137/110839229.
  10. Andreas Björklund. Exploiting sparsity for bipartite hamiltonicity. In 29th International Symposium on Algorithms and Computation, ISAAC 2018, December 16-19, 2018, Jiaoxi, Yilan, Taiwan, pages 3:1-3:11, 2018. Google Scholar
  11. Andreas Björklund. An asymptotically fast polynomial space algorithm for hamiltonicity detection in sparse directed graphs. In 38th International Symposium on Theoretical Aspects of Computer Science, STACS 2021, March 16-19, 2021, Saarbrücken, Germany (Virtual Conference), pages 15:1-15:12, 2021. Google Scholar
  12. Andreas Björklund and Thore Husfeldt. The parity of directed hamiltonian cycles. In 54th Annual IEEE Symposium on Foundations of Computer Science, FOCS 2013, 26-29 October, 2013, Berkeley, CA, USA, pages 727-735, 2013. Google Scholar
  13. Andreas Björklund, Thore Husfeldt, Petteri Kaski, and Mikko Koivisto. Counting paths and packings in halves. In Algorithms-ESA 2009: 17th Annual European Symposium, Copenhagen, Denmark, September 7-9, 2009. Proceedings 17, pages 578-586. Springer, 2009. Google Scholar
  14. Andreas Björklund, Thore Husfeldt, Petteri Kaski, and Mikko Koivisto. Narrow sieves for parameterized paths and packings. J. Comput. Syst. Sci., 87:119-139, 2017. Google Scholar
  15. Andreas Björklund, Petteri Kaski, and Ioannis Koutis. Directed hamiltonicity and out-branchings via generalized laplacians. In 44th International Colloquium on Automata, Languages, and Programming, ICALP 2017, July 10-14, 2017, Warsaw, Poland, pages 91:1-91:14, 2017. Google Scholar
  16. Andreas Björklund and Ryan Williams. Computing permanents and counting hamiltonian cycles by listing dissimilar vectors. In 46th International Colloquium on Automata, Languages, and Programming, ICALP 2019, July 9-12, 2019, Patras, Greece, pages 25:1-25:14, 2019. Google Scholar
  17. Hans L. Bodlaender. On linear time minor tests with depth-first search. Journal of Algorithms, 14(1):1-23, 1993. Google Scholar
  18. Cornelius Brand, Holger Dell, and Thore Husfeldt. Extensor-coding. In Proceedings of the 50th Annual ACM SIGACT Symposium on Theory of Computing (STOC), pages 151-164, 2018. Google Scholar
  19. Cornelius Brand and Kevin Pratt. Parameterized applications of symbolic differentiation of (totally) multilinear polynomials. In 48th International Colloquium on Automata, Languages, and Programming, ICALP 2021, July 12-16, 2021, Glasgow, Scotland (Virtual Conference), pages 38:1-38:19, 2021. Google Scholar
  20. Michael Buro. Simple amazons endgames and their connection to hamilton circuits in cubic subgrid graphs. In Computers and Games: Second International Conference, CG 2000 Hamamatsu, Japan, October 26-28, 2000 Revised Papers 2, pages 250-261. Springer, 2001. Google Scholar
  21. Victor Campos, Raul Lopes, Ana Karolinna Maia, and Ignasi Sau. Adapting the directed grid theorem into an fpt algorithm. Electronic Notes in Theoretical Computer Science, 346:229-240, 2019. Google Scholar
  22. Jianer Chen, Joachim Kneis, Songjian Lu, Daniel Mölle, Stefan Richter, Peter Rossmanith, Sing-Hoi Sze, and Fenghui Zhang. Randomized divide-and-conquer: Improved path, matching, and packing algorithms. SIAM Journal on Computing, 38(6):2526-2547, 2009. Google Scholar
  23. Jianer Chen, Yang Liu, Songjian Lu, Barry O'Sullivan, and Igor Razgon. A fixed-parameter algorithm for the directed feedback vertex set problem. J. ACM, 55(5):21:1-21:19, 2008. Google Scholar
  24. Bruno Courcelle and Joost Engelfriet. Graph Structure and Monadic Second-Order Logic - A Language-Theoretic Approach, volume 138 of Encyclopedia of mathematics and its applications. Cambridge University Press, 2012. URL: https://doi.org/10.1017/CBO9780511977619.
  25. Radu Curticapean, Holger Dell, and Dániel Marx. Homomorphisms are a good basis for counting small subgraphs. In Proceedings of the 49th Annual ACM SIGACT Symposium on Theory of Computing (STOC), pages 210-223, 2017. Google Scholar
  26. Radu Curticapean and Dániel Marx. Complexity of counting subgraphs: Only the boundedness of the vertex-cover number counts. In 2014 IEEE 55th Annual Symposium on Foundations of Computer Science (FOCS), pages 130-139. IEEE, 2014. Google Scholar
  27. Marek Cygan, Fedor V. Fomin, Lukasz Kowalik, Daniel Lokshtanov, Dániel Marx, Marcin Pilipczuk, Michal Pilipczuk, and Saket Saurabh. Parameterized Algorithms. Springer, 2015. Google Scholar
  28. Marek Cygan, Stefan Kratsch, and Jesper Nederlof. Fast hamiltonicity checking via bases of perfect matchings. Journal of the ACM (JACM), 65(3):1-46, 2018. Google Scholar
  29. Marek Cygan, Jesper Nederlof, Marcin Pilipczuk, Michał Pilipczuk, Johan MM Van Rooij, and Jakub Onufry Wojtaszczyk. Solving connectivity problems parameterized by treewidth in single exponential time. ACM Transactions on Algorithms (TALG), 18(2):1-31, 2022. Google Scholar
  30. Mateus de Oliveira Oliveira. An algorithmic metatheorem for directed treewidth. Discrete Applied Mathematics, 204:49-76, 2016. URL: https://doi.org/10.1016/j.dam.2015.10.020.
  31. Reinhard Diestel. Graph Theory, 4th Edition, volume 173 of Graduate texts in mathematics. Springer, 2012. Google Scholar
  32. Frederic Dorn, Fedor V Fomin, and Dimitrios M Thilikos. Catalan structures and dynamic programming in h-minor-free graphs. Journal of Computer and System Sciences, 78(5):1606-1622, 2012. Google Scholar
  33. Martin Doucha and Jan Kratochvíl. Cluster vertex deletion: A parameterization between vertex cover and clique-width. In MFCS, volume 2012, pages 348-359. Springer, 2012. Google Scholar
  34. Jörg Flum and Martin Grohe. The parameterized complexity of counting problems. SIAM Journal on Computing, 33(4):892-922, 2004. Google Scholar
  35. Fedor V. Fomin, Petr A. Golovach, William Lochet, Danil Sagunov, Kirill Simonov, and Saket Saurabh. Detours in directed graphs. In 39th International Symposium on Theoretical Aspects of Computer Science, STACS 2022, March 15-18, 2022, Marseille, France (Virtual Conference), pages 29:1-29:16, 2022. Google Scholar
  36. Fedor V. Fomin, Petr A. Golovach, Daniel Lokshtanov, Fahad Panolan, Saket Saurabh, and Meirav Zehavi. Multiplicative parameterization above a guarantee. ACM Trans. Comput. Theory, 13(3):18:1-18:16, 2021. Google Scholar
  37. Fedor V. Fomin, Petr A. Golovach, Daniel Lokshtanov, Saket Saurabh, and Meirav Zehavi. Clique-width III: hamiltonian cycle and the odd case of graph coloring. ACM Trans. Algorithms, 15(1):9:1-9:27, 2019. Google Scholar
  38. Fedor V. Fomin, Petr A. Golovach, Danil Sagunov, and Kirill Simonov. Algorithmic extensions of dirac’s theorem. In Proceedings of the 2022 ACM-SIAM Symposium on Discrete Algorithms, SODA 2022, Virtual Conference / Alexandria, VA, USA, January 9 - 12, 2022, pages 406-416, 2022. Google Scholar
  39. Fedor V. Fomin, Petr A. Golovach, Danil Sagunov, and Kirill Simonov. Longest cycle above erdős-gallai bound. In 30th Annual European Symposium on Algorithms, ESA 2022, September 5-9, 2022, Berlin/Potsdam, Germany, pages 55:1-55:15, 2022. Google Scholar
  40. Fedor V. Fomin, Daniel Lokshtanov, Fahad Panolan, Saket Saurabh, and Meirav Zehavi. Long directed (s, t)-path: FPT algorithm. Inf. Process. Lett., 140:8-12, 2018. Google Scholar
  41. Fedor V. Fomin, Daniel Lokshtanov, Fahad Panolan, Saket Saurabh, and Meirav Zehavi. Decomposition of map graphs with applications. In 46th International Colloquium on Automata, Languages, and Programming, ICALP 2019, July 9-12, 2019, Patras, Greece, pages 60:1-60:15, 2019. Google Scholar
  42. Fedor V. Fomin, Daniel Lokshtanov, Fahad Panolan, Saket Saurabh, and Meirav Zehavi. Finding, hitting and packing cycles in subexponential time on unit disk graphs. Discret. Comput. Geom., 62(4):879-911, 2019. Google Scholar
  43. Steven Fortune, John Hopcroft, and James Wyllie. The directed subgraph homeomorphism problem. Theoretical Computer Science, 10(2):111-121, 1980. URL: https://doi.org/10.1016/0304-3975(80)90009-2.
  44. Harold N Gabow and Shuxin Nie. Finding a long directed cycle. ACM Transactions on Algorithms (TALG), 4(1):1-21, 2008. Google Scholar
  45. Robert Ganian. Improving vertex cover as a graph parameter. Discrete Mathematics & Theoretical Computer Science, 17, 2015. Google Scholar
  46. Michael R Garey, David S Johnson, and Larry Stockmeyer. Some simplified np-complete problems. In Proceedings of the sixth annual ACM symposium on Theory of computing (STOC), pages 47-63, 1974. Google Scholar
  47. Archontia C. Giannopoulou, Ken-ichi Kawarabayashi, Stephan Kreutzer, and O-joung Kwon. The directed flat wall theorem. In Proceedings of the 2020 ACM-SIAM Symposium on Discrete Algorithms, SODA 2020, Salt Lake City, UT, USA, January 5-8, 2020, pages 239-258, 2020. Google Scholar
  48. Archontia C. Giannopoulou, Ken-ichi Kawarabayashi, Stephan Kreutzer, and O-joung Kwon. Directed tangle tree-decompositions and applications. In Proceedings of the 2022 ACM-SIAM Symposium on Discrete Algorithms, SODA 2022, Virtual Conference / Alexandria, VA, USA, January 9 - 12, 2022, pages 377-405, 2022. Google Scholar
  49. Petr A. Golovach, R. Krithika, Abhishek Sahu, Saket Saurabh, and Meirav Zehavi. Graph hamiltonicity parameterized by proper interval deletion set. In LATIN 2020: Theoretical Informatics - 14th Latin American Symposium, São Paulo, Brazil, January 5-8, 2021, Proceedings, pages 104-115, 2020. Google Scholar
  50. Ronald J Gould. Advances on the hamiltonian problem-a survey. Graphs and Combinatorics, 19(1):7-52, 2003. Google Scholar
  51. Gregory Gutin and Matthias Mnich. A survey on graph problems parameterized above and below guaranteed values. arXiv preprint arXiv:2207.12278, 2022. Google Scholar
  52. Meike Hatzel, Ken-ichi Kawarabayashi, and Stephan Kreutzer. Polynomial planar directed grid theorem. In Proceedings of the Thirtieth Annual ACM-SIAM Symposium on Discrete Algorithms, SODA 2019, San Diego, California, USA, January 6-9, 2019, pages 1465-1484, 2019. Google Scholar
  53. Meike Hatzel, Konrad Majewski, Michal Pilipczuk, and Marek Sokolowski. Simpler and faster algorithms for detours in planar digraphs. In 2023 Symposium on Simplicity in Algorithms, SOSA 2023, Florence, Italy, January 23-25, 2023, pages 156-165, 2023. Google Scholar
  54. Falk Hüffner, Sebastian Wernicke, and Thomas Zichner. Algorithm engineering for color-coding with applications to signaling pathway detection. Algorithmica, 52(2):114-132, 2008. Google Scholar
  55. Paul Hunter and Stephan Kreutzer. Digraph measures: Kelly decompositions, games, and orderings. Theor. Comput. Sci., 399(3):206-219, 2008. Google Scholar
  56. Ashwin Jacob, Michal Wlodarczyk, and Meirav Zehavi. Long directed detours: Reduction to 2-disjoint paths. CoRR, abs/2301.06105, 2023. Google Scholar
  57. Bart M. P. Jansen, László Kozma, and Jesper Nederlof. Hamiltonicity below dirac’s condition. In Graph-Theoretic Concepts in Computer Science - 45th International Workshop, WG 2019, Vall de Núria, Spain, June 19-21, 2019, Revised Papers, pages 27-39, 2019. Google Scholar
  58. Thor Johnson, Neil Robertson, Paul D. Seymour, and Robin Thomas. Directed tree-width. J. Comb. Theory, Ser. B, 82(1):138-154, 2001. Google Scholar
  59. Georgia Kaouri, Michael Lampis, and Valia Mitsou. New directions in directed treewidth. Parameterized Complexity News: Newsletter of the Parameterized Complexity Community, September:4-5, 2009. Google Scholar
  60. Richard M. Karp. Reducibility among combinatorial problems. In Proceedings of a symposium on the Complexity of Computer Computations, held March 20-22, 1972, at the IBM Thomas J. Watson Research Center, Yorktown Heights, New York, USA, pages 85-103, 1972. Google Scholar
  61. Ken-ichi Kawarabayashi and Stephan Kreutzer. The directed grid theorem. In Proceedings of the forty-seventh annual ACM symposium on Theory of Computing, pages 655-664, 2015. Google Scholar
  62. Ioannis Koutis. Faster algebraic algorithms for path and packing problems. In Automata, Languages and Programming, 35th International Colloquium, ICALP 2008, Reykjavik, Iceland, July 7-11, 2008, Proceedings, Part I: Tack A: Algorithms, Automata, Complexity, and Games, pages 575-586, 2008. Google Scholar
  63. Michael Lampis, Georgia Kaouri, and Valia Mitsou. On the algorithmic effectiveness of digraph decompositions and complexity measures. In Algorithms and Computation, 19th International Symposium, ISAAC 2008, Gold Coast, Australia, December 15-17, 2008. Proceedings, pages 220-231, 2008. Google Scholar
  64. Michael Lampis, Georgia Kaouri, and Valia Mitsou. On the algorithmic effectiveness of digraph decompositions and complexity measures. Discret. Optim., 8(1):129-138, 2011. Google Scholar
  65. Daniel Lokshtanov, Andreas Björklund, Saket Saurabh, and Meirav Zehavi. Approximate counting of k-paths: Simpler, deterministic, and in polynomial space. ACM Trans. Algorithms, 17(3):26:1-26:44, 2021. Google Scholar
  66. Daniel Lokshtanov, Matthias Mnich, and Saket Saurabh. Planar k-path in subexponential time and polynomial space. In WG, pages 262-270. Springer, 2011. Google Scholar
  67. Burkhard Monien. How to find long paths efficiently. In North-Holland Mathematics Studies, volume 109, pages 239-254. Elsevier, 1985. Google Scholar
  68. Jesper Nederlof. Detecting and counting small patterns in planar graphs in subexponential parameterized time. In Proccedings of the 52nd Annual ACM SIGACT Symposium on Theory of Computing, STOC 2020, Chicago, IL, USA, June 22-26, 2020, pages 1293-1306, 2020. Google Scholar
  69. Jan Obdrzálek. Dag-width: connectivity measure for directed graphs. In Proceedings of the Seventeenth Annual ACM-SIAM Symposium on Discrete Algorithms, SODA 2006, Miami, Florida, USA, January 22-26, 2006, pages 814-821, 2006. Google Scholar
  70. Bruce A. Reed. Introducing directed tree width. Electron. Notes Discret. Math., 3:222-229, 1999. Google Scholar
  71. Neil Robertson and Paul D Seymour. Graph minors. XIII. The disjoint paths problem. Journal of combinatorial theory, Series B, 63(1):65-110, 1995. URL: https://doi.org/10.1006/jctb.1995.1006.
  72. Hadas Shachnai and Meirav Zehavi. Representative families: A unified tradeoff-based approach. J. Comput. Syst. Sci., 82(3):488-502, 2016. Google Scholar
  73. Aleksandrs Slivkins. Parameterized tractability of edge-disjoint paths on directed acyclic graphs. SIAM J. Discret. Math., 24(1):146-157, 2010. URL: https://doi.org/10.1137/070697781.
  74. Dekel Tsur. Faster deterministic parameterized algorithm for k-path. Theor. Comput. Sci., 790:96-104, 2019. Google Scholar
  75. Virginia Vassilevska and Ryan Williams. Finding, minimizing, and counting weighted subgraphs. In Proceedings of the forty-first annual ACM symposium on Theory of computing (STOC), pages 455-464, 2009. Google Scholar
  76. Sebastian Wiederrecht. A note on directed treewidth. CoRR, abs/1910.01826, 2019. URL: https://arxiv.org/abs/1910.01826.
  77. Ryan Williams. Finding paths of length k in 𝒪^*(2^k) time. Inf. Process. Lett., 109(6):315-318, 2009. Google Scholar
  78. Meirav Zehavi. Mixing color coding-related techniques. In Algorithms - ESA 2015 - 23rd Annual European Symposium, Patras, Greece, September 14-16, 2015, Proceedings, pages 1037-1049, 2015. Google Scholar
  79. Meirav Zehavi. A randomized algorithm for long directed cycle. Inf. Process. Lett., 116(6):419-422, 2016. Google Scholar
  80. Meirav Zehavi, Fedor V. Fomin, Daniel Lokshtanov, Fahad Panolan, and Saket Saurabh. Eth-tight algorithms for long path and cycle on unit disk graphs. J. Comput. Geom., 12(2):126-148, 2021. Google Scholar
Questions / Remarks / Feedback
X

Feedback for Dagstuhl Publishing


Thanks for your feedback!

Feedback submitted

Could not send message

Please try again later or send an E-mail