Professional Documents
Culture Documents
Chapter 6
Section 1 – 4
Games vs. search problems
• "Unpredictable" opponent specifying a
move for every possible opponent’s reply.
• evaluation function
– When the search is cut off, we evaluate the current state
by estimating its utility. This estimate is captured by the
evaluation function.
– Run α-β pruning minimax with these estimated values at the leaves
instead.
Evaluation functions
• For chess, typically linear weighted sum of features
Eval(s) = w1 f1(s) + w2 f2(s) + … + wn fn(s)
• e.g., w1 = 9 with
f1(s) = (number of white queens) – (number of black
queens), etc.
Deterministic games in practice
• Checkers: Chinook ended 40-year-reign of human world champion
Marion Tinsley in 1994.
Backgammon
your element of
chance
Expected Minimax
v
chance nodes
P (n ) Minimax(n )
3 0.5 4 0.5 2
-maintain bounds!
5 6
3 4 1 2 7 8
Summary