Game-8

Game Tree Search

The minimax procedure



the evaluation function can be (for entire game tree):
which measures how advantageous it is to player A


Alpha-Beta Pruning

The Alpha-Beta Procedure

To perform minimax search with the Alpha-Beta procedure,



Heuristics in Game Tree Search




Static Evaluation



Depth of Search

Strategy:

  1. fixed-depth search: set a fixed depth to which the game tree is to be generated and to apply the static evaluation function only to nodes at this depth.

Horizon effects: reality exists in terms of the output of the evaluation function, and anything that is not detectable at evaluation time does not exist as far as the program is concerned.

e.g. program moves to force certain positions to appear at the search horizon, and conclude that it has avoided some undesirable effect when in fact the effect has only been delayed to a point beyond the horizon.



  1. iterative deepening: a complete search, investigating all legal moves (subject to a-b pruning) is done to depth 2, returning a move, then depth 3, depth 4, ... until a preset time limit is exceeded.



Ordering of Search

Width of Search



(a) Forward Pruning

(b) Goal-directed move generation