首页 > 编程语言 > 详细

[算法作业] 算法概论8.3

时间:2017-12-31 20:37:00      阅读:204      评论:0      收藏:0      [点我收藏+]

STINGY SAT is the following problem: given a set of clauses (each a disjunction of literals) and an interger k, find a satisfying assignment in which at most k variables are true, if such an assignment exists. Prove the STINGY is NP-complete.

答:

因为STINGY SAT的解是可在多项式时间内验证的,属于NP。而SAT可被归约到STINGY SAT(将k设为所有变量的总个数),因此STINGY SAT为NP完全问题。

[算法作业] 算法概论8.3

原文:https://www.cnblogs.com/zmj97/p/8158244.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!