Chapter 0: Q35P (page 1)
A subset of the nodes of a graph is a dominating set if every other node of is adjacent to some node in the subset. Let
localid="1663236390542"
Show that it is -complete by giving a reduction from VERTEX-COVER.
Chapter 0: Q35P (page 1)
A subset of the nodes of a graph is a dominating set if every other node of is adjacent to some node in the subset. Let
localid="1663236390542"
Show that it is -complete by giving a reduction from VERTEX-COVER.
All the tools & learning materials you need for study success - in one app.
Get started for freeLet are positive binary integers such that
Show that . (Note that the most obvious algorithm doesn’t run in polynomial time. Hint: Try it first where b is a power of .)
If we disallow in CFGs, we can simplify the -test. In the simplified test, we only need to check that each of ’s accept states has a single rule. Prove that a CFG without passes the simplified -testiff it is a DCFG.
For each part, give a relation that satisfies the condition.
Let CFG be thefollowing grammar.
Give a simple description of in English. Use that description to give a CFG for , the complement of .
Recall, in our discussion of the Church–Turing thesis, that we introduced the language is a polynomial in several variables having an integral root}. We stated, but didn’t prove, thatis undecidable. In this problem, you are to prove a different property of—namely, thatis -hard. A problem is -hard if all problems in are polynomial time reducible to it, even though it may not be initself. So you must show that all problems in are polynomial time reducible to .
What do you think about this solution?
We value your feedback to improve our textbook solutions.