How many subroutine calls are needed

Assignment Help Data Structure & Algorithms
Reference no: EM133121876

Question 1. Consider the following algorithm for the maximum cut problem, based on the technique of local search. Given a partition of V into sets, the basic step of the algorithm, called flip, is that of moving a vertex from one side of the partition to the other. The following algorithm finds a locally optimal solution under the flip operation, i.e., a solution which cannot be improved by a single flip.

The algorithm starts with an arbitrary partition of V. While there is a vertex such that flipping it increases the size of the cut, the algorithm flips such a vertex. (Observe that a vertex qualifies for a flip if it has more neighbors in its own partition than in the other side.) The algorithm terminates when no vertex qualifies for a flip. Show that this algorithm terminates in polynomial time, and achieves an approximation guarantee of 1/2.

Question 2. The hardness of the Steiner tree problem lies in determining the optimal subset of Steiner vertices that need to be included in the tree. Show this by proving that if this set is provided, then the optimal Steiner tree can be computed in polynomial time.

Question 3. Give an approximation factor preserving reduction from the set cover problem to the following problem, thereby showing that it is unlikely to have a better approximation guarantee than O(log n).

Question 4. Show that Algorithm 4.3 can be used as a subroutine for finding a k-cut within a factor of 2 - 2/k of the minimum k-cut. How many subroutine calls are needed?

Question 5. Algorithm - Multiway cut

1. For each i = 1,....,k, compute a minimum weight isolating cut for si, say Ci.

2. Discard the heaviest of these cuts, and output the union of the rest, say C.

Reference no: EM133121876

Questions Cloud

What is the coupon rate : The Blindjammer Co. bonds are currently selling for $1,007.27. These bonds mature in four years, pay interest annually, and have a yield-to-maturity of 8.63%.
Why financial service corporations important : Give a questions and answers about Financial Service Corporations. This is for our reporting and our topic is all about Financial Service Corporations.
What is allied biscuit co estimated intrinsic value : If Allied Biscuit Co. has 600 million shares of common stock outstanding, what is Allied Biscuit Co.'s estimated intrinsic value per share of common stock
Calculate haslam profit margin and liabilities-to-assets : Assume you are given the relationships for the Haslam Corporation: Sales/total asset 1.6. Calculate Haslam's profit margin and liabilities-to-assets ratio
How many subroutine calls are needed : Finds a locally optimal solution under the flip operation - Show that this algorithm terminates in polynomial time, and achieves an approximation guarantee
Determine the percentage of Janitorial costs : The Janitorial and Security departments support the Cutting and Assembly departments. Determine the percentage of Janitorial costs
What is the npv of the project : What is the NPV of the project from the project's perspective?
List the items and amounts that make up the land account : Real estate purchased as plant site (land $190,000 and building $80,000) $270,000. List the items and amounts that make up the Land account
Starting up behavioral health clinic : Why is not for profit business a fit organizational structure for a starting up behavioral health clinic?

Reviews

Write a Review

Data Structure & Algorithms Questions & Answers

  Implement an open hash table

In this programming assignment you will implement an open hash table and compare the performance of four hash functions using various prime table sizes.

  Use a search tree to find the solution

Explain how will use a search tree to find the solution.

  How to access virtualised applications through unicore

How to access virtualised applications through UNICORE

  Recursive tree algorithms

Write a recursive function to determine if a binary tree is a binary search tree.

  Determine the mean salary as well as the number of salaries

Determine the mean salary as well as the number of salaries.

  Currency conversion development

Currency Conversion Development

  Cloud computing assignment

WSDL service that receives a request for a stock market quote and returns the quote

  Design a gui and implement tic tac toe game in java

Design a GUI and implement Tic Tac Toe game in java

  Recursive implementation of euclids algorithm

Write a recursive implementation of Euclid's algorithm for finding the greatest common divisor (GCD) of two integers

  Data structures for a single algorithm

Data structures for a single algorithm

  Write the selection sort algorithm

Write the selection sort algorithm

  Design of sample and hold amplifiers for 100 msps by using n

The report is divided into four main parts. The introduction about sample, hold amplifier and design, bootstrap switch design followed by simulation results.

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