SP10 cs188 lecture 7 -- expectimax search (2PP) (1)

SP10 cs188 lecture 7 -- expectimax search (2PP) (1) - CS...

Info iconThis preview shows pages 1–4. Sign up to view the full content.

View Full Document Right Arrow Icon
1 CS 188: Artificial Intelligence Spring 2010 Lecture 7: Minimax and Alpha-Beta Search 2/9/2010 Pieter Abbeel – UC Berkeley Many slides adapted from Dan Klein 1 Simple two-player game example 2 8 2 5 6 max min
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
2 Tic-tac-toe Game Tree 3 Deterministic Games s Many possible formalizations, one is: s States: S (start at s 0 ) s Players: P={1. ..N} (usually take turns) s Actions: A (may depend on player / state) s Transition Function: SxA S s Terminal Test: S {t,f} s Terminal Utilities: SxP R s Solution for a player is a policy: S A 4
Background image of page 2
3 Deterministic Single-Player? s Deterministic, single player, perfect information: s Know the rules s Know what actions do s Know when you win s E.g. Freecell, 8-Puzzle, Rubik’s cube s … it’s just search! s Slight reinterpretation: s Each node stores a value : the best outcome it can reach s This is the maximal outcome of its children (the max value ) s Note that we don’t have path sums as before (utilities at end) s After search, can pick move that leads to best node win lose lose 5 Deterministic Two-Player s E.g. tic-tac-toe, chess, checkers s Zero-sum games s One player maximizes result s The other minimizes result
Background image of page 3

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Image of page 4
This is the end of the preview. Sign up to access the rest of the document.

This note was uploaded on 03/01/2010 for the course COMPUTER S 188 taught by Professor Abbel during the Spring '10 term at Berkeley.

Page1 / 11

SP10 cs188 lecture 7 -- expectimax search (2PP) (1) - CS...

This preview shows document pages 1 - 4. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online