What's the difference between uniform-cost search and Dijkstra's algorithm?

Grief Coder picture Grief Coder · Oct 9, 2012 · Viewed 32.6k times · Source

I was wondering what's the difference between uniform-cost search and Dijkstra's algorithm. They seem to be the same algorithm.

Answer

NotAUser picture NotAUser · Oct 18, 2012

Dijkstra's algorithm, which is perhaps better-known, can be regarded as a variant of uniform-cost search, where there is no goal state and processing continues until all nodes have been removed from the priority queue, i.e. until shortest paths to all nodes (not just a goal node) have been determined

http://en.wikipedia.org/wiki/Uniform-cost_search#Relationship_to_other_algorithms