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

  What information does the malicious process need to know

What information does the malicious process need to know to read the message queue? Explain what is happening with the queue identifiers.

  Explain the typical way that project managers organize

Describe the typical way that project managers organize the programmers' work storage areas. Why is this approach useful?

  Determine general security architecture for the company

Determine general security architecture for the company

  Why has shared virtual memory become a necessity

Why has shared virtual memory become a necessity in building a scalable system with memories physically distributed over a large number of processing nodes?

  What would be the typical improvements

What other databases (Oracle, DB2, etc) would be known to benefit a clerical/job placement (staffing agency) organization using databases.

  Give the definition of the overloaded assignment operator

Give the definition of the overloaded assignment operator for the template class Stack described in Displays 17.17 and 17.19.

  Compromise confidential and sensitive military information

a breach of security on the contractor's computer systems could compromise confidential and sensitive military information

  Give three best practices that operating systems designers

provide three best practices that operating systems designers and developers could use to decide on which cpu

  What features have been added by recent standard revisions

Determine what features have been added by recent standard revisions. What needs are these new features intended to satisfy? Are they being implemented widely?

  How do most operating systems represent a directory

What is the minimum amount of information a directory must contain about each file? How do most operating systems represent a directory?

  Computer applications help minimize the communication

computer applications help minimize the communication barriers experienced over the phone throughout the support

  Familiarize yourself with various views and viewgroups

The purpose of this assignment is to familiarize yourself with various Views and ViewGroups as well as familiarize yourself with MVP and Unit Testing.

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