English

Computing treedepth in polynomial space and linear fpt time

Data Structures and Algorithms 2022-05-06 v1

Abstract

The treedepth of a graph GG is the least possible depth of an elimination forest of GG: a rooted forest on the same vertex set where every pair of vertices adjacent in GG is bound by the ancestor/descendant relation. We propose an algorithm that given a graph GG and an integer dd, either finds an elimination forest of GG of depth at most dd or concludes that no such forest exists; thus the algorithm decides whether the treedepth of GG is at most dd. The running time is 2O(d2)nO(1)2^{O(d^2)}\cdot n^{O(1)} and the space usage is polynomial in nn. Further, by allowing randomization, the time and space complexities can be improved to 2O(d2)n2^{O(d^2)}\cdot n and dO(1)nd^{O(1)}\cdot n, respectively. This improves upon the algorithm of Reidl et al. [ICALP 2014], which also has time complexity 2O(d2)n2^{O(d^2)}\cdot n, but uses exponential space.

Keywords

Cite

@article{arxiv.2205.02656,
  title  = {Computing treedepth in polynomial space and linear fpt time},
  author = {Wojciech Nadara and Michał Pilipczuk and Marcin Smulewicz},
  journal= {arXiv preprint arXiv:2205.02656},
  year   = {2022}
}
R2 v1 2026-06-24T11:08:14.560Z