For a given graph , a depth-first search (DFS) tree of is an -rooted spanning tree such that every edge of is either an edge of or is between a and an in . A graph together with a DFS tree is called a . Sam et al. (2023) initiated study of the parameterized complexity of the and problems which ask, given a graph and an integer , whether has a DFS tree with at most and at least leaves, respectively. Particularly, they showed that for the dual parameterization, where the tasks are to find DFS trees with at least and at most leaves, respectively, these problems are fixed-parameter tractable when parameterized by . However, the proofs were based on Courcelle’s theorem, thereby making the running times a tower of exponentials. We prove that both problems admit polynomial kernels with vertices. In particular, this implies FPT algorithms running in time. We achieve these results by making use of a -sized vertex cover structure associated with each problem. This also allows us to demonstrate polynomial kernels for and for the structural parameterization by the vertex cover number.

生成讲解博客的中文版本

生成AI智能校验的中文版本