Question

In the figure below, which nodes (if any) will be pruned using alpha-beta pruning, assuming successor nodes are always explored left to right? (Select all that apply, or "None of the nodes will be pruned" if no nodes can be pruned.)

A MAX D MIN d d2 C3 bibi C2 14 5 2 6 4 2 12 8 3 TERMINAL CO

b1

b3

b3

c1

c2

c3

d1

d2

d3

None of the nodes will be pruned

0 0
Add a comment Improve this question Transcribed image text
Answer #1
  1. Conditions for alpha-beta pruning is α>=β.
  2. Max turns only updates the value of alpha
  3. Min turns only updates the value of beta.
  4. Values of alpha and beta are passed to child nodes.
  5. At the time of backtracking, node values of the tree are passed to parent nodes instead of values of alpha and beta.

α= -∞, β= +∞

МАX az B MIN di di d: by bi bz 14 5 4 12 8 TERMINAL

  1. At node A the values of α= -∞, β= +∞, these alpha and beta are passed to node B.so now at node B the values are α= -∞, β= +∞.
  2. At node B it is the turn of Min, where the value of β will be updated. So the value of Beta will be compared with.
    1. First terminal node of B. min (∞, 3) = 3. Now β = 3
    2. Second terminal node of B compared with update β. Min (3, 8) = 3
    3. Third terminal with updated β. Min(3, 12) = 3
    4. Now the value of 3 is replaced as value of Node B.
  3. Now on backtracking we reach to node A. now it’s turn of Max. With all the available node values. Max (-∞, 3) = 3. Now the alpha value is 3 and beta is +∞.
  4. Now alpha and beta values are passed to Node C. It’s the turn of Min so compare the beta value with
    1. Terminal node 2. Min (∞, 2) = 2. α = 3, β = 2, now α >= β .so the right node of the parent node will be pruned. C2 is pruned.
    2. Now compare the Beta value with terminal node 6. Min (2, 6) is 2. α >= β. So the node 6(C3) will be pruned.
    3. Now the value of Node C is changed to 2.
  5. On backtracking to Node A. Alpha and Beta values are changed. It’s the turn of Max. So Max (3, 2) gives 3. Alpha = 3, Beta = +∞. These values are passed to Node D.
  6. At Node D it’s the turn of Min. So the Beta value are compared as
    1. Terminal node 2. Min (+∞, 2) = 2. Alpha >= Beta so d2 will be pruned.
    2. Terminal node 14. Min(2, 14) = 2. Alpha >= Beta so d3 will be pruned.
    3. Finally the value of Node D set to 2
  7. On Backtracking to Node A. Max(3,2,2) = 3.
  8. Final tree of the problem is.МАХ 2 MIN di C bi b2 14 5 2 6 4 2 12 8 3. TERMINAL

The answer is nodes that are pruned is: c2, c3, d2, d3.

