hw_06 - CS 473 Fundamental Algorithms Spring 2012 Homework...

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

View Full Document Right Arrow Icon
CS 473: Fundamental Algorithms, Spring 2012 Homework 6 (due Tuesday, 23:55:00, March 13, 2012) See homework 1. Each student individually have to also do quiz 6 online. Version: 1.11 1. ( 30 pts. ) An Improved Algorithm for MST. Consider Bor˚ uvka’s algorithm for MST as seen in the discussion. Consider a modified al- gorithms for MST that works as follows. It runs Bor˚ uvka’s algorithm for some number of iterations and then switches to Prim’s algorithm (with Fibonacci’s heaps). Show that by appropriately choosing the switching point, one can obtain an algorithm for MST with run- ning time O (( m + n ) log log n ). Describe and analyze the algorithm. Don’t forget to prove correctness. 2. ( 30 pts. ) Amortized Analysis Recall from class the idea of Path-Compression in the Union-Find data structure for maintain- ing disjoint sets. Prove that if Path-Compression is used then the total time for k operations in which all the union operations precede all the
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

This note was uploaded on 04/02/2012 for the course CS 473 taught by Professor Chekuri,c during the Spring '08 term at University of Illinois, Urbana Champaign.

Ask a homework question - tutors are online