Justify the correctness of the algorithm

Assignment Help Computer Engineering
Reference no: EM133430011

Case Study: someone wants to complete a set of ?? tasks and have a large supply of robots (say, at least ??) to carry them out. These tasks are labeled 1 through ??. Each task takes any robot exactly one minute to complete. These tasks, however, are not independent of one another, so they may not all be executed in parallel. Task ?? needs inputs from each task in a list ???? of tasks. Give an algorithm that takes the ?? lists as input and returns a schedule of tasks to execute each minute so that the total time taken to complete all of the tasks is minimized.

Questions:

(a) Describe precisely what ther algorithm is given as input and what it needs to output.

(b) Write the algorithm in pseudocode.

(c) Justify the correctness of the algorithm. The justification does not need to be long or formal, just convincing.

(d) Analyze the running time of the algorithm in terms of ?? and ??, where ?? is the total length of the ?? lists. To obtain full credit for part (b), the algorithm must run in time ??(?? + ??).

 

Reference no: EM133430011

Questions Cloud

Discuss role of ideology and vision in formulation : Discuss the role of ideology and vision in formulation of sustainability practices.
Explain networking in server virtualization or network : Explain networking in server virtualization or network virtualization.
Barriers do service providers and policy makers construct : What barriers do service providers and policy makers construct, either intentionally or unintentionally, that prevent poor families from accessing resources?
Identify the best hardware platform to be used in order : Identify the best hardware platform to be used in order to execute the vector addition. Examine what is the best programming technique to perform the vector
Justify the correctness of the algorithm : Describe precisely what ther algorithm is given as input and what it needs to output. Write the algorithm in pseudocode. Justify the correctness
Grimke sisters talk truth to power : The Grimke Sisters document is called Grimke Sisters Talk Truth to Power. What truths did they speak and who were they addressing?
Average Canadian to implement idea : How easy do you think it will be for the average Canadian to implement this idea/research finding?
Current understanding of power-privilege and oppression : How does hate and violence against Asians connect to race or ethnicity, and to your current understanding of power, privilege, and oppression
Sense of belonging and direction for society : Does following a particular ideology close the mind to new ideas and lead to hatred, or does it provide a sense of belonging and a direction for society?

Reviews

Write a Review

Computer Engineering Questions & Answers

  Integrate the research and analysis from the previous

one of the most common business tools during organizational assessment is the strengths weaknesses opportunities and

  Write a paper on the tcp-ip protocol suite

You will type a three to five page paper on the TCP/IP Protocol suite, its history and application. You may use the textbook in addition to researching.

  Pda and cell phone investigations

One of the aspects of the forensics procedure will be to secure and analyze the PDAs and Cell phones. What kinds of the tools may be selected for use in PDA and Cell phone investigations.

  What are the differences between a policy and a practice

What are the differences between a policy, a standard, and a practice? What are the three types of security policies? Where would each be used?

  Post substantive comments on the threads

Select AT LEAST 3 other students' threads and post substantive comments on those threads. Your comments should extend the conversation started with the thread.

  Create a shippedorder class that derives from order

A ShippedOrder has a $4.00 shipping fee regardless of how many times it is ordered so each total order must add $4.00 to the total. total = quantity * PRICEEACH + SHIPPING_FEE

  Create a function that can normalize the input data by

Write a function that can find the numbers which are divisible by 7 but are not a multiple of 5.

  What other changes would also be required

What reuse factor is permissible? If the cell size is reduced to increase capacity, what other changes would also be required?

  Explain the name of method used to perform the conversion

Complete the MultiConverter program. Have a total of six conversion buttons to convert between Inch to Cm, Cm to Inch, and two other pairs of conversion.

  How would we provide preventive maintenance in the case

IT 101 American National University Why is preventative maintenance a better idea than reactive maintenance (fixing only when broken)? For example, how would

  Create a play list class that takes a list of sound and play

Create a Play List class that takes a list of sounds and play them one at a time. Use the methods in the Picture class to draw a smiling face.

  What type of network has no specific geographical

A network uses an IEEE 802.11 standard to establish connections. What type of network is this and What type of network has no specific geographical restrictions

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