Approaches to AI 13

ATTENTION: For Q11 thru Q20 all answers must list the nodes in the order visited. A node is deemed visited if it passes goal test or is closed.
A MoveGen function and its equivalent graphical representation is given for a state-space, call it state-space 11.

S is the start state and G is the goal state.
Maintain a CLOSED list to reconstruct the path to a goal.
Nodes returned by MoveGen that are already present in OPEN or CLOSED are not added to OPEN again.

0. DFS algorithm runs on state-space 11 and adds only new nodes to OPEN list.
Identify the search tree (showing both open and closed nodes) produced by DFS algorithm when it picks up the goal node.
Here, dashed circles denote open nodes and solid circles denote closed nodes.

Cancel reply

Your email address will not be published. Required fields are marked *


Cancel reply

Your email address will not be published. Required fields are marked *