Published online by Cambridge University Press: 05 June 2012
THE MINIMAX ALGORITHM
In order for the evaluation process discussed in Chapter 2 to bottom out, the designer of a chess-playing machine chooses a certain look-ahead depth at which to stop the recursion. This depth depends on such factors as the speed and processing power of the hardware. In the case of Deep Blue, as was mentioned, the depth was fourteen. What this means is that, at each step, Deep Blue looks ahead fourteen plies (seven moves) into the game until it reaches a level in the tree where it should apply the scoring function to evaluate the nodes (leaves), and assign a number to each one. These numbers are then backed up to the top in order to choose the best move. Figure A.1(a) demonstrates how this is done in a two-ply game tree. (Notice that at every point in the middlegame, each player has more than thirty moves to choose from. Thus, each branching point in the tree actually splits into about thirty-five nodes, only a small number of which are shown in the figure, for the sake of simplicity.)
Assume that levels I and III in the tree represent the possible moves for the machine, and level II those for the opponent. Suppose also that the numbers on level III have been obtained by directly applying the scoring function to the board positions.
To save this book to your Kindle, first ensure no-reply@cambridge.org is added to your Approved Personal Document E-mail List under your Personal Document Settings on the Manage Your Content and Devices page of your Amazon account. Then enter the ‘name’ part of your Kindle email address below. Find out more about saving to your Kindle.
Note you can select to save to either the @free.kindle.com or @kindle.com variations. ‘@free.kindle.com’ emails are free but can only be saved to your device when it is connected to wi-fi. ‘@kindle.com’ emails can be delivered even when you are not connected to wi-fi, but note that service fees apply.
Find out more about the Kindle Personal Document Service.
To save content items to your account, please confirm that you agree to abide by our usage policies. If this is the first time you use this feature, you will be asked to authorise Cambridge Core to connect with your account. Find out more about saving content to Dropbox.
To save content items to your account, please confirm that you agree to abide by our usage policies. If this is the first time you use this feature, you will be asked to authorise Cambridge Core to connect with your account. Find out more about saving content to Google Drive.