{[ promptMessage ]}

Bookmark it

{[ promptMessage ]}

Prelim1_q3sol - 3(30 Consider a n u ndirected g raph G =(V...

Info icon This preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
3. (30) Consider an undirected graph G = (V, E), where each undirected edge {i,j} has a corre- sponding cost c{ i, j}, which is an input to the minimum spanning tree problem. Suppose that V {I, 2, ... , 20}. You have already computed a minimum spanning tree in the graph G, but have lost part of the answer. You still know all of the edges with both endpoints among the nodes {I, 2, ... , 10} (there are k of them). You also still know all of the edges with both endpoints among the nodes {ll, 12, ... ,20} (there are C of them). What you have lost are all of the edges that have one endpoint among the nodes {I, 2, ... , 1O} and one endpoint among the nodes {ll, 12, ... , 20} . (a) (15) How many edges have you los~~Hint: how many edges are there in the minimum spanning tree?) A ItA S T "Uob 1i.:;'6'" \ -:: 1,0-1 ~ (9 t.O'jt'!l. We. .,.",., ..... k +1 eJ.j~ 1. C We need tq-~ .... J r-1&lrL (b) (15) Suppose that the following table gives a complete list of all of the edges in G with one endpoint in {I, 2, ... ,10} and one endpoint in {ll, 12, ... ,20}. Furthermore, suppose that k C = 9. Explain how you can use this information to recompute the missing part of the minimum spanning tree. (Once again please note that what is asked for here is the explanation, not just the answer.) Justify your ans·wer as completely as possible. {i,j} c{i,j} {1,13}
Image of page 1
This is the end of the preview. Sign up to access the rest of the document.

{[ snackBarMessage ]}

What students are saying

  • Left Quote Icon

    As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

    Student Picture

    Kiran Temple University Fox School of Business ‘17, Course Hero Intern

  • Left Quote Icon

    I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

    Student Picture

    Dana University of Pennsylvania ‘17, Course Hero Intern

  • Left Quote Icon

    The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

    Student Picture

    Jill Tulane University ‘16, Course Hero Intern