Exercise 1. A connected component in an undirected graph is a subgraph C with these two properties: C is connected, and no edges exist between nodes in C and nodes outside C. We consider the following problem of splitting a graph into small pieces by deleting some nodes: Given a graph G = (V, E) and an integer c, delete a subset UC V of nodes (and all their incident edges) from G such that, in the remaining graph, every connected component has at most c nodes, and the size |U| is as small as possible. The problem appears, e.g., in data analysis, where the nodes represent data items, an edge means similarity, and the data shall be partitioned into small clusters, thereby neglecting as few data as possible. Give a polynomial-time algorithm with approximation ratio no worse than c+ 1. That is, if there exists a solution U with |U| = k, your algorithm should delete at most (c + 1)k nodes. The approximation ratio is generous, but make sure that you accurately prove it, and argue why you need only polynomial time. Advice: It is tempting to iteratively delete nodes with highest degrees in a greedy fashion, since this deletes many edges. However, this approach will fail, since the number of deleted edges is not quite related to the sizes of the remaining connected components. (This trap is not obvious, therefore we mention it here, to avoid frustration.) Instead, the following way is recommended: First study the special case c = 1 for a while, and then try to generalize your observations.

Advanced Engineering Mathematics
10th Edition
ISBN:9780470458365
Author:Erwin Kreyszig
Publisher:Erwin Kreyszig
Chapter2: Second-order Linear Odes
Section: Chapter Questions
Problem 1RQ
icon
Related questions
Question
Exercise 1.
A connected component in an undirected graph is a subgraph C with these
two properties: C is connected, and no edges exist between nodes in C and
nodes outside C.
We consider the following problem of splitting a graph into small pieces by
deleting some nodes: Given a graph G = (V, E) and an integer c, delete a
subset UC V of nodes (and all their incident edges) from G such that, in
the remaining graph, every connected component has at most c nodes, and
the size |U| is as small as possible.
The problem appears, e.g., in data analysis, where the nodes represent data
items, an edge means similarity, and the data shall be partitioned into small
clusters, thereby neglecting as few data as possible.
Give a polynomial-time algorithm with approximation ratio no worse than
c+ 1. That is, if there exists a solution U with |U| = k, your algorithm
should delete at most (c + 1)k nodes. The approximation ratio is generous,
but make sure that you accurately prove it, and argue why you need only
polynomial time.
Advice: It is tempting to iteratively delete nodes with highest degrees in a
greedy fashion, since this deletes many edges. However, this approach will
fail, since the number of deleted edges is not quite related to the sizes of
the remaining connected components. (This trap is not obvious, therefore
we mention it here, to avoid frustration.) Instead, the following way is
recommended: First study the special case c = 1 for a while, and then try
to generalize your observations.
Transcribed Image Text:Exercise 1. A connected component in an undirected graph is a subgraph C with these two properties: C is connected, and no edges exist between nodes in C and nodes outside C. We consider the following problem of splitting a graph into small pieces by deleting some nodes: Given a graph G = (V, E) and an integer c, delete a subset UC V of nodes (and all their incident edges) from G such that, in the remaining graph, every connected component has at most c nodes, and the size |U| is as small as possible. The problem appears, e.g., in data analysis, where the nodes represent data items, an edge means similarity, and the data shall be partitioned into small clusters, thereby neglecting as few data as possible. Give a polynomial-time algorithm with approximation ratio no worse than c+ 1. That is, if there exists a solution U with |U| = k, your algorithm should delete at most (c + 1)k nodes. The approximation ratio is generous, but make sure that you accurately prove it, and argue why you need only polynomial time. Advice: It is tempting to iteratively delete nodes with highest degrees in a greedy fashion, since this deletes many edges. However, this approach will fail, since the number of deleted edges is not quite related to the sizes of the remaining connected components. (This trap is not obvious, therefore we mention it here, to avoid frustration.) Instead, the following way is recommended: First study the special case c = 1 for a while, and then try to generalize your observations.
Expert Solution
steps

Step by step

Solved in 3 steps with 3 images

Blurred answer
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
Advanced Engineering Mathematics
Advanced Engineering Mathematics
Advanced Math
ISBN:
9780470458365
Author:
Erwin Kreyszig
Publisher:
Wiley, John & Sons, Incorporated
Numerical Methods for Engineers
Numerical Methods for Engineers
Advanced Math
ISBN:
9780073397924
Author:
Steven C. Chapra Dr., Raymond P. Canale
Publisher:
McGraw-Hill Education
Introductory Mathematics for Engineering Applicat…
Introductory Mathematics for Engineering Applicat…
Advanced Math
ISBN:
9781118141809
Author:
Nathan Klingbeil
Publisher:
WILEY
Mathematics For Machine Technology
Mathematics For Machine Technology
Advanced Math
ISBN:
9781337798310
Author:
Peterson, John.
Publisher:
Cengage Learning,
Basic Technical Mathematics
Basic Technical Mathematics
Advanced Math
ISBN:
9780134437705
Author:
Washington
Publisher:
PEARSON
Topology
Topology
Advanced Math
ISBN:
9780134689517
Author:
Munkres, James R.
Publisher:
Pearson,