1.0 - Informed Search

Figure 1 - Informed Search

1.2.1 - Informed Search using Heuristics

Idea - Don't ignore the goal when selecting paths

1.3 - Example Heuristic Functions

1.4 - Heuristic Example

1.4.1 - Euclidean Distance / Bird Flight Distance

Figure 2 - Euclidean Distance

1.4.2 - Manhattan / Taxi-Cab Distance

Figure 3 - Taxicab Distance

2.0 - Greedy Best-First Search (Best-First Search)

2.1 - Node Traversal Example

2.1.1 - Breadth-First Search on UQ Navigation Example

  1. We start at UQ Lakes, and find its successors, AEB and BLD78 (and add them to the frontier)

  2. Explore AEB which has successors Bld50, Bld51, and Bld78 (and add them to the frontier)

    ....

Figure 4 - UQ BFS Example

2.1.2 - Greedy Best-First Search Time & Space Complexity

  1. At depth 1, there is 1 node to explore (UQLake)

  2. At depth 2, there are b nodes to explore (Where b is the branching factor)

  3. At depth 3, there are b2b^2 nodes to explore

  4. At depth d, there are bdb^d nodes to explore.

    ...

    In the worst case, there are bmb^m nodes to explore

If the branching factor is variable, we could take the worst-case branching factor or the average branching factor as the value of $b$ is really only used as an estimate.

2.1.3 - Greedy Best-First Search on UQ Navigation Example

Heuristic values (to Bld7)

  1. (By default) start node added to the PQ

  2. Expand the start node UQLakes

  3. Since Bld78 has the lowest cost, we explore that node first.

  4. Since Bld42 has the lowest cost, we explore that node first

  5. Actual cost = 70+20+60 = 150

PQ UQLakes

PQ ~~UQLakes~~,AEB, Bld78

Visited UQLakes

PQ ~~UQLakes~~,AEB, ~~Bld78~~, Bld52, WS

Visited UQLakes, Bld78

3.0 - A* Search

f(p)f(p) estimates the total path cost of going from a start node to a goal via pp

3.1 - A* Search Algorithm