English

An improved algorithm for the vertex cover $P_3$ problem on graphs of bounded treewidth

Combinatorics 2023-06-22 v6 Data Structures and Algorithms

Abstract

Given a graph G=(V,E)G=(V,E) and a positive integer t2t\geq2, the task in the vertex cover PtP_t (VCPtVCP_t) problem is to find a minimum subset of vertices FVF\subseteq V such that every path of order tt in GG contains at least one vertex from FF. The VCPtVCP_t problem is NP-complete for any integer t2t\geq2 and has many applications in real world. Recently, the authors presented a dynamic programming algorithm running in time 4pnO(1)4^p\cdot n^{O(1)} for the VCP3VCP_3 problem on nn-vertex graphs with treewidth pp. In this paper, we propose an improvement of it and improved the time-complexity to 3pnO(1)3^p\cdot n^{O(1)}. The connected vertex cover P3P_3 (CVCP3CVCP_3) problem is the connected variation of the VCP3VCP_3 problem where G[F]G[F] is required to be connected. Using the Cut\&Count technique, we give a randomized algorithm with runtime 4pnO(1)4^p\cdot n^{O(1)} for the CVCP3CVCP_3 problem on nn-vertex graphs with treewidth pp.

Keywords

Cite

@article{arxiv.1603.09448,
  title  = {An improved algorithm for the vertex cover $P_3$ problem on graphs of bounded treewidth},
  author = {Zongwen Bai and Jianhua Tu and Yongtang Shi},
  journal= {arXiv preprint arXiv:1603.09448},
  year   = {2023}
}

Comments

arXiv admin note: text overlap with arXiv:1103.0534 by other authors

R2 v1 2026-06-22T13:22:03.320Z