Chapter 8: Q13E (page 280)
Determine which of the following problems are NP-complete and which are solvable in polynomial time. In each problem you are given an undirected graph , along with:
(a)A set of nodes , and you must find a spanning tree such that its set of leaves includes the set .
(b)A set of nodes , and you must find a spanning tree such that its set of leaves is precisely the set .
(c)A set of nodes , and you must find a spanning tree such that its set of leaves is included in the set .
(d)An integer , and you must find a spanning tree with or fewer leaves.
(e)An integer , and you must find a spanning tree with or more leaves.
(f)An integer , and you must find a spanning tree with exactly leaves.
Short Answer
- It is solved in polynomial-time.
- The given problem is NP-complete.
- The given problem is NP-complete.
- The given problem is NP-complete.
- It is related to NP-complete.
- It is related to NP-complete.