Docsity

Min-Conflicts Heuristic - Artificial Intelligence - Quiz, Exercises of Artificial Intelligence

Toggle sidebar
bg1
CS-271, Intro to A.I. — Quiz#2 — Fall Quarter, 2011 — 20 minutes
YOUR NAME AND EMAIL ADDRESS:
YOUR ID: ID TO RIGHT: ROW: NO. FROM RIGHT:
1. (25 pts total, -5 pts for each error, but not negative) MINI-MAX SEARCH IN GAME TREES.
1.a. The game tree below illustrates a position reached in the game. It is Max'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 MINI-MAX SEARCH VALUE.
1.b. What is the best move for Max? (write A, B, or C)
2. (25 pts max, -5 for each error, but not negative) ALPHA-BETA PRUNING. The same tree as above.
CROSS OUT EACH LEAF NODE THAT WILL BE PRUNED BY ALPHA-BETA PRUNING.
You do not need to indicate the branch node values again. The first one is done for you as an example.
**** TURN PAGE OVER AND CONTINUE ON THE OTHER SIDE ****
2
(Min)
(Max)
6
8
5
2
2
2
4
4
5
7
9
8
3
4
1
9
8
4
4
7
1
8
4
2
6
9
(A)
(B)
(C)
2
(Min)
(Max)
6
8
5
2
2
2
4
4
5
7
9
8
3
4
1
9
8
4
4
7
1
8
4
2
6
9
(A)
(B)
(C)
pf2

Partial preview of the text

Download Min-Conflicts Heuristic - Artificial Intelligence - Quiz and more Exercises Artificial Intelligence in PDF only on Docsity!

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

YOUR NAME AND EMAIL ADDRESS:

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

1. (25 pts total, -5 pts for each error, but not negative) MINI-MAX SEARCH IN GAME TREES.

1.a. The game tree below illustrates a position reached in the game. It is Max '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 MINI-MAX SEARCH VALUE.

1.b. What is the best move for Max? (write A, B, or C)

2. (25 pts max, -5 for each error, but not negative) ALPHA-BETA PRUNING. The same tree as above.

CROSS OUT EACH LEAF NODE THAT WILL BE PRUNED BY ALPHA-BETA PRUNING.

You do not need to indicate the branch node values again. The first one is done for you as an example.

**** TURN PAGE OVER AND CONTINUE ON THE OTHER SIDE ****

(Min)

(Max)

(Max)

(A) (B) (C)

(Min)

(Max)

(Max)

(A) (B) (C)

3. (50 pts total, 10 pts each) CONSTRAINT SATISFACTION PROBLEMS. This problem asks about

the Australia Coloring Problem. Each region must be colored one of Red (R), Green (G), or Blue (B).

Neighboring regions must be a different color.

3a. (10 pts total, -5 for each error, but not negative) FORWARD CHECKING. Consider the partial

assignment below. Variable Q has been assigned value R as shown. Cross out all values that would be

eliminated by Forward Checking (FC) after the assignment to variable Q.

WA NT Q NSW V SA T

R G B R G B R R G B R G B R G B R G B

3b. (10 pts total, -5 for each error, but not negative) ARC CONSISTENCY. Consider the partial

assignment below. Variables WA and SA have been assigned values as shown. Cross out all other values

that would be eliminated by Arc Consistency (AC, also called AC-3 in your book).

WA NT Q NSW V SA T

R R G B R G B R G B R G B G R G B

3c. (10 pts total, -5 for each error, but not negative) MINIMUM-REMAINING-VALUES (MRV)

HEURISTIC. Consider the partial assignment below. Variable WA is already assigned value R, and Arc

Consistency is already done. List all unassigned variables that might possibly be selected by the

Minimum-Remaining-Values (MRV) Heuristic:.

WA NT Q NSW V SA T

R G B R G B R G B R G B G B R G B

3d. (10pts total, -5 for each error, but not negative) DEGREE HEURISTIC. Consider the partial

assignment below. (It is the same assignment as in problem 3c above.) List all unassigned variables that

might possibly be selected by the Degree Heuristic:.

WA NT Q NSW V SA T

R G B R G B R G B R G B G B R G B

3e. (10 pts total) MIN-CONFLICTS HEURISTIC. Consider the complete but inconsistent assignment

below. SA has just now been selected to be assigned a new value. What new value would be chosen

below for SA by the Min-Conflicts Heuristic?.

WA NT Q NSW V SA T

R G B R G? B

Australia Coloring Problem Constraint Graph

WA

NT

Q

SA

T

NSW

V