# 顶点覆盖

无向图 G = (V, E) 的**顶点覆盖**是顶点的一个子集，使得每条边至少有一个端点在该子集中<sup>[1](https://link.springer.com/article/10.1007/s00224-012-9393-4)</sup>。顶点覆盖判定问题给定一个图 G 和一个整数 k，问 G 是否存在大小至多为 k 的顶点覆盖<sup>[1](https://link.springer.com/article/10.1007/s00224-012-9393-4)</sup>。该问题是 Garey 和 Johnson 关于难解性研究中的六个经典 NP 完全问题之一，在参数化算法的发展中发挥了重要作用<sup>[1](https://link.springer.com/article/10.1007/s00224-012-9393-4)</sup>。Richard M. Karp 于 1972 年发表的论文《组合问题之间的可归约性》（"Reducibility Among Combinatorial Problems"），刊载于 IBM Thomas J. Watson 研究中心的一次研讨会论文集（第 85–103 页，Plenum Press），是该问题 NP 完全性的经典参考文献<sup>[2](https://researchr.org/publication/Karp72/bibtex)</sup>。

| 关键事实 | 详情 |
|---|---|
| 定义 | 顶点的一个子集，包含每条边至少一个端点；判定版本问的是是否存在大小至多为 k 的覆盖<sup>[1](https://link.springer.com/article/10.1007/s00224-012-9393-4)</sup> |
| 复杂度 | NP 完全；属于 Garey 和 Johnson 的六个经典 NP 完全问题<sup>[1](https://link.springer.com/article/10.1007/s00224-012-9393-4)</sup> |
| 二分图情形 | 可在多项式时间内求解：由 Kőnig 定理，最大匹配的大小等于最小顶点覆盖的大小<sup>[3](https://arxiv.org/abs/2004.08636)</sup> |
| 近似 | 贪心算法总能找到不超过最优解两倍的覆盖<sup>[4](https://tanktechnology.github.io/CLRS-Lean/CLRSLean/FourthEdition/Chapter_35/Section_35_1_The_Vertex_Cover_Problem/)</sup> |
| 文献引用的 FPT 指数 | Niedermeier 等人给出 O*(1.129175<sup>k</sup>)<sup>[5](https://link.springer.com/article/10.1186/s13673-020-00226-w)</sup>；2024 年一个设计更简单的算法达到 O*(1.2575<sup>k</sup>)<sup>[6](https://drops.dagstuhl.de/storage/00lipics/lipics-vol289-stacs2024/LIPIcs.STACS.2024.40/LIPIcs.STACS.2024.40.pdf)</sup> |
| 近似困难性 | 在度为 d 的图上，Unique Games 困难性下界为 2 − (2+o_d(1)) · loglog d / log d<sup>[7](https://toc.cs.uchicago.edu/articles/v007a003/)</sup> |
| 应用 | 生物信息学<sup>[1](https://link.springer.com/article/10.1007/s00224-012-9393-4)</sup>；无线传感器网络任务，如链路故障监测、设施选址、聚类和数据聚合<sup>[8](https://arxiv.org/abs/1402.2140)</sup> |

## 计算状态

计算最小顶点覆盖是 NP 难的，因此除非 P = NP，否则不指望有多项式时间算法能在一般图上精确求解该问题<sup>[4](https://tanktechnology.github.io/CLRS-Lean/CLRSLean/FourthEdition/Chapter_35/Section_35_1_The_Vertex_Cover_Problem/)</sup>。由于该问题结构简单，它一直是参数化复杂性中新技术的理想试验台<sup>[1](https://link.springer.com/article/10.1007/s00224-012-9393-4)</sup>。若一个参数化问题的实例 (x, k) 可在 f(k)·|x|<sup>c</sup> 时间内判定，其中 f 为可计算函数、c 为常数，则称该问题是固定参数可处理的（FPT）<sup>[1](https://link.springer.com/article/10.1007/s00224-012-9393-4)</sup>，而以解的大小 k 为参数的顶点覆盖问题是 FPT 问题的典范。

## 精确算法与参数化算法

**分支。** 最简单的参数化算法是递归有界搜索树：选取一个顶点 v，分支为将 v 纳入覆盖，或舍弃 v 并将其所有邻居纳入覆盖，朴素形式的时间为 O*(2<sup>n</sup>)<sup>[9](https://www.sciencedirect.com/science/article/am/pii/S030439751500852X)</sup>。数十年的改进已产生好得多的指数。一篇参数化算法综述将 O*(1.129175<sup>k</sup>) 时间的顶点覆盖 FPT 算法归功于 Niedermeier 及其合作者<sup>[5](https://link.springer.com/article/10.1186/s13673-020-00226-w)</sup>。2024 年一篇 STACS 论文提出了一个相对简单的算法，运行时间为 O*(1.2575<sup>k</sup>)，其核心思想是一个同时追踪 k 与顶点覆盖 LP 松弛最优值 λ 的势函数<sup>[6](https://drops.dagstuhl.de/storage/00lipics/lipics-vol289-stacs2024/LIPIcs.STACS.2024.40/LIPIcs.STACS.2024.40.pdf)</sup>。在指数时间假设（即不存在避免指数搜索时间的算法这一假设）下，FPT 问题存在一个可处理性谱系，从平面顶点覆盖的略次指数 2<sup>O(√k)</sup>·n<sup>O(1)</sup> 时间，到顶点覆盖本身的单指数 2<sup>O(k)</sup>·n<sup>O(1)</sup> 时间<sup>[10](https://www.mdpi.com/1999-4893/13/6/146)</sup>。

**实践。** 分支归约算法结合了大量分支规则与归约规则，在包括独立集（等价地，顶点覆盖）在内的若干问题上保持着最佳的理论时间界。2016 年的一项案例研究为顶点覆盖实现了这样一个算法，并将其与商业整数规划求解器（CPLEX 12.6）以及在补图上运行的 branch-and-bound（分支定界）最大团求解器 MCS 进行了比较；结果表明，分支归约算法在若干类实例上既实用又具有竞争力<sup>[9](https://www.sciencedirect.com/science/article/am/pii/S030439751500852X)</sup>。PACE 2019 挑战赛顶点覆盖赛道的获胜求解器使用了激进的核化、局部搜索、分支归约以及最先进的 branch-and-bound（分支定界）求解器的组合，其若干技术来自互补的最大独立集与最大团问题的文献<sup>[11](https://epubs.siam.org/doi/10.1137/1.9781611976229.1)</sup>。

## 近似

贪心的 APPROX-VERTEX-COVER 算法总能找到不超过最优解两倍的覆盖，即便计算最小顶点覆盖是 NP 难的<sup>[4](https://tanktechnology.github.io/CLRS-Lean/CLRSLean/FourthEdition/Chapter_35/Section_35_1_The_Vertex_Cover_Problem/)</sup>。这一保证在有界度图上基本是紧的：Per Austrin、Subhash Khot 和 Muli Safra 证明了在度为 d 的图上，顶点覆盖在因子 2 − (2+o_d(1)) · loglog d / log d 内近似是 Unique Games 难的，这与 Halperin（SICOMP 2002）的算法结果除 o_d(1) 项外相匹配<sup>[7](https://toc.cs.uchicago.edu/articles/v007a003/)</sup>。

各种变体各有其近似图景。对于最小和顶点覆盖——一个本身即 NP 难的变体——已知最好的多项式时间近似因子为 16/9，由 Bansal、Batra、Farhadi 和 Tetali 给出（SODA 2021）<sup>[12](https://arxiv.org/abs/2401.05085)</sup>。

## 核化

**核化**是参数化算法的一种预处理技术：在多项式时间内应用一组归约规则，在保持答案不变的同时缩小实例，并且还能产生具有特殊性质的约简实例以辅助 FPT 算法<sup>[5](https://link.springer.com/article/10.1186/s13673-020-00226-w)</sup>。固定参数可处理性中的一个基本结果是：以 k 为参数的问题为 FPT，当且仅当它对于同一参数存在核化算法<sup>[10](https://www.mdpi.com/1999-4893/13/6/146)</sup>。

冠分解（crown decomposition）在参数化计算历史的早期被提出，已成功应用于顶点覆盖的核化，后来又应用于许多其他问题<sup>[5](https://link.springer.com/article/10.1186/s13673-020-00226-w)</sup>。图 G = (V, E) 中的一个冠是三个不相交集合构成的三元组 (I, H, R)，满足 V = I ∪ H ∪ R，其中 I 是非空独立集，H 是 I 的邻居集<sup>[5](https://link.springer.com/article/10.1186/s13673-020-00226-w)</sup>。

Michael R. Fellows、Lars Jaffke、Aliz Izabella Király、Frances A. Rosamond 和 Mathias Weller 的一篇综述讨论了顶点覆盖核化的**屏障度**：存在可核化小度顶点的归约规则，包括将图归约到最小度几乎为五的结果，该综述追问多项式时间核化存在怎样的最小顶点度屏障。在指数时间假设下，这样的最小度屏障确实存在<sup>[13](https://arxiv.org/abs/1811.09429)</sup>。同一综述报告了一个 AI 引导的顶点覆盖分支算法的首批实验结果，其逻辑似乎有助于寻找针对小度顶点的归约规则<sup>[13](https://arxiv.org/abs/1811.09429)</sup>。

核的大小还取决于所选的参数。在以反馈顶点集数 fvs(G)——即删除后使 G 变为森林的最小顶点集的大小——为参数的精细参数化下，无权顶点覆盖问题存在多项式核，而带非负整数顶点权重的加权变体则只有条件性的超多项式核大小下界<sup>[1](https://link.springer.com/article/10.1007/s00224-012-9393-4)</sup>。核化结果还延伸到问题本身之外：许多问题，如 q-着色、奇圈横截和弦删除，在以输入的一个给定顶点覆盖的大小为参数时存在多项式核<sup>[14](https://www.sciencedirect.com/science/article/pii/S0022000013001682)</sup>。

## 作为图参数的顶点覆盖

顶点覆盖不仅是一个问题，其覆盖数还充当其他图问题的结构参数，因为它能处理以树宽为参数时很难的图。其缺点是给它设定上界会严重限制可接受的图类。维也纳技术大学的 Robert Ganian 引入了推广的**孪生覆盖**（twin-cover），它对图结构的限制更小，即使在稠密图上也能取到低值；大量困难问题在以孪生覆盖为参数时存在 FPT 算法，且在该参数下 MS1 模型检测可在初等 FPT 时间内完成<sup>[15](https://dmtcs.episciences.org/en/articles/2136)</sup>。

## 二分图情形

Kőnig 定理指出，在二分图中，最大匹配的大小等于最小顶点覆盖的大小<sup>[3](https://arxiv.org/abs/2004.08636)</sup>。这一等式使最小顶点覆盖问题在二分图上可高效求解：先找到最大匹配，再由此构造最小覆盖<sup>[3](https://arxiv.org/abs/2004.08636)</sup>。该定理是早期组合数学的著名成果，最大流问题的算法可用于求解其背后的二分图匹配问题<sup>[3](https://arxiv.org/abs/2004.08636)</sup>。

## 变体与应用

该问题有许多受约束和推广的形式。连通顶点覆盖以解的大小为参数时是 FPT 的，但在复杂性理论假设下不太可能有多项式大小的核；对每个 α > 1 都存在 α-近似（有损）核<sup>[16](https://arxiv.org/abs/1711.07872)</sup>。3-路径顶点覆盖问题要求选出顶点以击中所有由三个顶点组成的路径，有一个运行时间为 O*(1.713<sup>k</sup>) 的参数化算法<sup>[17](https://arxiv.org/abs/1809.02636)</sup>。

应用涉及多个领域。顶点覆盖在生物信息学中有文献记载的作用<sup>[1](https://link.springer.com/article/10.1007/s00224-012-9393-4)</sup>，顶点覆盖还支持无线传感器网络任务，包括监测链路故障、设施选址、聚类和数据聚合<sup>[8](https://arxiv.org/abs/1402.2140)</sup>。

## References

1. [Vertex Cover Kernelization Revisited, Theory of Computing Systems (Springer)](https://link.springer.com/article/10.1007/s00224-012-9393-4)
2. [Reducibility Among Combinatorial Problems, Richard M. Karp (1972), researchr bibliography](https://researchr.org/publication/Karp72/bibtex)
3. [Mapping Matchings to Minimum Vertex Covers: Kőnig's Theorem Revisited, arXiv](https://arxiv.org/abs/2004.08636)
4. [The Vertex-Cover Problem, CLRS-Lean, Section 35.1](https://tanktechnology.github.io/CLRS-Lean/CLRSLean/FourthEdition/Chapter_35/Section_35_1_The_Vertex_Cover_Problem/)
5. [Parameterized algorithms of fundamental NP-hard problems: a survey, Human-centric Computing and Information Sciences (Springer)](https://link.springer.com/article/10.1186/s13673-020-00226-w)
6. [A Faster Algorithm for Vertex Cover Parameterized by Solution Size, STACS 2024 (LIPIcs vol. 289)](https://drops.dagstuhl.de/storage/00lipics/lipics-vol289-stacs2024/LIPIcs.STACS.2024.40/LIPIcs.STACS.2024.40.pdf)
7. [Inapproximability of Vertex Cover and Independent Set in Bounded Degree Graphs, Theory of Computing, Volume 7 (2011), Article 3](https://toc.cs.uchicago.edu/articles/v007a003/)
8. [Distributed Vertex Cover Algorithms For Wireless Sensor Networks, arXiv](https://arxiv.org/abs/1402.2140)
9. [Branch-and-reduce exponential/FPT algorithms in practice: A case study of vertex cover, Theoretical Computer Science](https://www.sciencedirect.com/science/article/am/pii/S030439751500852X)
10. [A Survey on Approximation in Parameterized Complexity: Hardness and Algorithms, Algorithms (MDPI)](https://www.mdpi.com/1999-4893/13/6/146)
11. [WeGotYouCovered: The Winning Solver from the PACE 2019 Challenge, Vertex Cover Track, SIAM CSC 2020 Proceedings](https://epubs.siam.org/doi/10.1137/1.9781611976229.1)
12. [Parameterized Algorithms for Minimum Sum Vertex Cover, arXiv](https://arxiv.org/abs/2401.05085)
13. [What is known about Vertex Cover Kernelization? Fellows, Jaffke, Király, Rosamond, Weller, arXiv](https://arxiv.org/abs/1811.09429)
14. [Preprocessing subgraph and minor problems: When does a small vertex cover help?, Journal of Computer and System Sciences (ScienceDirect)](https://www.sciencedirect.com/science/article/pii/S0022000013001682)
15. [Improving Vertex Cover as a Graph Parameter, Robert Ganian, Discrete Mathematics & Theoretical Computer Science, vol. 17:2](https://dmtcs.episciences.org/en/articles/2136)
16. [Revisiting Connected Vertex Cover: FPT Algorithms and Lossy Kernels, arXiv](https://arxiv.org/abs/1711.07872)
17. [Parameterized algorithm for 3-path vertex cover, arXiv](https://arxiv.org/abs/1809.02636)

---
*Initially written Sep 17, 2026 · Reviewed: Sep 30, 2026; Oct 15, 2026 · Edited: Oct 15, 2026; Oct 25, 2026 · Last review: Oct 15, 2026*

Topic: 物质世界与数学 › 数学与统计学 › 逻辑与离散数学 › General discrete mathematics and discrete structures › Graph theory › Computational graph problems and algorithms › NP-hard graph problems and their algorithms

Copyright 2026 Edgepedia

License: Edgepedia Community License 1.0, https://www.edgepedia.org/edgepedia/license

Source: https://www.edgepedia.org/zh/vertex-cover

English original: https://www.edgepedia.org/vertex-cover
