YOU ARE DOWNLOADING DOCUMENT

Please tick the box to continue:

Transcript
Page 1: Dijkstra’s  Algorithm: The Basics

Graph Primitives

Dijkstra’s Algorithm: The Basics

Design and Analysis of Algorithms I

Page 2: Dijkstra’s  Algorithm: The Basics

Tim Roughgarden

Single-Source Shortest Paths

Page 3: Dijkstra’s  Algorithm: The Basics

0,1,2,3

0,1,4,7

0,1,4,60,1,3,6

One of the following is the list of shortest-path distances for the nodes , respectively. Which is it?

Page 4: Dijkstra’s  Algorithm: The Basics

Tim Roughgarden

Why Another Shortest-Path Algorithm?

Page 5: Dijkstra’s  Algorithm: The Basics

Tim Roughgarden

Dijkstra’s Algorithm

Page 6: Dijkstra’s  Algorithm: The Basics

Tim Roughgarden

Example

Page 7: Dijkstra’s  Algorithm: The Basics

Tim Roughgarden

Non-Example


Related Documents