The.Algorithm.Design.Manual.Springer-Verlag.1998

The.Algorithm.Design.Manual.Springer-Verlag.1998 The.Algorithm.Design.Manual.Springer-Verlag.1998

18.04.2013 Views

Lecture 17 - minimum spanning trees O(n)? Not quite ... Difficult analysis shows that it takes time, where is the inverse Ackerman function and number of atoms in the universe)=5. Next: Lecture 18 - shortest Up: No Title Previous: Lecture 16 - applications Algorithms Mon Jun 2 09:21:39 EDT 1997 file:///E|/LEC/LECTUR16/NODE17.HTM (11 of 11) [19/1/2003 1:35:14]

Lecture 18 - shortest path algorthms Next: Lecture 19 - satisfiability Up: No Title Previous: Lecture 17 - minimum Lecture 18 - shortest path algorthms Listen To Part 20-7 25.1-1 Give two more shortest path trees for the following graph: Run through Dijkstra's algorithm, and see where there are ties which can be arbitrarily selected. There are two choices for how to get to the third vertex x, both of which cost 5. There are two choices for how to get to vertex v, both of which cost 9. Listen To Part 19-1 Lessons from the Backtracking contest ● As predicted, the speed difference between the fastest programs and average program dwarfed the difference between a supercomputer and a microcomputer. Algorithms have a bigger impact on performance than hardware! ● Different algorithms perform differently on different data. Thus even hard problems may be tractable on the kind of data you might be interested in. ● None of the programs could efficiently handle all instances for . We will find out why after the midterm, when we discuss NP-completeness. ● Many of the fastest programs were very short and simple (KISS). My bet is that many of the enhancements students built into them actually showed them down! This is where profiling can come in handy. file:///E|/LEC/LECTUR16/NODE18.HTM (1 of 10) [19/1/2003 1:35:18]

Lecture 17 - minimum spanning trees<br />

O(n)? Not quite ... Difficult analysis shows that it takes time, where is the inverse<br />

Ackerman function and number of atoms in the universe)=5.<br />

Next: Lecture 18 - shortest Up: No Title Previous: Lecture 16 - applications<br />

<strong>Algorithm</strong>s<br />

Mon Jun 2 09:21:39 EDT 1997<br />

file:///E|/LEC/LECTUR16/NODE17.HTM (11 of 11) [19/1/2003 1:35:14]

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!