lab03-sol

.pdf

School

Concordia University *

*We aren’t endorsed by this school

Course

6721

Subject

Computer Science

Date

Dec 6, 2023

Type

pdf

Pages

10

Uploaded by CaptainMaskWildcat29

Report
COMP 6721 Applied Artificial Intelligence (Fall 2023) Lab Exercise #3: MiniMax and Alpha-Beta Pruning Solutions Question 1 (a) Consider the game tree shown below. Explore the tree using Alpha-Beta. Indicate all parts of the tree that are pruned, and indicate the winning path or paths. 1
(b) Now do the same for the tree below, which is a mirror image of the tree shown above. 2
(c) Compare the amount of pruning in the above two trees. What do you notice about how the order of evaluation nodes affects the amount of Alpha-Beta pruning? If the evaluated nodes are ordered in the manner described below, then alpha-beta gets maximal pruning. You get maximal cutoff if the left-most descendent of a MAX node has the largest e ( n ) value compared to its siblings. For a MIN level, you get maximal pruning if the left-most descendent has the lowest e ( n ) value compared to its siblings. Question 2 Consider the game tree below. Each node is labelled with a letter, and the evaluation function for each leaf is indicated in parentheses. Assume that the MAX player goes first. (a) Compute the minimax game value of nodes A, B, C, and D using the minimax algorithm. Show all values that are brought up to the internal nodes. What should MAX do? MAX should go right towards state D. 3
(b) Cross out the branches of all the nodes that are not visited by alpha-beta pruning. Show all your work. 4
Your preview ends here
Eager to read complete document? Join bartleby learn and gain access to the full version
  • Access to all documents
  • Unlimited textbook solutions
  • 24/7 expert homework help