Ask your own question, for FREE!
Computer Science 15 Online
OpenStudy (anonymous):

quyz plz help

OpenStudy (anonymous):

OpenStudy (anonymous):

plz help

OpenStudy (anonymous):

moha Is it C language or java?

OpenStudy (anonymous):

http://cs.ucla.edu/~rosen/161/notes/alphabeta.html try this

OpenStudy (anonymous):

ammmmmmmm may be java

OpenStudy (anonymous):

anaas can u plz guide me to solve

OpenStudy (anonymous):

moha its an algorithm let me read it first then i can guide ok

OpenStudy (anonymous):

okay thank u very much

OpenStudy (anonymous):

Alpha-beta pruning is a search algorithm that seeks to decrease the number of nodes that are evaluated by the minimax algorithm in its search tree.

OpenStudy (anonymous):

In computer science, a search algorithm is an algorithm for finding an item with specified properties among a collection of items

OpenStudy (anonymous):

Minimax (sometimes minmax) is a decision rule used in decision theory, game theory, statistics and philosophy for minimizing the possible loss for a worst case (maximum loss) scenario.

OpenStudy (anonymous):

alright

OpenStudy (anonymous):

It is an adversarial search algorithm used commonly for machine playing of two-player games (Tic-tac-toe, Chess, Go, etc.). It stops completely evaluating a move when at least one possibility has been found that proves the move to be worse than a previously examined move. Such moves need not be evaluated further. When applied to a standard minimax tree, it returns the same move as minimax would, but prunes away branches that cannot possibly influence the final decision.

OpenStudy (anonymous):

okay

OpenStudy (anonymous):

Pseudocode: function alphabeta(node, depth, α, β, Player) if depth = 0 or node is a terminal node return the heuristic value of node if Player = MaxPlayer for each child of node α := max(α, alphabeta(child, depth-1, α, β, not(Player) )) if β ≤ α break (* Beta cut-off *) return α else for each child of node β := min(β, alphabeta(child, depth-1, α, β, not(Player) )) if β ≤ α break (* Alpha cut-off *) return β (* Initial call *) alphabeta(origin, depth, -infinity, +infinity, MaxPlayer)

OpenStudy (anonymous):

Beta is the minimum upper bound of possible solutions

OpenStudy (anonymous):

Alpha is the maximum lower bound of possible solutions

OpenStudy (anonymous):

okay thoes just assumption right

OpenStudy (anonymous):

???

OpenStudy (anonymous):

ur two last response i meant

OpenStudy (anonymous):

yes

OpenStudy (anonymous):

Thus, when any new node is being considered as a possible path to the solution, it can only work if: alpha <= N <= beta

OpenStudy (anonymous):

alright

OpenStudy (anonymous):

@moha_10 http://cs.ucla.edu/~rosen/161/notes/alphabeta.html there are couple of examples that will help you

OpenStudy (anonymous):

okay nice

OpenStudy (anonymous):

i think this will help you alot :)

OpenStudy (anonymous):

i'll try it

OpenStudy (anonymous):

ok do try it. there is a saying "practice makes perfect " :)

Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!
Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!