Add a comment
Know the answer?
Add Answer to:
In the figure below, which nodes (if any) will be pruned using alpha-beta pruning, assuming successor...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
  • (Adversarial Search/Games) To solve the following alpha-beta pruning problem: the triangles pointed up represent maximizing nodes....

    (Adversarial Search/Games) To solve the following alpha-beta pruning problem: the triangles pointed up represent maximizing nodes. The triangles pointing down represent minimizing nodes. The [-∞, +∞] are place holders for the alpha-beta bookkeeping for pruning. Alpha is initialized to negative infinity (-∞). Beta is initialized to positive infinity (+ ∞). Please update alpha-beta values for each node and show your answer step by step. -inf, +infA -inf, +inf] [-inf, +inf] B [-inf, +inf] ÀÀ A E 8 2 1 7...

  • Assume that in A1, A2, A3, and A4 you have the values of 1, 2, 3, and 4, respectively. In B1, C1, and D1, have the lette...

    Assume that in A1, A2, A3, and A4 you have the values of 1, 2, 3, and 4, respectively. In B1, C1, and D1, have the letters a, b, and c, respectively. In B2, C2, and D2 you have the letters of d, e, and f, respectively. In B3, C3, and D3 you have the letters of g, h, and i, respectively. What will the command of =VLOOKUP(3,A1:D4,3) return? Group of answer choices h c a g i

  • Show which of sections of the tree could be ignored if alpha-beta pruning were applied. АЛЛАЛЛА...

    Show which of sections of the tree could be ignored if alpha-beta pruning were applied. АЛЛАЛЛА -13 20 | 2 | 3 | 10 | 4 | 13-14-14 1 -19 -2 -14° | 6 | 14 | 12 | 8 | 18 | -14 -6 -16 3

  • Consider the following product mix problem and its associated spreadsheet model. Max           3X1 + 3X2 Subject to:...

    Consider the following product mix problem and its associated spreadsheet model. Max           3X1 + 3X2 Subject to:                   2X1 + 3X2 ≤ 10    (constraint #1)                   3X1 + 2X2 ≤ 20    (constraint #2)                   X1 ≥ 5                   (constraint #3)                   X1, X2 ≥ 0            (non-negativity) X1, X2>0 (non-negativity) A D E F B X1 С X2 1 Total Profit Number to make: Unit Profits: $3 $3 2 3 4 5 Slack/ Surplus Constraints L.H.S. 6 2 R.H.S. 10 20 5 7 2 3 2 0 3 8 3 1...

  • Question #05: CV Integration and the Respiratory System The question for this week is as follows:...

    Question #05: CV Integration and the Respiratory System The question for this week is as follows: Select a position on the question “how good an athlete is the horse”. Do you think the respiratory limitations of this specie (e.g. pulmonary hypertension, exercise induced pulmonary hemorrhage or EIPH) are expression of physiological compensation for a fit athlete, or are they manifestation of a system being “run down to the ground in a very stressed athlete”? Your answer must follow the outline...

  • I need to complete the code by implementing the min function and the alpha betta pruning...

    I need to complete the code by implementing the min function and the alpha betta pruning in order to complete the tic tac toe game using pything. code: # -*- coding: utf-8 -*- """ Created on: @author: """ import random from collections import namedtuple GameState = namedtuple('GameState', 'to_move, utility, board, moves') infinity = float('inf') game_result = { 1:"Player 1 Wins", -1:"Player 2 Wins", 0:"It is a Tie" } class Game: """To create a game, subclass this class and implement actions,...

  • CI OR C D Glve the proper series of reactions, using reagents from the table below,...

    CI OR C D Glve the proper series of reactions, using reagents from the table below, that will carry out the overall transformations shown. (Assume aqueous workup where needed.) 1. Br2 / uv light 2. SOCI2 / THE 3. Mg/Et20 4. Mell/hexane 5. CH3CH2MgCl 6. PhMgBr 7. NaBH4 8. LIAIHA 9. BH3 / ox 10. POCI3/pyridine/ THF 11. CrO3 / THE 12. PCC / CH2Cl2 13. H/H20 14. ELOH/H 15. t-butoxide 16. OH" /H20 17. NH3 18, CO2 19. acetic...

  • 3.) a.) For each of the following pairs of formulas, predict whether the substances they represent...

    3.) a.) For each of the following pairs of formulas, predict whether the substances they represent would react in a precipitation reaction. If there is no reaction, write, "NONE". If there is a reaction, write the complete equation for the reaction. (Use the lowest possible whole number coefficients. Include states-of-matter in your answer.) (a1) NH4Cl(aq) + CaSO3(aq) (a2) NaCl(aq) + Pb(NO3)2(aq) (a3) NaOH(aq) + Zn(NO3)2(aq) b.) When the following solutions are mixed together, what precipitate (if any) will form? (If...

  • Background INFO There are four types of blood: A, B, AB, and O (Figure 4). Each...

    Background INFO There are four types of blood: A, B, AB, and O (Figure 4). Each is characterized by the glycoproteins (proteins with a sugar attached) and lipoproteins (proteins with a lipid attached) embedded in the surface of red blood cells (RBCs). In addition to type, blood can be rhesus (Rh) factor positive or negative. These proteins are inherited and may differ from individual to individual. If, during a transfusion, an individual receives blood with the incorrect RBC proteins (for...

  • 25. In the base in the figure below, which includes the l'carbon of ribose, the number...

    25. In the base in the figure below, which includes the l'carbon of ribose, the number of atoms which are the hydrogen donors in base-pairing H-bonds is ___ A. O B. 1. C. 2 D. 3. E. 4 26. The N-terminal end of the DNA-binding homodimer zipper protein illustrated below is at the left. Amino acid residue 100 is marked. The residue # for the sidechain at the arrow is - A. 106 B. 107 C. 108 D. 93 E....

ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT