Docsity

Heuristic Static Evaluator - Artificial Intelligence - Quiz, Exercises of Artificial Intelligence

Toggle sidebar
bg1
CS-271, Intro to A.I. — Quiz # 2 — Fall Quarter, 2010 — 20 minutes
YOUR NAME AND EMAIL ADDRESS:
YOUR ID: ID TO RIGHT: ROW: NO. FROM RIGHT:
1. (25 pts total, 5 pts off each wrong answer, but not negative)MINI-MAX SEARCH IN GAME TREES.
1.a. The game tree below illustrates a position reached in the game. It is MIN's turn to move. Inside each
leaf node is the estimated score of that resulting position returned by the heuristic static evaluator. FILL
IN EACH BLANK SQUARE WITH THE PROPER VALUE ACCORDING TO MINI-MAX SEARCH.
1.b. What is MIN's best move (write A or B)
2. (25 pts max, -5 for each error, but not negative) ALPHA-BETA PRUNING.
This is the same tree and conditions as above. CROSS OUT EACH LEAF NODE THAT WILL NOT BE
EXAMINED BECAUSE IT IS PRUNED BY ALPHA-BETA PRUNING.
You do not need to indicate the branch node values again.
**** TURN PAGE OVER AND CONTINUE ON THE OTHER SIDE ****
(A)
(B)
Min
Max
Max
Min
6
8
4
2
2
7
4
0
4
9
3
3
3
6
2
Min
Max
Max
Min
6
8
4
2
2
7
4
0
4
9
3
3
3
6
2
pf2

Partial preview of the text

Download Heuristic Static Evaluator - Artificial Intelligence - Quiz and more Exercises Artificial Intelligence in PDF only on Docsity!

CS-271, Intro to A.I. — Quiz # 2 — Fall Quarter, 2010 — 20 minutes

YOUR NAME AND EMAIL ADDRESS:

YOUR ID: ID TO RIGHT: ROW: NO. FROM RIGHT:

  1. (25 pts total, 5 pts off each wrong answer, but not negative)MINI-MAX SEARCH IN GAME TREES. 1.a. The game tree below illustrates a position reached in the game. It is MIN 's turn to move. Inside each leaf node is the estimated score of that resulting position returned by the heuristic static evaluator. FILL IN EACH BLANK SQUARE WITH THE PROPER VALUE ACCORDING TO MINI-MAX SEARCH. 1.b. What is MIN's best move (write A or B)
  2. (25 pts max, -5 for each error, but not negative) ALPHA-BETA PRUNING. This is the same tree and conditions as above. CROSS OUT EACH LEAF NODE THAT WILL NOT BE EXAMINED BECAUSE IT IS PRUNED BY ALPHA-BETA PRUNING. You do not need to indicate the branch node values again. ****** TURN PAGE OVER AND CONTINUE ON THE OTHER SIDE ******

(A) (B)

Min

Max

Max

Min

Min

Max

Max

Min

  1. (25 pts max, -5 for each error, but not negative) ALPHA-BETA PRUNING. This is the same conditions as above, except the tree is now the mirror image. CROSS OUT EACH LEAF NODE THAT WILL NOT BE EXAMINED BECAUSE IT IS PRUNED BY ALPHA-BETA PRUNING. You are not obliged to indicate the branch node values, though you will probably find it helpful to do so.
  2. (25 pts max, -5 for each error, but not negative) The following problem asks about MINIMAX search in game trees with chance (also called EXPECTI-MAX search). This is just like MINI-MAX, but there is a coin flip (“COIN”) between each player’s move. If the coin turns up heads, the path labeled “H” is taken; if it turns up tails, the path labeled “T” is taken. The value passed upward from the COIN level is the probabilistic weighted average (the expected value) of the two paths “H” and “T”. Assume a fair coin, i.e., P(H)=P(T)=0.5. Please think carefully about how to pass values upwards from the COIN level before working this problem. The game tree below illustrates one position reached in the game. It is MAX’s turn to move. Below the leaf nodes are the estimated score of each resulting position returned by the heuristic static evaluator. FILL IN ALL BRANCH NODES WITH THE VALUES PASSED UPWARDS FROM THE LEAF NODES. T H H H H H H H H H H T T T T T T T T T

Min

Max

Max

Min

Max

Coin

Coin

Min