Computing Atlas

How Computing Was Built
Sign In
Text size
100%
Theme
Algorithm

Uniform Cost Search Algorithm

Searching Algorithm

Uniform cost search is a graph search algorithm, used especially in artificial intelligence, that finds the lowest cost path from a starting point to a goal by always expanding whichever frontier node currently has the lowest total path cost from the start, tracked through a priority queue. Rather than working over a graph whose full structure and distances are already known in advance, as classic shortest path problems typically assume, uniform cost search discovers the graph as it goes, adding newly found nodes to its priority queue only as it encounters them, which suits searching very large or effectively infinite spaces such as those found in planning and puzzle solving. The algorithm is essentially Dijkstra's algorithm applied in this incremental, search oriented way rather than to a graph that is entirely known beforehand, and when every edge in the graph has the same cost it reduces exactly to breadth first search, since the priority queue then behaves like an ordinary first in, first out queue.

Facts
Time Complexity
Time Complexity (category)
Polynomial Time -- O(n^k) 1
Classification
Design Technique
Dynamic Programming 1
Connections

Credited To

Source Uniform Cost Search (Wikipedia)

Invented By

Source Uniform Cost Search (Wikipedia)

Uses Design Technique

Sources
1. Uniform Cost Search Algorithm (Wikipedia)
Wikipedia infobox: time complexity polynomial
Quote, Wikipedia infobox: time complexity polynomial
polynomial
View the Source
Uniform Cost Search (Wikipedia)
  • Credited To: Edsger W. Dijkstra, Lead section
    It was conceived by computer scientist Edsger W. Dijkstra in 1956
  • Invented By: Edsger W. Dijkstra, Lead section
    It was conceived by computer scientist Edsger W. Dijkstra in 1956
View the Source
Comments (0)
No comments yet. Be the first to share a thought.
Reader Challenges (0)
No disputes yet. Spotted an error or a better source? Open the first one.