Solve problem using b-approximation algorithm

Assignment Help Theory of Computation
Reference no: EM133040367

Question 1. Let C(G, k) denote the decision problem of whether the undirected graph G = (V, E) has a subset of vertices V' ⊆ V such that |V'| = k and there is an edge connecting every pair of vertices in V'. Prove that C(G, k) is NP-Complete.

Question 2. Given two graphs H = H(VH, EH) and G = G(VG, EG), H is a subgraph of G if VH ⊆ VG and EH ⊆ EG. Let X be the following problem:

INPUT: Two undirected graphs H and G
OUTPUT: Is H a subgraph of G?

Using the NP-completeness of problem C(G, k) from the previous question, show that X is NP-Complete too.

Question 3. Consider the following problem: As input, you are given a list of squares S1, S2,......,Sm, in the plane, all distinct from one another. Each square has side-length exactly 2, and the bottom-left corner of each square is located at integer coordinates (x, y) ∈ Z2.

The goal is to find the largest subset C ⊆ [m] such that for all distinct i, j ∈ C, Si, and Sj do not intersect. Give a 4-approximation algorithm solving this problem. That is, give an algorithm which outputs a set C of non-overlapping squares such that |C| ≥ 1/4 |C*| where C* is the largest set of non-overlapping squares.

Question 4. Given a set U = {u1, , un}, natural number b, and S1, ..., Sm, ⊆ U such that |Si| ≤ b for all i = 1,....,m. Also, each element ui has weight wui ≥ 0. We say a set S is a hitting set, if S ∩ Si ≠ 0 for every i = 1, 2, ..., m. The problem is to find a hitting set H ⊆ U such that the total weight of the elements in H is minimized. Give a b-approximation algorithm solving this problem.

Question 5. Given a set P of n points on the plane, consider the problem of finding the disk with smallest radius containing all the points in P. Provide a √3-approximation algorithm for this problem that runs in time O(n2).

Reference no: EM133040367

Questions Cloud

What is its new current ratio : Originally, Falcon Corporation's current assets are $400 and current liabilities are $250. What is its new current ratio
What is maximum amount of income on which the company claim : Active Business Income Earned In New York State=126,000. What is the maximum amount of income on which the Company can claim the small business deduction
Critical concerns of the sisters of mercy : Review the benchmarking tools (frameworks and guidelines, standards, certifications, and indices) presented in Ch. 9 of Strategic Corporate Social Responsibilit
Bsbops504-manage business risk : 1. Explain the risk management process. Is possible to answer using a labelled diagram or in words (or both) and must include:
Solve problem using b-approximation algorithm : Find a hitting set H ? U such that the total weight of the elements in H is minimized. Give a b-approximation algorithm solving this problem
Explain accountable and sustainable supply chains : What is the difference between accountable and sustainable supply chains?
What is the present value of his inheritance : Question - Gerard is to inherit $60,000 every three months for the next 4 years. Given an EAR of 8.0%, what is the present value of his inheritance
General characteristics of its information systems : Apply the value chain model to a video game retail company, such as EB Games. What is its competitive strategy?
How can a tax deduction for mortgage interest : 1. How can a tax deduction for mortgage interest result in a subsidy for borrowers?

Reviews

len3040367

12/2/2021 11:04:57 PM

PLEASE GIVE THIS TO A PERSON WHO IS EXPERT IN ALGORITHM DESGIN. PLEASE READ ALL OF THE QUESTIONS AND ANSWER EACH SUBSECTION!

Write a Review

Theory of Computation Questions & Answers

  Finite-state machine design

Create a finite-state machine design to turn your FPGA development board into a simple programmable music box.

  Redundant sequence identi cation

Redundant sequence identi cation

  Compute a shortest superstring

Dynamic programming algorithm to compute a shortest superstring.

  Propositional and predicate logic

Write down a structural induction principle for the PlayTree free type

  Design a syntactic analyzer

Design a syntactic analyzer for the language specified by the grammar

  Design unambiguous grammar to parse expressions

Write a program would read two numbers and then print all numbers between the first and the second, inclusive. Design unambiguous grammar to parse expressions

  Consider a logic function with three outputs

Consider a logic function with three outputs,  A ,  B , and  C , and three inputs,  D ,  E , and  F . The function is defined as follows:  A  is true if at least one input is true,  B  is true

  Considering a single programmed operating system

Considering a single programmed operating system, what is the minimal total time required to complete executions of the two processes? You should explain your answer with a diagram.

  How to construct an nfa

Give a construction that assumes you are given a DFA for L and show how to construct an NFA (with or without ε-moves) to recognize sort(L).

  Equivalence classes to construct minimal dfa for language

How many equivalence classes does this relation have and what are they? Use these equivalence classes to construct the minimal DFA for the language.

  Impact of moore-s law on data center costs

Discuss the impact of Moore's law on data center costs on such things as servers and communications equipment. List at least 3 steps or recommendations your data center can take to offset some or all of the effect of Moore's law.

  Problem encountered in statements in predicate logic

How the problem would be encountered in attempting to represent the following statements in Predicate logic. it should be possible to: John only likes to see French movies.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd