Go home

Informed Search

Uniform Cost Search (UCS)

Also known as Dijkstra's algorithm, UCS is similar to BFS except instead of maintaining a constant depth as it explores new nodes, it explores the next cheapest edge, keeping a (roughly) constant cost across its frontier. To achieve this, it is simply BFS but instead of a queue, it uses a priority queue where the priority is based on cost.

Heuristic Functions

Example: Manhattan Distance

h(n,n)=|xnxn|+|ynyn|

Admissible? Yes

Consistent? Yes

Greedy Best First Search (GBFS)

A Search

Beam Search