Question: Answer for me CS 3 4 3 Artificial Intelligence Homework 1 : Search Due: Wednesday, Sept. 1 5 , 2 0 1 0 8 -
Answer for me
CS Artificial Intelligence Homework : Search
Due: Wednesday, Sept.
puzzle is a board game with tiles numbered through located on a grid, leaving one space blank. Tiles adjacent to the blank space can be slid into it vertically or horizontally. The goal of the game is to reach the following board position:
table
Each state in the state space corresponds to a particular position on the board. There are four operators, corresponding to the blank space moving upU leftL downD or rightR For questions and start from the following board position:
table
Let the operators be evaluated in the following order:
i D
ii U
iii. L
iv R
When you draw your search trees, draw the board configuration at each node to represent the state at that node. Note that expanded is different from generated; expansion occurs when a node's successors are generated. Also remember that you don't need to generate states that have already been generated, ie assume all repeated states are detected and removed. Except for Aquestion you can assume that a goal state is detected and the search terminated the instant the goal state is generated. You do not need to wait until it is eventually expanded to notice that it is a goal. For Aand uniform cost to ensure optimality, it is important NOT to stop when a goal is generated but to wait until it is actually chosen for expansion. This is to avoid the situation where a goal is first generated via a nonoptimal path.
Draw the search tree resulting from breadthfirst search. Label the nodes in the order in which they are expanded.
Draw the search tree resulting from depthfirst search with a depth limit of four that is the maximum length of a path in a tree is four Label the nodes in the order in which they are expanded. What are the advantages and disadvantages of breadthfirst and limited depthfirst search for this problem? Would depthfirst search with no limit be a better or worse approach? Why?
For questions and start from the following board position:
table
Let the operators be evaluated in the following order:
i U
ii D
iii. L
iv R
Consider a heuristic function number of tiles that are not in the correct place. Draw the search tree resulting from bestfirst search using this heuristic function. Assume that ties are broken in favor of a position that is deeper in the tree. After this, break the tie in favor of the node that was generated first. Label the nodes in the order in which they are expanded. Also, mark the value of each node.
Draw the search tree resulting from using where g is the number of operators executed and h is the heuristic function above. Label the nodes in the order in which they are expanded. Also, mark the value of each node just mark not or
Consider a heuristic function number of tiles that are not in the correct row plus number of tiles that are not in the correct column. Draw the search tree resulting from bestfirst search using this heuristic function, labeling the nodes in the order in which they are expanded and with their h value. Is this heuristic admissable? Why or why not? Is it better than heuristic above?
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
