Computing treedepth in polynomial space and linear fpt time
arXiv:2205.02656
Abstract
The treedepth of a graph is the least possible depth of an elimination forest of : a rooted forest on the same vertex set where every pair of vertices adjacent in is bound by the ancestor/descendant relation. We propose an algorithm that given a graph and an integer , either finds an elimination forest of of depth at most or concludes that no such forest exists; thus the algorithm decides whether the treedepth of is at most . The running time is and the space usage is polynomial in . Further, by allowing randomization, the time and space complexities can be improved to and , respectively. This improves upon the algorithm of Reidl et al. [ICALP 2014], which also has time complexity , but uses exponential space.