Explain why a yes-instance of q gets turned

Assignment Help Computer Engineering
Reference no: EM132122233

Remember all of the following steps when showing that a problem D is NPcomplete:

1. Show that D is in NP by briefly explaining how to quickly verify a solution to it.

2. Choose another problem Q that is known to be NP-hard (one that we showed in class) and explain how you convert an instance of that problem into an instance of D (this is to show that D is NP-hard).

3. Explain why a yes-instance of Q gets turned into a yes-instance of D.

4. Explain why a no-instance of Q gets turned into a no-instance of D.

Consider the following problem: the input is a list of final tests F1...Fk that need to be scheduled, a list of students S1...Sm each of whom needs to take a certain subset of tests, and a number t which is the number of scheduling timeslots available to put tests in (multiple tests can happen at the same time).

The input is a yes-instance of SCHEDULE if there is a way to assign each test to one of the t timeslots such that no student would have to take two tests at the same time. For example, given the input t = 2, S1 = (F1, F2); S2 = (F1, F3); S3 = (F2); S4 = (F2, F4), this is a yes-instance, since if we schedule F1 and F4 in the first timeslot, and F2 and F3 in the second timeslot, no student has two tests that share the same timeslot.

Prove that this problem is NP-complete (Hint: reduce from 3-COLOR.

In this scheduling problem, we have the restriction that no student can have two tests in the same timeslot. What aspect of coloring a graph is this similar to?)

Reference no: EM132122233

Questions Cloud

Calculate the maturity risk premium on the 2-year treasury : Calculate the maturity risk premium on the 2-year Treasury security
What should the current rate : If the unbiased expectations theory is correct, what should the current rate be on 3-year Treasury securities
What is the relationship between a class and a type : What is the relationship between an interface and a type? What is the relationship between a class and a type?
What is the lottery standard deviation of profit : 1) What is the lottery's standard deviation of profit per ticket?
Explain why a yes-instance of q gets turned : Choose another problem Q that is known to be NP-hard (one that we showed in class) and explain how you convert an instance.
Pros and cons of this disruptive technology : Advanced Professional Development Assignment - Summary of your consideration of the pros and cons of this disruptive technology
Comprehension score in comparison to the population : What should Lucy conclude about Monica's reading comprehension score in comparison to the population?
What is the probability that the sample proportion : If the sample size were 200 what is the probability that the sample proportion would be at least 12.5%? Does this outcome seem likely? Explain.
Which symbol is not used in a context diagram : What is the relationship between a context diagram and diagram 0, and which symbol is not used in a context diagram?

Reviews

Write a Review

Computer Engineering Questions & Answers

  Mathematics in computing

Binary search tree, and postorder and preorder traversal Determine the shortest path in Graph

  Ict governance

ICT is defined as the term of Information and communication technologies, it is diverse set of technical tools and resources used by the government agencies to communicate and produce, circulate, store, and manage all information.

  Implementation of memory management

Assignment covers the following eight topics and explore the implementation of memory management, processes and threads.

  Realize business and organizational data storage

Realize business and organizational data storage and fast access times are much more important than they have ever been. Compare and contrast magnetic tapes, magnetic disks, optical discs

  What is the protocol overhead

What are the advantages of using a compiled language over an interpreted one? Under what circumstances would you select to use an interpreted language?

  Implementation of memory management

Paper describes about memory management. How memory is used in executing programs and its critical support for applications.

  Define open and closed loop control systems

Define open and closed loop cotrol systems.Explain difference between time varying and time invariant control system wth suitable example.

  Prepare a proposal to deploy windows server

Prepare a proposal to deploy Windows Server onto an existing network based on the provided scenario.

  Security policy document project

Analyze security requirements and develop a security policy

  Write a procedure that produces independent stack objects

Write a procedure (make-stack) that produces independent stack objects, using a message-passing style, e.g.

  Define a suitable functional unit

Define a suitable functional unit for a comparative study between two different types of paint.

  Calculate yield to maturity and bond prices

Calculate yield to maturity (YTM) and bond prices

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