Understanding Dijkstra's Algorithm
aos.github.io
Understanding Dijkstra's Algorithm
1–10 of 11 posts
Re: Understanding Dijkstra's Algorithm
#2Dijkstra’s algorithm is on page 36 and explained in 8 paragrpahs.
Re: Understanding Dijkstra's Algorithm
#3Re: Understanding Dijkstra's Algorithm
#4I can highly reccomend the book “mazes for programmers” which introduces a lot of graph related alorithms in a clear, accessible way. Dijkstra’s algorithm is on page 36 and explained in 8 paragrpahs. https://media.pragprog.com/titles/jbmaze/first.pdf
Re: Understanding Dijkstra's Algorithm
#5Dijkstra's algorithm seems rather obvious to me, as I discovered it myself after I head the problem description. A note in my diary seems to imply that I implemented it in LISP.
Re: Understanding Dijkstra's Algorithm
#6First finish your bread, and only then attempt the search.
Re: Understanding Dijkstra's Algorithm
#7Then I found out that Dijkstra's algorithm is 'just' A* where the heuristic function is zero. :| Which is both incredibly simple and intuitive.
Re: Understanding Dijkstra's Algorithm
#8Re: Understanding Dijkstra's Algorithm
#9I find Floyd–Warshall algorithm much more facinating. It took me almost 25 years to realize that it was different from the algorithm that I had deviced myself for solving the problem. Dijkstra's algorithm seems rather obvious to me, as I discovered it myself after I head the problem description. A note in my diary seems to imply that I implemented it in LISP.
Re: Understanding Dijkstra's Algorithm
#10I can highly reccomend the book “mazes for programmers” which introduces a lot of graph related alorithms in a clear, accessible way. Dijkstra’s algorithm is on page 36 and explained in 8 paragrpahs. https://media.pragprog.com/titles/jbmaze/first.pdf