Docsity

Algorithms Theory: Spring 2005 Precept 6 - Min Leaf Spanning Tree & Traveling Salesperson, Exercises of Algorithms and Programming

Toggle sidebar
bg1
COS 423 Theory of Algorithms Spring 2005
Precept 6
1. Given a connected graph Gand a parameter k, determine whether there exists a spanning tree with
at most kleaf nodes. A leaf node is a node of a degree one. Show that 3-Sat ≤pMinimumLeafS-
panningTree.
2. Problem 8.27.
3. Given a set of ncities and pairwise distances d(u, v) between them, the traveling salesperson problem
is to find a tour of minimum length. Show that this search problem is polynomial-time equivalent to
the following decision problem.
Tsp. Given a set of ncities, pairwise distances d(u, v) between them, and an upper bound D,isthere
a tour of length at most D?
1
docsity.com

Partial preview of the text

Download Algorithms Theory: Spring 2005 Precept 6 - Min Leaf Spanning Tree & Traveling Salesperson and more Exercises Algorithms and Programming in PDF only on Docsity!

COS 423 Theory of Algorithms Spring 2005

Precept 6

  1. Given a connected graph G and a parameter k, determine whether there exists a spanning tree with at most k leaf nodes. A leaf node is a node of a degree one. Show that 3-Sat ≤p MinimumLeafS- panningTree.
  2. Problem 8.27.
  3. Given a set of n cities and pairwise distances d(u, v) between them, the traveling salesperson problem is to find a tour of minimum length. Show that this search problem is polynomial-time equivalent to the following decision problem.

Tsp. Given a set of n cities, pairwise distances d(u, v) between them, and an upper bound D, is there a tour of length at most D?

docsity.com