Alpha Beta Search how computers make decisions Elena Eneva 10 October 2001
How humans make decisions Current situation at home Goal get to the cinema Options Cab Bike Bus Consequences Best choice Think ahead! slow convenient cheap fast inconvenient cheap LATE HAVE $ ON TIME NO $ ON TIME HAVE $ fast convenient expensive
How computers make decisions Current situation Goal get max # of points Options Cab Bike Bus Consequences Best choice Think ahead! slow -10 convenient +2 cheap +5 fast +10 inconvenient -2 cheap +5 fast +10 convenient +2 expensive -5
How computers play games 2 players Evil opponent Minimax strategy Rain -5 Flat tire Traffic Wait 20 mins -12 Rain -2 Full Rain -5 Flat tire -3 Lose keys -3 X
Minimax strategy Rain -5 Flat tire Traffic Wait 20 mins Rain -5 Alpha Beta Pruning Want to save time!
Summary Alpha Beta search – a decision making strategy for computers Minimax steps – computer versus evil opponent Pruning – saves time, lets you think further ahead The end.
How computers make decisions Current situation Goal get max # of points Options Bike Bus Cab Consequences Best choice Think ahead! slow -10 convenient +2 cheap fast +10 inconvenient -2 cheap fast +10 convenient +2 expensive -5
Alpha Beta Pruning Minimax strategy -3 Rain -5 Lose keys -3 Flat tire Wait 20 mins Flat tire -5 Rain Traffic Want to save time!