Introduction to Algorithms
Introduction to Algorithms
3rd Edition
ISBN: 9780262033848
Author: Thomas H. Cormen, Ronald L. Rivest, Charles E. Leiserson, Clifford Stein
Publisher: MIT Press
Question
Book Icon
Chapter 35, Problem 4P

a.

Program Plan Intro

To show that a maximal matching need not be a maximum matching by drawing an undirected graph G.

b.

Program Plan Intro

To show that the linear-time greedy algorithm for maximal matching is a 2-approximation algorithm for maximum matching.

c.

Program Plan Intro

To show that the size of a maximum matching in G is a lower bound on the size of any vertex cover for G.

d.

Program Plan Intro

To prove that the number of bins used by the first-fit heuristic is never more than 2S .

e.

Program Plan Intro

To prove an approximation ratio of 2 for the first-fit heuristic.

f.

Program Plan Intro

To give an efficient implementation of the first-fit heuristic, and analyze its running time.

Blurred answer
Students have asked these similar questions
In the figure below there is a weighted graph, dots represent vertices, links represent edges, and numbers represent edge weights. S 2 1 2 1 2 3 T 1 1 2 4 (a) Find the shortest path from vertex S to vertex T, i.e., the path of minimum weight between S and T. (b) Find the minimum subgraph (set of edges) that connects all vertices in the graph and has the smallest total weight (sum of edge weights). 2. 3.
Q2 a Let G be a graph. We say that a set of vertices C form a vertex cover if every edge of G is incident to at least one vertex in C. We say that a set of vertices I form an independent set if no edge in G connects two vertices from I. For example, if G is the graph above, C = [b, d, e, f, g, h, j] is a vertex cover since each of the 20 edges in the graph has at least one endpoint in C, and I = [a, c, i, k] is an independent set because none of these edges appear in the graph: ac, ai, ak, ci, ck, ik. In the example above, notice that each vertex belongs to the vertex cover C or the independent set I. Do you think that this is a coincidence? In the above graph, clearly explain why the maximum size of an independent set is 5. In other words, carefully explain why there does not exist an independent set with 6 or more vertices.
The minimum vertex cover problem is stated as follows: Given an undirected graph G = (V, E) with N vertices and M edges. Find a minimal size subset of vertices X from V such that every edge (u, v) in E is incident on at least one vertex in X. In other words you want to find a minimal subset of vertices that together touch all the edges. For example, the set of vertices X = {a,c} constitutes a minimum vertex cover for the following graph: a---b---c---g d e Formulate the minimum vertex cover problem as a Genetic Algorithm or another form of evolutionary optimization. You may use binary representation, OR any repre- sentation that you think is more appropriate. you should specify: • A fitness function. Give 3 examples of individuals and their fitness values if you are solving the above example. • A set of mutation and/or crossover and/or repair operators. Intelligent operators that are suitable for this particular domain will earn more credit. • A termination criterion for the…
Knowledge Booster
Background pattern image
Similar questions
SEE MORE QUESTIONS
Recommended textbooks for you
Text book image
Database System Concepts
Computer Science
ISBN:9780078022159
Author:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:McGraw-Hill Education
Text book image
Starting Out with Python (4th Edition)
Computer Science
ISBN:9780134444321
Author:Tony Gaddis
Publisher:PEARSON
Text book image
Digital Fundamentals (11th Edition)
Computer Science
ISBN:9780132737968
Author:Thomas L. Floyd
Publisher:PEARSON
Text book image
C How to Program (8th Edition)
Computer Science
ISBN:9780133976892
Author:Paul J. Deitel, Harvey Deitel
Publisher:PEARSON
Text book image
Database Systems: Design, Implementation, & Manag...
Computer Science
ISBN:9781337627900
Author:Carlos Coronel, Steven Morris
Publisher:Cengage Learning
Text book image
Programmable Logic Controllers
Computer Science
ISBN:9780073373843
Author:Frank D. Petruzella
Publisher:McGraw-Hill Education