Question: = Question 3: As input, we are given an undirected graph G (V, E) and a set of tokens T, where T| > |El. We

= Question 3: As input, we are given an undirected graph G (V, E) and a set of tokens T, where T| > |El. We have to assign a token t(e) e T to every edge e E E in such a way that: for every token t ET and every node v EV, at most 2 edges adjacent to the node v gets the token t. Our goal is to minimize the number of tokens in T that get assigned to at least one edge in E. Design a polynomial-time greedy algorithm for this problem, and derive an upper bound on its approxi- mation ratio. Try to ensure that the derived upper bound on the approximation ratio is as small as possible. = Question 3: As input, we are given an undirected graph G (V, E) and a set of tokens T, where T| > |El. We have to assign a token t(e) e T to every edge e E E in such a way that: for every token t ET and every node v EV, at most 2 edges adjacent to the node v gets the token t. Our goal is to minimize the number of tokens in T that get assigned to at least one edge in E. Design a polynomial-time greedy algorithm for this problem, and derive an upper bound on its approxi- mation ratio. Try to ensure that the derived upper bound on the approximation ratio is as small as possible
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
