{[ promptMessage ]}

Bookmark it

{[ promptMessage ]}

Question 1 - Breath first search

Question 1 - Breath first search - Breath first search GOAL...

Info iconThis preview shows pages 1–2. Sign up to view the full content.

View Full Document Right Arrow Icon

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: Breath first search. GOAL STATE = ABC H~D GFE ~ denotes a empty space. NL = Node Level [U] = UP; [D] = Down; [L] = Left; [R] = Right – Denotes the direction the blank space was moved to arrive at the current position. Hueristic: Do not search deeper than six nodes. STEP STATE Queue Notes 1 BHC AFD G~E [NULL] 2 BHC AFD G~E 2(BHC AFD ~GE[L], BHC A~D GFE[U], BHC AFD GE~[R]) 3 BHC AFD ~GE[L] 2(BHC A~D GFE[U], BHC AFD GE~[R]) 3(BHC ~FD AGE[U]) 4 BHC A~D GFE[U] 2(BHC AFD GE~[R]) 3(BHC ~FD AGE[U] - BHC ~AD GFE[L], B~C AHD GFE[U], BHC AD~ GFE[R]) 5 BHC AFD GE~[R] 3(BHC ~FD AGE[U], - BHC ~AD GFE[L], B~C AHD GFE[U], BHC AD~ GFE[R], - BHC AF~ GED[U]) 6 BHC ~FD AGE[U] 3(BHC ~AD GFE[L], B~C AHD GFE[U], BHC AD~ GFE[R], - BHC AF~ GED[U]) 4(BHC F~D AGE[R], ~HC BFD AGE[U]) 7 BHC ~AD GFE[L] 3(B~C AHD GFE[U], BHC AD~ GFE[R], - BHC AF~ GED[U]) 4(BHC F~D AGE[R], ~HC BFD AGE[U], - ~HC BAD GFE[U], BHC GAD ~FE[D]) 8 B~C AHD GFE[U] 3(BHC AD~ GFE[R], - BHC AF~ GED[U]) 4(BHC F~D AGE[R], ~HC BFD AGE[U], - ~HC BAD GFE[U], BHC GAD ~FE[D], - ~BC AHD GFE[L], BC~ AHD GFE[R]) 9 BHC AD~ GFE[R], 3(BHC AF~ GED[U]) 4(BHC F~D AGE[R], ~HC BFD AGE[U], - ~HC BAD GFE[U], BHC GAD ~FE[D], - ~BC AHD GFE[L], BC~ AHD GFE[R], - BH~ ADC GFE[U], BHC ADE GF~[D]) 10 BHC AF~ GED[U] 4(BHC F~D AGE[R], ~HC BFD AGE[U], - ~HC BAD GFE[U], BHC GAD ~FE[D], - ~BC AHD GFE[L], BC~ AHD GFE[R] - BH~ ADC GFE[U], BHC ADE GF~[D] - BHC A~F GED[L], BH~ AFC GED[U]) 11 BHC F~D AGE[R] 4(~HC BFD AGE[U], - ~HC BAD GFE[U], BHC GAD ~FE[D], - ~BC AHD GFE[L], BC~ AHD GFE[R] - BH~ ADC GFE[U], BHC ADE GF~[D] - BHC A~F GED[L], BH~ AFC GED[U]) 5(BHC FD~ AGE[R], B~C FHD AGE[U], BHC FGD A~E[D])...
View Full Document

{[ snackBarMessage ]}

Page1 / 3

Question 1 - Breath first search - Breath first search GOAL...

This preview shows document pages 1 - 2. Sign up to view the full document.

View Full Document Right Arrow Icon bookmark
Ask a homework question - tutors are online