SLIDE 1
recap ¡
- Describing ¡a ¡state. ¡
- En're ¡state ¡space ¡vs. ¡incremental ¡
- development. ¡
- Elimina'on ¡of ¡children. ¡
- the ¡solu'on ¡path. ¡
- Genera'on ¡of ¡children. ¡
Heuris'c Searches recap Describing a state. En're state - - PowerPoint PPT Presentation
Heuris'c Searches recap Describing a state. En're state space vs. incremental development. Elimina'on of children. the solu'on path. Genera'on
. ¡
. ¡
. ¡
. ¡
. ¡
. ¡
. ¡
. ¡
. ¡
2 8 3 1 6 4 7 5 2 8 3 1 6 4 7 5
2 8 3 1 6 4 7 5
Tiles out
Sum of
distances out
2 x the number
reversals
. ¡
. ¡
K99
. ¡
K99
K99
K99
K99
1 4 3 7 6 5 8 g(n)=0 1 4 3 7 6 5 8 2 1 4 3 7 6 5 8 2 1 4 3 7 6 5 8 2 1 4 3 7 6 5 8 2 1 4 3 7 6 5 8 2 1 4 3 7 6 5 8 2 2 g(n)=1 g(n)=2 h(n)=no. of tiles out of place a) b) c) d) e) f) g)
f(a)=4+0=4 f(c)=3+1=4 f(b)=5+1=6 f(d)=5+1=6 f(e)=3+2=5 f(f)=3+2=5 f(g)=4+2=4