《算法概论》P268Ex8.19
题目原文
A kite is a graph on an even number of vertices, say 2n, in which n of the vertices form a clique and the remaining n vertices are connected in a “tail” that consists of a path joined to one of the vertices of the clique. Given a graph and a goal g, the KITE problem asks for a subgraph which is a kite and which contains 2g nodes. Prove that KITE is NP-complete.
题目大意
所谓风筝图是这样的,其顶点数为偶数(比如2n),且其中的n个顶点构成了一个团,剩余的n个顶点则由一条称为“尾巴”的路径连接,尾巴的某个端点与团中一个顶点相连。给定一个图和目标g,求该图的子图,要求所求子图是个包含2g个顶点的风筝图。请证明该问题是NP-完全的。
思路
可以将团问题归约到 KITE 问题。
啥是团(Clique)
一个无向图G(V,E),V是点集,E是边集。取V的一个子集U,若对于U中任意两个点 u 和 v,有边(u,v) ∈ E,那么称U是G

本文探讨了KITE问题,即寻找一个包含2g节点的风筝图子图,证明了这个问题属于NP-完全。通过从团问题归约到KITE问题,解释了如何在多项式时间内完成归约过程。
1万+

被折叠的 条评论
为什么被折叠?



