Alert icon
We're changing our privacy policy. This stuff matters.  Learn more  Dismiss

Dijkstra's Algorithm example

Loading...

Sign in or sign up now!
Alert icon
Upgrade to the latest Flash Player for improved playback performance. Upgrade now or more info.
18,820
Loading...
Alert icon
Sign in or sign up now!
Alert icon

Uploaded by on May 15, 2011

My attempt to explain Dijkstra's Algorithm (shortest route) through an example.
Please let me know of any mistakes!
Also, my voice is terrible so I put Mozart's Sonata no. 16 (or simply K545) as the background music.

Category:

Education

Tags:

License:

Standard YouTube License

  • likes, 2 dislikes

Link to this comment:

Share to:

Top Comments

  • i feel so posh right now :D

  • I'd probably use the word 'cost' instead of 'distance'.

see all

All Comments (11)

Sign In or Sign Up now to post a comment!
  • awesome awesome!!!! wickedly done... and the classical music background made it quite nice to understand

  • finally i get the point.. thanks dude..

  • You've just made it look so easy.

  • @shutterbugsow u only update the distance if the new distance is smaller. In this case, the old distance is 7 and the new distance is 10 so u don't update it.

  • You went wrong with the vertex f. Its distance value should be update to 10,while calculating its distance when vertex i is selected.

  • thanks a lot!

  • Wow, this is great! Thank you so much, you helped me understanding it ;)

Loading...
Alert icon
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more