Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

a) Suppose that there are 4 students, {A,B,C,D}, and 2 graduation projects, {q,r}. Each student x specifies a set P(x) of projects to work on.

image text in transcribed

a) Suppose that there are 4 students, {A,B,C,D}, and 2 graduation projects, {q,r}. Each student x specifies a set P(x) of projects to work on. For each project y, its supervisor specifies a set S(y) of students to work with: A:{q,r}B:{r}C:{q,r}D:{r}q:{A,C}r:{B,C,D} Explain (step by step, showing each iteration) how the Edmonds-Karp algorithm can be used to assign projects to the maximum number of students, such that the following conditions hold: - no student is matched to two different projects, - no project is assigned to two different students, - no student x is matched to a project that is not in P(x), and - no project y is assigned to a student that is not in S(y). ) What is the worst-case asymptotic time complexity of using the Edmonds-Karp algorithm to assign m students to m projects, subject to the conditions in (a) above? Please explain. c) Prove that the following problem is NP-hard: Given a graph G and a positive integer k, is there a spanning tree of G that contains at most k leaves

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Advances In Databases And Information Systems 22nd European Conference Adbis 2018 Budapest Hungary September 2 5 2018 Proceedings Lncs 11019

Authors: Andras Benczur ,Bernhard Thalheim ,Tomas Horvath

1st Edition

3319983970, 978-3319983974

More Books

Students also viewed these Databases questions

Question

Distinguish between poor and good positive and neutral messages.

Answered: 1 week ago

Question

Describe the four specific guidelines for using the direct plan.

Answered: 1 week ago