Alpha Beta Search how computers make decisions Elena Eneva 10 October 2001.

Slides:



Advertisements
Similar presentations
Adversarial Search Chapter 6 Section 1 – 4. Types of Games.
Advertisements

Alpha-Beta Search. 2 Two-player games The object of a search is to find a path from the starting position to a goal position In a puzzle-type problem,
1 CS 385 Fall 2006 Chapter 4 Heuristic Search. 2 Heuristics eurisko ("I discover" in Greek) "the study of the methods and rules of discovery and invention."
Adversarial Search Reference: “Artificial Intelligence: A Modern Approach, 3 rd ed” (Russell and Norvig)
Artificial Intelligence Adversarial search Fall 2008 professor: Luigi Ceccaroni.
CS 484 – Artificial Intelligence
Lecture 12 Last time: CSPs, backtracking, forward checking Today: Game Playing.
Search Strategies.  Tries – for word searchers, spell checking, spelling corrections  Digital Search Trees – for searching for frequent keys (in text,
State Space 4 Chapter 4 Adversarial Games. Two Flavors Games of Perfect Information ◦Each player knows everything that can be known ◦Chess, Othello Games.
This time: Outline Game playing The minimax algorithm
Game Playing CSC361 AI CSC361: Game Playing.
Min-Max Trees Based on slides by: Rob Powers Ian Gent Yishay Mansour.
Monotonicity Admissible Search: “That finds the shortest path to the Goal” Monotonicity: local admissibility is called MONOTONICITY This property ensures.
Adversarial Search: Game Playing Reading: Chess paper.
Alpha-Beta Search. 2 Two-player games The object of a search is to find a path from the starting position to a goal position In a puzzle-type problem,
CISC 235: Topic 6 Game Trees.
Minimax.
Game Playing Chapter 5. Game playing §Search applied to a problem against an adversary l some actions are not under the control of the problem-solver.
873 8 [8,.] [.,8] [9,.] 8 [.,8] 24 [2,.] 1 [4,.]4 4.
Game Playing Chapter 5. Game playing §Search applied to a problem against an adversary l some actions are not under the control of the problem-solver.
MIU Mini-Max Graham Kendall Game Playing Garry Kasparov and Deep Blue. © 1997, GM Gabriel Schwartzman's Chess Camera, courtesy IBM.
1 Computer Group Engineering Department University of Science and Culture S. H. Davarpanah
October 3, 2012Introduction to Artificial Intelligence Lecture 9: Two-Player Games 1 Iterative Deepening A* Algorithm A* has memory demands that increase.
Chapter 6 Adversarial Search. Adversarial Search Problem Initial State Initial State Successor Function Successor Function Terminal Test Terminal Test.
Adversarial Search CS311 David Kauchak Spring 2013 Some material borrowed from : Sara Owsley Sood and others.
Alpha-beta Search. Two-player games zThe object of a search is to find a path from the starting position to a goal position zIn a puzzle-type problem,
Game Playing. Towards Intelligence? Many researchers attacked “intelligent behavior” by looking to strategy games involving deep thought. Many researchers.
Connect Four AI Robert Burns and Brett Crawford. Connect Four  A board with at least six rows and seven columns  Two players: one with red discs and.
Games. Adversaries Consider the process of reasoning when an adversary is trying to defeat our efforts In game playing situations one searches down the.
Game Playing. Introduction One of the earliest areas in artificial intelligence is game playing. Two-person zero-sum game. Games for which the state space.
CSCI 4310 Lecture 6: Adversarial Tree Search. Book Winston Chapter 6.
Adversarial Search Chapter Games vs. search problems "Unpredictable" opponent  specifying a move for every possible opponent reply Time limits.
Adversarial Games. Two Flavors  Perfect Information –everything that can be known is known –Chess, Othello  Imperfect Information –Player’s have each.
Today’s Topics Playing Deterministic (no Dice, etc) Games –Mini-max –  -  pruning –ML and games? 1997: Computer Chess Player (IBM’s Deep Blue) Beat Human.
Game tree search Chapter 6 (6.1 to 6.3 and 6.6) cover games. 6.6 covers state of the art game players in particular. 6.5 covers games that involve uncertainty.
ARTIFICIAL INTELLIGENCE (CS 461D) Princess Nora University Faculty of Computer & Information Systems.
CMSC 421: Intro to Artificial Intelligence October 6, 2003 Lecture 7: Games Professor: Bonnie J. Dorr TA: Nate Waisbrot.
Adversarial Search and Game Playing Russell and Norvig: Chapter 6 Slides adapted from: robotics.stanford.edu/~latombe/cs121/2004/home.htm Prof: Dekang.
February 25, 2016Introduction to Artificial Intelligence Lecture 10: Two-Player Games II 1 The Alpha-Beta Procedure Can we estimate the efficiency benefit.
Understanding AI of 2 Player Games. Motivation Not much experience in AI (first AI project) and no specific interests/passion that I wanted to explore.
Search: Games & Adversarial Search Artificial Intelligence CMSC January 28, 2003.
CIS 350 – I Game Programming Instructor: Rolf Lakaemper.
1 Decisions in games Minimax algorithm  -  algorithm Tic-Tac-Toe game Decisions in games Minimax algorithm  -  algorithm Tic-Tac-Toe game.
Game Playing Why do AI researchers study game playing?
Adversarial Search and Game-Playing
By: Casey Savage, Hayley Stueber, and James Olson
Alpha-Beta Pruning.
Iterative Deepening A*
PENGANTAR INTELIJENSIA BUATAN (64A614)
CS 460 Spring 2011 Lecture 4.
Optimizing Minmax Alpha-Beta Pruning Real Time Decisions
State Space 4 Chapter 4 Adversarial Games.
The Implementation of Machine Learning in the Game of Checkers
Game playing.
Alpha-Beta Search.
NIM - a two person game n objects are in one pile
CS 171 Discussion Session Week 3
Alpha-Beta Search.
The Alpha-Beta Procedure
Introduction to Artificial Intelligence Lecture 9: Two-Player Games I
Search and Game Playing
Alpha-Beta Search.
Alpha-Beta Search.
CSE (c) S. Tanimoto, 2007 Search 2: AlphaBeta Pruning
And Effective Decision Making
Based on slides by: Rob Powers Ian Gent
Artificial Intelligence
Game Trees and Minimax Algorithm
Adversarial Search CS 171/271 (Chapter 6)
Alpha-Beta Search.
Presentation transcript:

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!