智者不为愚者谋,勇者不为怯者死。这篇文章主要讲述独立集与顶点覆盖相互规约问题相关的知识,希望能为你提供帮助。
目录
-
1.1 Theorem. INDEPENDENT-SET ≡ P VERTEX-COVER.
- 1.1.1 证明充分性
- 1.1.2 证明必要性
1.1 Theorem. INDEPENDENT-SET ≡ P VERTEX-COVER.Pf. We show S is an independent set of size k iff V ? S is a vertex cover
of size n – k.
如果图S有一个顶点个数为K的独立集存在的条件是:当且仅当V-S顶点覆盖的大小为n-k;
1.1.1 证明充分性
?
- Let S be any independent set of size k.
- V ? S is of size n – k.
- Consider an arbitrary edge (u, v) ∈ E.
- S independent ? either u ? S, or v ? S, or both.
? either u ∈ V ? S, or v ∈ V ? S, or both.
Thus, V ? S covers (u, v).
【独立集与顶点覆盖相互规约问题】?
- Let V ? S be any vertex cover of size n – k.
- S is of size k.
- Consider an arbitrary edge (u, v) ∈ E.
- V ? S is a vertex cover ? either u ∈ V ? S, or v ∈ V ? S, or both.
? either u ? S, or v ? S, or both.
Thus, S is an independent set.
推荐阅读
- 回溯算法小细节
- Vertex cover reduces to set cover
- linux操作指南-03
- 每日开源 | 一个 Java 接口快速开发框架(magic-api)
- Planar graph and map 3-colorability reduce to one another
- XML – E4X概述
- Satisfiability
- 消息列队基础
- 滤镜也能复制粘贴(视频编辑服务专属滤镜一键搞定)