Which value is assigned to alpha and beta in the alpha-beta pruning?ans.Beta = maxAlpha = maxBeta = minBoth Alpha = max & Beta = min Previous Marked for Review Next
Question
Which value is assigned to alpha and beta in the alpha-beta pruning?ans.Beta = maxAlpha = maxBeta = minBoth Alpha = max & Beta = min Previous Marked for Review Next
Solution
In the alpha-beta pruning algorithm, alpha and beta are initially assigned the worst possible values for the maximizing and minimizing player, respectively.
-
Alpha is the best value that the maximizer currently can guarantee at that level or above. It is initially set to negative infinity (-∞), as maximizer wants to get the maximum possible value.
-
Beta is the best value that the minimizer currently can guarantee at that level or above. It is initially set to positive infinity (∞), as minimizer wants to get the minimum possible value.
As the algorithm progresses, these values are updated: alpha is updated when we are at a maximizing level, and beta is updated when we are at a minimizing level. The alpha value will keep increasing and the beta value will keep decreasing as the algorithm progresses.
The pruning occurs when the minimum score that the minimizing player is assured of becomes less than the maximum score that the maximizing player is assured of (i.e., beta < alpha). This means that the maximizing player will choose a move that gives a score greater than beta, so the minimizing player will never choose this branch, as they have a better option. Hence, the remaining nodes in this branch can be pruned.
Similar Questions
Which value is assigned to alpha and beta in the alpha-beta pruning?
The main condition which required for alpha-beta pruning is?a.alpha<=betab.alpha!=betac.alpha=betad.alpha>=beta
Alpha-beta pruning is a modified version of the?a.maximax algorithmb.minimax algorithmc.minimin algorithmd.maximin algorithm
Alpha-Beta pruning can change the final decision made by the Minimax algorithm.
Which of the following is/are false regarding the alpha-beta pruning for the mini-max search algorithm? It can potentially lead to suboptimal solutions compared to mini-max search without any pruning It is guaranteed to improve the running time in-comparison to the mini-max search without any pruning The order in which nodes are visited affects the amount of pruning If the successors of a node are chosen randomly, the time complexity (on average) is O(b3m/4)
Upgrade your grade with Knowee
Get personalized homework help. Review tough concepts in more detail, or go deeper into your topic by exploring other relevant questions.