{[ promptMessage ]}

Bookmark it

{[ promptMessage ]}

ps2n2proof

# ps2n2proof - 2 Algorithm 1 Multiply the cost of all of the...

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

2. Algorithm : 1. Multiply the cost of all of the edges by -1 2. Perform Kruskal’s on the modified graph to find a maximally spanning tree. 3. Output the modified graph with all of the edges multiplied by -1 again. Complexity : The main part of of the algorithm is the Kruskal’s algorithm, which can theoretically be done in O(|E|log|V|) time. The multiplying each edge by -1 part will take O(|E|) complexity, so the overall runtime sits at O(|E|log|V|) time. Proof of Correctness: In a maximally spanning tree, every single vertex can be reached from every other vertex without going through any cycles. Now suppose that within this tree we select a pair of nodes u and v and the edge e with the lowest bandwidth between these two nodes, then theoretically we can create two disjoint subgraphs that partitions the original tree by severing the edge e. Now let’s assume that this edge e is not within the optimal path O between u and v, where optimality is defined as maximizing the lowest bandwidth within the path. Within the maximum
This is the end of the preview. Sign up to access the rest of the document.

{[ snackBarMessage ]}

### What students are saying

• 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.

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

• 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.

Dana University of Pennsylvania ‘17, Course Hero Intern

• 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.

Jill Tulane University ‘16, Course Hero Intern