计算机科学 > 数据结构与算法
[提交于 2024年3月9日 (v1),最后修订于 2026年11月24日 (此版本, v4)]
标题:Path Cover, Hamiltonicity, and Independence Number: An FPT Perspective
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读摘要:The classic theorem of Gallai and Milgram (1960) asserts that for every graph \(G\), the vertex set of \(G\) can be partitioned into at most \(\alpha(G)\) vertex-disjoint paths, where \(\alpha(G)\) is the maximum size of an independent set in \(G\). While the Gallai-Milgram theorem is tight, it was not known prior to our work whether deciding if a graph \(G\) could be covered by fewer than \(\alpha(G)\) vertex-disjoint paths can be done in polynomial time. We resolve this question by proving the following algorithmic extension of the Gallai-Milgram theorem for undirected graphs: There is an algorithm that, for an \(n\)-vertex graph \(G\) and an integer parameter \(k \ge 1\), runs in time \(2^{2^{\Oh(k^4\log{k})}} \cdot n^{\Oh(1)}\) and outputs a path cover \(\mathcal{P}\) of \(G\) together with either a correct conclusion that \(\mathcal{P}\) is a minimum-size path cover, or an independent set of size \(\lvert \mathcal{P}\rvert + k\), certifying that \(\mathcal{P}\) contains at most \(\alpha(G) - k\) paths. One of the key subroutines in our algorithm is a fixed-parameter tractable FPT algorithm, parameterized by \(\alpha(G)\), for deciding whether \(G\) contains a Hamiltonian path. This result is of independent interest---prior to our work, no polynomial-time algorithm for deciding Hamiltonicity was known even for graphs with independence number at most three. Moreover, the algorithmic techniques we develop apply to a wide array of problems in undirected graphs, including Hamiltonian Cycle, Path Cover, Largest Linkage, and Topological Minor Containment. We show that all these problems are FPT when parameterized by the independence number of the graph.