Compare the performance of this algorithm

Assignment Help Basic Computer Science
Reference no: EM131090953

[LSS88] In the parallel formulation of the 0/1 knapsack problem presented in Section 12.2.2, the degree of concurrency is proportional to c, the knapsack capacity. Also this algorithm has limited data locality, as the amount of data to be communicated is of the same order of magnitude as the computation at each processing element. Lee et al. present another formulation in which the degree of concurrency is proportional to n, the number of weights. This formulation also has much more data locality. In this formulation, the set of weights is partitioned among processing elements. Each processing element computes the maximum profit it can achieve from its local weights for knapsacks of various sizes up to c. This information is expressed as lists that are merged to yield the global solution. Compute the parallel run time, speedup, and efficiency of this formulation. Compare the performance of this algorithm with that in Section 12.2.2.

Reference no: EM131090953

Questions Cloud

Gain greater power as the result of hyperinflation : If we were to have an episode of hyperinflation in the United States, what would be the effects? How would it affect your life, personally? What current U.S. political interest groups or parties would likely gain greater power as the result of hyperi..
Growth rate in the money supply : The Quantity Equation MV = PY can be expressed as follows: (Growth Rate in the Money Supply) + (Percentage Change in Velocity) = (Inflation Rate) + (Growth Rate of Real GDP) Given this fact, suppose money velocity falls by 50% because individuals and..
Current trends in operations management : Question 1: Critique and expand upon the statement: Every college graduate should understand the basic principles of the Operations function of a business.
How entrepreneurship can either productive or unproductive : With reference to the theories of Baumol and Schumpeter, and the activities of one or more real world entrepreneurs during the last decade, explain how entrepreneurship can be either productive or unproductive (/destructive)
Compare the performance of this algorithm : Compute the parallel run time, speedup, and efficiency of this formulation. Compare the performance of this algorithm with that in Section 12.2.2.
Calculate the firm highest attainable profit : The firm’s problem is to choose the quantity that maximizes profit, given an exogenous market price P. (b) Does this problem satisfy the global second order condition? Calculate the firm’s highest attainable profit. Calculate the firm’s profit-maximi..
Learned or surprised to learn about : What are three things that you have learned  or surprised to learn about that you didn't know before from the following two sites?- (275 minimum word count)-
Used in project gantt charts and other tracking tools : Assume that a project has an expected total duration of 25 days, but several optimistic employees feel that it can be completed in as little as 18 days, while others expect it to take nearly 40 days. Using PERT calculation, what is the project durati..
Sale occur between the owners and the buyer in case : Consider a piece of property that is jointly owned by two individuals, each of whom owns a one-half share. Suppose that in order to sell owner 1 requires $3,000 for his half share, but owner 2 requires $6,000 for her half share. Suppose instead that ..

Reviews

Write a Review

Basic Computer Science Questions & Answers

  Understand the concepts relating to issues

Understand the concepts relating to issues

  The program by three-dimensional array

Write a small program that will read in 52 cards from a file, shuffle the cards, print the unshuffled deck to the screen, and print the shuffled deck into new file. The unshuffled deck of cards should be represented in the program by three-dimensiona..

  A programming language

What is a list of characters used by a programming language?

  Create a mash up with data from one of these alternative

Create a mash up with data from one of these alternative sources.

  What is meant by semantic query optimization

What is meant by semantic query optimization?

  This assignment is an exercise

If you like, you may write private methods for the Queue class in addition to the methods described above. For example, you may want to write a copyList() method that can be called by both the copy constructor and overloaded assignment operator.

  Identify ways that you might have allowed yourself to accept

How might you go about investigating whether the claim is valid?

  Analyse information security vulnerabilities and threats and

Analyse information security vulnerabilities and threats and determine appropriate controls that can be applied to mitigate the potential risks

  Good meetings in software development life cycle

Provide three words or phrases that explain why "good meetings" are important during the Software Development Life Cycle?

  Write c++ code that rearranges the integers

Write C++ code that rearranges the integers

  Write a program that creates an array of structures

Write a program that creates an array of structures of type Student. The structures must include the following data members (it can have more!): a. A string to hold a first name of no more than 10 characters; b. A string to hold a middle name of no ..

  Classify occurrences as an incident or disaster

Classify each of the following occurrences as an incident or disaster. If an occurrence is a disaster, determine whether or not business continuity plans would be called into play.

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