析取正态形式和令人满意的是P(DNFSAT)
我正在读到一种以正常形式进行分离的语言,是P语言中的一种语言,但是没有解释,有人可以告诉我为什么吗?
I am reading that a language that is in Disjunctive Normal Form and is satisfiable is a language in P, but there is no explanation, could anyone tell me why?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
要使DNF中的表达式为真,您只需要将其单个析取子句正确即可。典型的子句将是
a ^ b ^ 〜c
或类似的东西,因此您将A和B设置为true,并且C为false。因此,算法将是:
To make an expression that is in DNF be true, you just need to make a single disjunctive clause of it true. A typical clause would be something like
A ^ B ^ ~C
or something like that, and so you set A and B to true and C to false.So the algorithm would be: