Question 1 - Depth first search

# Question 1 - Depth first search - Depth first search GOAL...

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

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

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

Unformatted text preview: Depth 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] Root node 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];); 4 BHC AFD ~GE[L] 3(BHC ~FD AGE [U];); 2(BHC A~D GFE[U]; BHC AFD GE~[R];); 5 BHC ~FD AGE[U] 2(BHC A~D GFE[U]; BHC AFD GE~[R];); 6 BHC ~FD AGE[U] 4(~HC BFD AGE[U]; BHC F~D AGE[R];); 2(BHC A~D GFE[U]; BHC AFD GE~[R];); 7 ~HC BFD AGE[U] 4(BHC F~D AGE[R];); 2(BHC A~D GFE[U]; BHC AFD GE~[R];); 8 ~HC BFD AGE[U] 5(H~C BFD AGE[R]); 4(BHC F~D AGE[R]); 2(BHC A~D GFE[U]; BHC AFD GE~[R];); 9 H~C BFD AGE[R] 4(BHC F~D AGE[R]); 2(BHC A~D GFE[U]; BHC AFD GE~[R];); 10 H~C BFD AGE[R] 6(HC~ BFD AGE[R], HFC B~D AGE[D]); 4(BHC F~D AGE[R];); 2(BHC A~D GFE[U]; BHC AFD GE~[R];); Reached NL 6 11 BHC F~D AGE[R]...
View Full Document

{[ snackBarMessage ]}

### Page1 / 3

Question 1 - Depth first search - Depth first search GOAL...

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

View Full Document
Ask a homework question - tutors are online