ECE479579 Class Notes 02-26
ECE479579 Class Notes 02-26
α/β pruning
1. Searching can be discontinued below
any Min node whose β <= α of any of
its ancestors. (alpha cut-off)
2. Search can be discontinued below an Max node whose α >= β of any of its ancestors
(beta cut-off)
1
Example
Example (exercise)
Using alpha beta pruning to find the winning path
2
02/26/2018 ECE479/579 - Lecture (18)
Example
To demonstrate that partial state of the game can be assigned an evaluation to help alpha beta
pruning.
Example
Tic Tac Toe game
State
• X for Max player
• O for Min player
• e(s) if S is a win for max
then e(s) =∞
• e(s) if s is a win for min
then e(s) = - ∞
3
Example