# Artificial Intelligence Adversarial Search

Save this PDF as:

Size: px
Start display at page:

## Transcription

1 Artificial Intelligence Adversarial Search Andrea Torsello

2 Games Vs. Planning Problems In many problems you re are pitted against an opponent certain operators are beyond your control: you cannot control your opponent s moves You cannot search the entire space for an optimal path your opponent may make a move which makes any path you find obsolete You need a strategy that leads to a winning position regardless of how your opponent plays Search strategies must take into account the conflicting goals of the agents Unpredictable opponent: solution is a strategy Agents goals are in conflict: adversarial search (game) Specify a move for every possible opponent reply Time limits: unlikely to find optimal move, must approximate

3 Why Study Games in AI? problems are formalized real world knowledge (common sense knowledge) is not too important rules are fixed adversary modeling is of general importance (e.g., in economic situations, in military operations,...) opponent introduces uncertainty programs must deal with the contingency problem complexity of games?? number of nodes in a search tree (e.g., 1040 legal positions in chess) specification is simple (no missing information, well-defined problem)

4 Types of games We restrict our analysis to a very specific set of games: 2-player zero-sum discrete finite deterministic games of perfect information

5 2-player zero-sum discrete finite deterministic games of perfect information What does it means? Two player: :-) Zero-sum: In any outcome of any game, Player A s gains equal player B s losses. Discrete: All game states and decisions are discrete values. Finite: Only a finite number of states and decisions. Deterministic: No chance (no die rolls). Perfect information: Both players can see the state, and each decision is made sequentially (no simultaneous moves).

6 Types of games

7 Types of games Not Finite Stochastic Hidden Information One Player Mutiplayer Involves Animal Behavior

8 Game Tree Search Initial state: initial board position and player Operators: one for each legal move Goal states: winning board positions Scoring Function: assigns numeric value to states Game tree: encodes all possible games We are not looking for a path, only the next move to make Our best move depends on what the other player does

9 Move generation

10 (Partial) Game Tree for Tic-Tac-Toe

11 Minimax Criterion Assume game tree of uniform depth (to simplify matters) Generate entire game tree Apply utility function to each terminal state To determine utility of nodes at any level, if Min s turn to play it will choose child with minimum utility, otherwise Max will choose child with maximum utility Continue backing up values from leaf to root, one level at a time Maximizes utility under assumption that opponent will play perfectly to minimize it (assuming also opponent has same evaluation function)

12 Minimax Algorithm

13 Minimax Perfect play for deterministic, perfect-information games Idea: choose move to position with highest minimax value best achievable payoff against best play E.g., 2-ply game:

14 Properties of Minimax Complete: Yes, if tree is finite (chess has specific rules for this) Optimal: Yes, against an optimal opponent. Otherwise?? Time complexity: O(bm ) Space complexity: O(bm) (depth-first exploration) For chess, b 35, m 100 for reasonable games exact solution completely infeasible

15 Resource Limits Suppose we have 100 seconds, explore 104 nodes/second 10 6 nodes per move Standard approach: cutoff test e.g., depth limit evaluation function = estimated desirability of position and explore only (hopeful) nodes with certain values MINIMAX-CUTOFF is identical to MINIMAX except T ERMINAL-TEST is replaced by C UTOFF-TEST U TILITY is replaced by EVAL Search depth in chess: 4-ply human novice 8-ply typical PC, human master 12-ply Deep Blue, Kasparov

16 Evaluation functions For chess, typically linear weighted sum of features Eval(s) = w1 f1(s) + w2 f2(s) + + wn fn(s) e.g., weight of figures on the board: w1 = 9 with f1(s) = (number of white queens) (number of black queens), etc. Other features which could be taken into account: number of threats, good structure of pawns, measure of safety of the king.

17 - Pruning The problem with minimax algorithm search is that the number of game states it has to examine is exponential in the number of moves: α-β proposes to compute the correct minimax algorithm decision without looking at every node in the game tree. PRUNING!

18 - Pruning The problem with minimax algorithm search is that the number of game states it has to examine is exponential in the number of moves: α-β proposes to compute the correct minimax algorithm decision without looking at every node in the game tree. PRUNING! EXAMPLE

19 - Pruning The problem with minimax algorithm search is that the number of game states it has to examine is exponential in the number of moves: α-β proposes to compute the correct minimax algorithm decision without looking at every node in the game tree. PRUNING! EXAMPLE

20 - Pruning The problem with minimax algorithm search is that the number of game states it has to examine is exponential in the number of moves: α-β proposes to compute the correct minimax algorithm decision without looking at every node in the game tree. PRUNING! EXAMPLE We see: possibility to prune depends on the order of processing the successors!

21 - Pruning The problem with minimax algorithm search is that the number of game states it has to examine is exponential in the number of moves: α-β proposes to compute the correct minimax algorithm decision without looking at every node in the game tree. PRUNING! EXAMPLE We see: possibility to prune depends on the order of processing the successors!

22 - Pruning The problem with minimax algorithm search is that the number of game states it has to examine is exponential in the number of moves: α-β proposes to compute the correct minimax algorithm decision without looking at every node in the game tree. PRUNING! EXAMPLE We see: possibility to prune depends on the order of processing the successors!

23 Properties of - Pruning Pruning does not affect final result Good move ordering improves effectiveness of pruning With "perfect ordering," time complexity = O(b m/2 ) doubles possible depth of search doable in the same time A simple example of the value of reasoning about which computations are relevant (a form of meta-reasoning)

24 - Algorithm

25 - Algorithm

26 Why is it called of -? is the value of the best (i.e., highestvalue) choice found so far at any choice point along the path for max If v is worse than, max will avoid it prune that branch Define similarly for min

27 Practical Matters

28 Non-Deterministic Games E.g. backgammon: dice rolls determine legal moves We can do Minimax with a extra chance layer Simplified example with coin-flipping instead of dice-rolling

29 EXPECT-MINIMAX Algorithm EXPECTIMINIMAX gives perfect play for non-deterministic games Like MINIMAX, except add chance nodes For max node return highest EXPECTIMINIMAX of SUCCESSORS For min node return lowest EXPECTIMINIMAX of SUCCESSORS For chance node return average of EXPECTIMINIMAX of SUCCESSORS Here exact values of evaluation function do matter ( probabilities, expected gain, not just order) α-β pruning possible by taking weighted averages according to probabilities

30 Games of Imperfect Information E.g. card games (bridge, hearts, some forms of poker) Opponent s initial cards are unknown Not quite like non-deterministic games We can calculate probabilities for each possible deal Seems just like one big dice roll at the beginning Idea: Compute the minimax value of each action in each deal Then choose action with highest expected value over all deals Special case: an action optimal for all deals, is optimal Take weighted average over all possible situations to make decision at the top of the game tree Requires a lot of computation...

### Introduction to Artificial Intelligence. Game Playing

Introduction to Artificial Intelligence Game Playing Bernhard Beckert UNIVERSITÄT KOBLENZ-LANDAU Summer Term 2003 B. Beckert: Einführung in die KI / KI für IM p.1 Outline Perfect play Resource limits α-β

### Game playing. Chapter 6. Chapter 6 1

Game playing Chapter 6 Chapter 6 1 Outline Games Perfect play minimax decisions α β pruning Resource limits and approximate evaluation Games of chance Games of imperfect information Chapter 6 2 Games vs.

### COMP-424: Artificial intelligence. Lecture 7: Game Playing

COMP 424 - Artificial Intelligence Lecture 7: Game Playing Instructor: Joelle Pineau (jpineau@cs.mcgill.ca) Class web page: www.cs.mcgill.ca/~jpineau/comp424 Unless otherwise noted, all material posted

### Administrativia. Assignment 1 due tuesday 9/24/2002 BEFORE midnight. Midterm exam 10/10/2002. CS 561, Sessions 8-9 1

Administrativia Assignment 1 due tuesday 9/24/2002 BEFORE midnight Midterm exam 10/10/2002 CS 561, Sessions 8-9 1 Last time: search strategies Uninformed: Use only information available in the problem

### Playing and Solving Games

Playing and Solving Games Zero-sum games with perfect information R&N 6 Definitions Game evaluation Optimal solutions Minimax Alpha-beta pruning Approximations Heuristic evaluation functions Cutoffs Endgames

### Game-Playing & Adversarial Search MiniMax, Search Cut-off, Heuristic Evaluation

Game-Playing & Adversarial Search MiniMax, Search Cut-off, Heuristic Evaluation This lecture topic: Game-Playing & Adversarial Search (MiniMax, Search Cut-off, Heuristic Evaluation) Read Chapter 5.1-5.2,

### Adversarial Search and Game- Playing. C H A P T E R 5 C M P T 3 1 0 : S u m m e r 2 0 1 1 O l i v e r S c h u l t e

Adversarial Search and Game- Playing C H A P T E R 5 C M P T 3 1 0 : S u m m e r 2 0 1 1 O l i v e r S c h u l t e Environment Type Discussed In this Lecture 2 Fully Observable yes Turn-taking: Semi-dynamic

### AI and computer game playing. Artificial Intelligence. Partial game tree for Tic-Tac-Toe. Game tree search. Minimax Algorithm

AI and computer game playing Artificial Intelligence Introduction to game-playing search imax algorithm, evaluation functions, alpha-beta pruning, advanced techniques Game playing (especially chess and

### ! HW5 Due Monday 11:59 pm. ! no randomness, e.g., dice. ! Perfect information. ! No hidden cards or hidden Chess pieces. ! Finite

!! Game Trees and Heuristics Announcements! HW5 Due Monday 11:59 pm 15-211: Fundamental Data Structures and Algorithms Margaret Reid-Miller 7 April 2005 2 X O X O X O X O O Games Game Properties!!Two!

### Chess Algorithms Theory and Practice. Rune Djurhuus Chess Grandmaster runed@ifi.uio.no / runedj@microsoft.com October 3, 2012

Chess Algorithms Theory and Practice Rune Djurhuus Chess Grandmaster runed@ifi.uio.no / runedj@microsoft.com October 3, 2012 1 Content Complexity of a chess game History of computer chess Search trees

### Artificial Intelligence in Chess

Artificial Intelligence in Chess IA in Chess is quite complex Even the fastest computer cannot solve the chess game (cannot analyze every possible situation) There are many ways of reducing the need of

### 13. *-Minimax. Introduction. Stochastic Games. Deep Search!? Perfect information deterministic games? Imperfect information games?

13. *-Minimax Introduction Perfect information deterministic games? Lots of success Imperfect information games? Hard because of missing information Subject of active research Bridge, poker Non-deterministic/stochastic

### FUNDAMENTALS OF ARTIFICIAL INTELLIGENCE USING HEURISTICS IN GAMES

Riga Technical University Faculty of Computer Science and Information Technology Department of Systems Theory and Design FUNDAMENTALS OF ARTIFICIAL INTELLIGENCE Lecture 6 USING HEURISTICS IN GAMES Dr.habil.sc.ing.,

### Computer Simulation (2) Game Playing

Computer Simulation (2) Game Playing Different Types of Games How many players? One Two Element of chance? Deterministic Nondeterministic Outcome Zero sum (what one player wins, the other loses) Non-zero

### Chess Algorithms Theory and Practice. Rune Djurhuus Chess Grandmaster runed@ifi.uio.no / runedj@microsoft.com September 23, 2014

Chess Algorithms Theory and Practice Rune Djurhuus Chess Grandmaster runed@ifi.uio.no / runedj@microsoft.com September 23, 2014 1 Content Complexity of a chess game Solving chess, is it a myth? History

### CS182 Lecture 5: Games and Adversarial Search

CS182 Lecture 5: Games and Adversarial Search Agenda EOLQ: uninformed and informed search Games The difference an adversary makes Minimax Alpha-beta pruning Static evaluation functions (for depth-limited

### Measuring the Performance of an Agent

25 Measuring the Performance of an Agent The rational agent that we are aiming at should be successful in the task it is performing To assess the success we need to have a performance measure What is rational

### CS188 Spring 2011 Section 3: Game Trees

CS188 Spring 2011 Section 3: Game Trees 1 Warm-Up: Column-Row You have a 3x3 matrix of values like the one below. In a somewhat boring game, player A first selects a row, and then player B selects a column.

### Tactical Analysis Board Games

DM842 Computer Game Programming: AI Lecture 9 Tactical Analysis Board Games Marco Chiarandini Department of Mathematics & Computer Science University of Southern Denmark Outline 1. Tactical Pathfinding

### State Space Representation and Search

1. Introduction In this section we examine the concept of a state space and the different searches that can be used to explore the search space in order to find a solution. Before an AI problem can be

### LECTURE 10: GAMES IN EXTENSIVE FORM

LECTURE 10: GAMES IN EXTENSIVE FORM Sequential Move Games 2 so far, we have only dealt with simultaneous games (players make the decisions at the same time, or simply without knowing what the action of

### 3.6.2 Generating admissible heuristics from relaxed problems

82 Heuristic h 2 gives a stricter estimate than h 1 : h 2 (n) h 1 (n) We say that the former dominates the latter A* expands every node for which f(n) < C* h(n) < C* g(n) Hence, a stricter heuristic estimate

### Games Computers Play. Bart Massey Computer Science Dept. Portland State University

Games Computers Play Bart Massey Computer Science Dept. Portland State University bart@cs.pdx.edu http://www.cs.pdx.edu/~bart 35 Years Ago... Computer world chess champion: "soon" Widespread agreement

### Lecture 2. Uninformed search

Lecture 2 Uninformed search " Reference: Preparing for week 1 Reading: Chapters 1 and 2.1, 2.2, 2.5, 3.1, 3.2, 3.3, 3.4, 3.5 Assignment 1 has now been posted on the course LEARN site Uses MATLAB (a tutorial

### Techniques to Parallelize Chess Matthew Guidry, Charles McClendon

Techniques to Parallelize Chess Matthew Guidry, Charles McClendon Abstract Computer chess has, over the years, served as a metric for showing the progress of computer science. It was a momentous occasion

### Implementation of a Chess Playing Artificial. Intelligence. Sean Stanek.

Implementation of a Chess Playing Artificial Intelligence Sean Stanek vulture@cs.iastate.edu Overview Chess has always been a hobby of mine, and so have computers. In general, I like creating computer

### IMPLEMENTING A COMPUTER PLAYER FOR CARCASSONNE. Cathleen Heyden

IMPLEMENTING A COMPUTER PLAYER FOR CARCASSONNE Master Thesis DKE 09-15 Thesis submitted in partial fulfillment of the requirements for the degree of Master of Science of Artificial Intelligence at the

### Artificial Intelligence Heuristic Search

Artificial Intelligence Heuristic Search Andrea Torsello Search in AI Blind search strategies Breadth First Depth First Iterative Deepening Analyzed Completeness Optimality Time Complexity Space Complexity

### CS91.543 MidTerm Exam 4/1/2004 Name: KEY. Page Max Score 1 18 2 11 3 30 4 15 5 45 6 20 Total 139

CS91.543 MidTerm Exam 4/1/2004 Name: KEY Page Max Score 1 18 2 11 3 30 4 15 5 45 6 20 Total 139 % INTRODUCTION, AI HISTORY AND AGENTS 1. [4 pts. ea.] Briefly describe the following important AI programs.

### Games Computers Play. Bart Massey Computer Science Dept. Portland State University

Games Computers Play Bart Massey Computer Science Dept. Portland State University bart@cs.pdx.edu http://www.cs.pdx.edu/~bart 35 Years Ago... Computer world chess champion: "soon" Widespread agreement

### Algorithmic Game Theory and Applications. Lecture 1: What is game theory?

Algorithmic Game Theory and Applications Lecture : What is game theory? Kousha Etessami Basic course information Lecturer: Kousha Etessami; Office: IF 5.2; Phone: 65 597. Lecture times: Monday&Thursday,

### Game Playing in the Real World. Next time: Knowledge Representation Reading: Chapter 7.1-7.3

Game Playing in the Real World Next time: Knowledge Representation Reading: Chapter 7.1-7.3 1 What matters? Speed? Knowledge? Intelligence? (And what counts as intelligence?) Human vs. machine characteristics

### Laboratory work in AI: First steps in Poker Playing Agents and Opponent Modeling

Laboratory work in AI: First steps in Poker Playing Agents and Opponent Modeling Avram Golbert 01574669 agolbert@gmail.com Abstract: While Artificial Intelligence research has shown great success in deterministic

### Implementing a Computer Player for Abalone using Alpha-Beta and Monte-Carlo Search

Master Thesis Implementing a Computer Player for Abalone using Alpha-Beta and Monte-Carlo Search Pascal Chorus Master Thesis DKE 09-13 Thesis submitted in partial fulfillment of the requirements for the

### The scenario: Initial state Target (Goal) states A set of intermediate states A set of operations that move the agent from one state to another.

CmSc310 Artificial Intelligence Solving Problems by Searching - Uninformed Search 1. Introduction All AI tasks involve searching. General idea: You know where you are (initial state) and where you want

### Problem Solving and Search 2. Problem Solving and Search. Let s have Holiday in Romania. What is the Problem? Is there more?

Let s have Holiday in Romania On holiday in Romania; currently in Arad. 2 Problem Solving and Search Flight leaves tomorrow from Bucharest at 1:00. Let s configure this to be an AI problem. 1 2 What is

### CS 151: Intelligent Agents, Problem Formulation and Search

CS 151: Intelligent Agents, Problem Formulation and Search How do we make a vacuum "smart?" Vacuum, clean the house! Um OK?? This one's got no chance How do we represent this task? Hmmm where to begin?

### Introduction to AI Techniques

Introduction to AI Techniques Game Search, Minimax, and Alpha Beta Pruning June 8, 2009 Introduction One of the biggest areas of research in modern Artificial Intelligence is in making computer players

### Sequential lmove Games. Using Backward Induction (Rollback) to Find Equilibrium

Sequential lmove Games Using Backward Induction (Rollback) to Find Equilibrium Sequential Move Class Game: Century Mark Played by fixed pairs of players taking turns. At each turn, each player chooses

### AI: A Modern Approach, Chpts. 3-4 Russell and Norvig

AI: A Modern Approach, Chpts. 3-4 Russell and Norvig Sequential Decision Making in Robotics CS 599 Geoffrey Hollinger and Gaurav Sukhatme (Some slide content from Stuart Russell and HweeTou Ng) Spring,

### 573 Intelligent Systems

Sri Lanka Institute of Information Technology 3ed July, 2005 Course Outline Course Information Course Outline Reading Material Course Setup Intelligent agents. Agent types, agent environments and characteristics.

### Game theory and AI: a unified approach to poker games

Game theory and AI: a unified approach to poker games Thesis for graduation as Master of Artificial Intelligence University of Amsterdam Frans Oliehoek 2 September 2005 ii Abstract This thesis focuses

### foundations of artificial intelligence acting humanly: Searle s Chinese Room acting humanly: Turing Test

cis20.2 design and implementation of software applications 2 spring 2010 lecture # IV.1 introduction to intelligent systems AI is the science of making machines do things that would require intelligence

### Test-1 Solution. Date: Marks: 50. Subject & Code: Artificial Intelligence and Agent technology (14SCS24)

Test-1 Solution Date: 25-02-2015 Marks: 50 Subject & Code: Artificial Intelligence and Agent technology (14SCS24) Name of faculty: Dr.Srikanta Murthy. K Sec: II Sem M.Tech Time: 8.30 to 10.00AM Q1). What

### Principles of AI Planning

Principles of Dr. Jussi Rintanen Albert-Ludwigs-Universität Freiburg Summer term 2005 Course: Principles of Lecturer Dr Jussi Rintanen (rintanen@informatik.uni-freiburg.de) Lecture Monday 2-4pm, Wednesday

### Evolutionary Computation: introduction

Evolutionary Computation: introduction Dirk Thierens Universiteit Utrecht The Netherlands Dirk Thierens (Universiteit Utrecht) EC Introduction 1 / 44 What? Evolutionary Computation Evolutionary Computation

### AI Principles, Semester 2, Week 1, Lecture 3, Search

AI Principles, Semester 2, Week 1, Lecture 3, Search Examples of problems which are solved by search Setting the scene: your Romanian holiday search problem How to be systematic in your search Uninformed

### Artificial Intelligence Search I

Content: Search I Artificial Intelligence Search I Lecture 3 Introduction Knowledge, Problem Types and Problem Formulation Search Strategies General Search Problem 4 Criteria for Evaluating Search Strategies

### Solutions. 1) Is the following Boolean function linearly separable? Explain.

CS/ES 480, CES 510 Mid-term # 1 Practice Problems Solutions 1) Is the following Boolean function linearly separable? Explain. f ( x, y,z ) ( x y z ) ( x y z ) ( x y z ) Solution: Geometric representation

### Monte Carlo Tree Search and Opponent Modeling through Player Clustering in no-limit Texas Hold em Poker

Monte Carlo Tree Search and Opponent Modeling through Player Clustering in no-limit Texas Hold em Poker A.A.J. van der Kleij August 2010 Master thesis Artificial Intelligence University of Groningen, The

### 1 Representation of Games. Kerschbamer: Commitment and Information in Games

1 epresentation of Games Kerschbamer: Commitment and Information in Games Game-Theoretic Description of Interactive Decision Situations This lecture deals with the process of translating an informal description

### Learning to play chess using TD(λ)-learning with database games

Learning to play chess using TD(λ)-learning with database games Henk Mannen & Marco Wiering Cognitive Artificial Intelligence University of Utrecht henk.mannen@phil.uu.nl & marco@cs.uu.nl Abstract In this

### 3D Tic Tac Toe Adina Rubinoff CSC 242 Febuary

3D Tic Tac Toe Adina Rubinoff CSC 242 Febuary 7 2010 The goal of this project is to provide a Java program that plays a game of 3D 4x4 Tic Tac Toe. The program uses a minimax algorithm with optional alpha-beta

### Last time: search strategies

Last time: search strategies Uninfrmed: Use nly infrmatin available in the prblem frmulatin Breadth-first Unifrm-cst Depth-first Depth-limited Iterative deepening Infrmed: Use heuristics t guide the search

### Uninformed Search. Chapter 3. (Based on slides by Stuart Russell, Dan Weld, Oren Etzioni, Henry Kautz, and other UW-AI faculty)

Uninformed Search Chapter 3 (Based on slides by Stuart Russell, Dan Weld, Oren Etzioni, Henry Kautz, and other UW-AI faculty) What is Search? Search is a class of techniques for systematically finding

### Roulette Wheel Selection Game Player

Macalester College DigitalCommons@Macalester College Honors Projects Mathematics, Statistics, and Computer Science 5-1-2013 Roulette Wheel Selection Game Player Scott Tong Macalester College, stong101@gmail.com

### Mastering Quoridor. Lisa Glendenning THESIS. Submitted in Partial Fulfillment of the Requirements for the Degree of

Mastering Quoridor by Lisa Glendenning THESIS Submitted in Partial Fulfillment of the Requirements for the Degree of Bachelor of Science Computer Science The University of New Mexico Albuquerque, New Mexico

### An Analysis of UCT in Multi-Player Games

An Analysis of UCT in Multi-Player Games Nathan R. Sturtevant Department of Computing Science, University of Alberta, Edmonton, AB, Canada, T6G 2E8 nathanst@cs.ualberta.ca Abstract. The UCT algorithm has

### A problem consists of. Artificial Intelligence. Example: 8-puzzle. Example: 8-puzzle. Example: 8-puzzle. Expanding 8-puzzle

A problem consists of Artificial Intelligence Uninformed search Chapter 3, AIMA An initial state, θ(0) A list of possible actions, α, for the agent A goal test (there can be many goal states) A path cost

### Course: CS40002 Instructor: Dr. Pallab Dasgupta Department of Computer Science & Engineering Indian Institute of Technology Kharagpur

Problem Solving by Search Course: CS40002 Instructor: Dr. Pallab Dasgupta Department of Computer Science & Engineering Indian Institute of Technology Kharagpur Search Frameworks State space search Uninformed

### Midterm Examination CS540: Introduction to Artificial Intelligence

Midterm Examination CS540: Introduction to Artificial Intelligence October 27, 2010 LAST NAME: SOLUTION FIRST NAME: SECTION (1=Zhu, 2=Dyer): Problem Score Max Score 1 15 2 16 3 7 4 15 5 12 6 10 7 15 8

### cs171 HW 1 - Solutions

1. (Exercise 2.3 from RN) For each of the following assertions, say whether it is true or false and support your answer with examples or counterexamples where appropriate. (a) An agent that senses only

### Minimax Strategies. Minimax Strategies. Zero Sum Games. Why Zero Sum Games? An Example. An Example

Everyone who has studied a game like poker knows the importance of mixing strategies With a bad hand, you often fold But you must bluff sometimes Lectures in Microeconomics-Charles W Upton Zero Sum Games

### (Refer Slide Time: 01:35)

Artificial Intelligence Prof. Sudeshna Sarkar Department of Computer Science and Engineering Indian Institute of Technology, Kharagpur Lecture - 6 Informed Search -2 Today we start our 6 th lecture. This

### Introduction to Artificial Intelligence (G51IAI) Dr Rong Qu. Blind Searches - Introduction

Introduction to Artificial Intelligence (G51IAI) Dr Rong u Blind Searches - Introduction Aim of This Section (2 hours) Introduce the blind searches on search tree Specifically, the general search pseudo-code

### The exam is closed book, closed calculator, and closed notes except your one-page crib sheet.

CS 188 Fall 2015 Introduction to rtificial Intelligence Midterm You have approximately 80 minutes. The exam is closed book, closed calculator, and closed notes except your one-page crib sheet. Mark your

### If rules "a" and "a => b ^ c" exist in the rule base, show the steps necessary to prove "c" is true

Fill in the following truth table: a b a ^ b a v b a => b a b false false false true true false true true If probability of event a (P(a))=.2, P(b)=.3, P(c)=.5, P(a ^ b)=.1 (a AND b), P(a ^ c)=.15,

### Game Theory 1. Introduction

Game Theory 1. Introduction Dmitry Potapov CERN What is Game Theory? Game theory is about interactions among agents that are self-interested I ll use agent and player synonymously Self-interested: Each

### Using Markov Decision Theory to Provide a Fair Challenge in a Roll-and-Move Board Game

Using Markov Decision Theory to Provide a Fair Challenge in a Roll-and-Move Board Game Éric Beaudry, Francis Bisson, Simon Chamberland, Froduald Kabanza Abstract Board games are often taken as examples

### Agents sensors. Intelligent Agents. Vacuum Cleaner World. Agent Function sensors

s sensors Intelligent s environment percepts? agent Russell and Norvig: 2 actuators CISC4/681 Introduction to Artificial Intelligence 1 perceives the environment through sensors and acts on it through

### Module 2. Problem Solving using Search- (Single agent search) Version 2 CSE IIT, Kharagpur

Module 2 Problem Solving using Search- (Single agent search) 2.1 Instructional Objective The students should understand the state space representation, and gain familiarity with some common problems formulated

### Informed search algorithms

CmpE 540 Principles of Artificial Intelligence Informed search algorithms Pınar Yolum pinar.yolum@boun.edu.tr Department of Computer Engineering Boğaziçi University Chapter 4 (Sections 1 3) (Based mostly

### Optimization in ICT and Physical Systems

27. OKTOBER 2010 in ICT and Physical Systems @ Aarhus University, Course outline, formal stuff Prerequisite Lectures Homework Textbook, Homepage and CampusNet, http://kurser.iha.dk/ee-ict-master/tiopti/

### Intelligent System for Playing Tarok

Journal of Computing and Information Technology - CIT 11, 2003, 3, 209-215 209 Intelligent System for Playing Tarok Mitja Luštrek and Matjaž Gams Jožef Stefan Institute, Ljubljana, Slovenia We present

### AI in Computer Games. why, where and how. Olle Gällmo

AI in Computer Games why, where and how Olle Gällmo Who am I? Lecturer at Uppsala University, Dept. of information technology AI, machine learning and natural computation Gamer since 1980 AI in Computer

### Why Machine Learning and Games? Machine Learning in Video Games. Machine Learning in Online Games. The Path of Go Conclusions

Why Machine Learning and Games? Machine Learning in Video Games Drivatars Reinforcement Learning Machine Learning in Online Games TrueSkill Halo 3 The Path of Go Conclusions Test Beds for Machine Learning

### (Refer Slide Time: 01:04)

Artificial Intelligence Prof. Sudeshna Sarkar Department of Computer Science and Engineering Indian Institute of Technology, Kharagpur Lecture - 3 State Space Search Today we will start the third lecture

### Module 2. Problem Solving using Search- (Single agent search) Version 1 CSE IIT, Kharagpur

Module 2 Problem Solving using Search- (Single agent search) Lesson 6 Informed Search Strategies-II 3.3 Iterative-Deepening A* 3.3.1 IDA* Algorithm Iterative deepening A* or IDA* is similar to iterative-deepening

### Gerry Hobbs, Department of Statistics, West Virginia University

Decision Trees as a Predictive Modeling Method Gerry Hobbs, Department of Statistics, West Virginia University Abstract Predictive modeling has become an important area of interest in tasks such as credit

### Script for How to Win a Chinese Chess Game

Script for How to Win a Chinese Chess Game Jinzhong Niu April 25, 2004 1 Presentation Set Up Chinese chess is played on a 10 9 board, on which either player has 16 pieces. Pieces are located at the intersections

### Artificial Intelligence

Introduction to Artificial Intelligence Lecture 1 Introduction CS/CNS/EE 154 Andreas Krause 2 What is AI? The science and engineering of making intelligent machines (McCarthy, 56) What does intelligence

### Mastering Non-perfect Information Games: Resistance And Mafia

Mastering Non-perfect Information Games: Resistance And Mafia Junxing Wang Computer Science Department, Carnegie Mellon University Abstract In the paper, we discuss two non-perfect information board games:

### How to play. The Basic Game They look like ordinary checkers, but notice the KING CHECKERS on each side. YOUR GOAL: Capture your opponent s king!

How to play The Basic Game They look like ordinary checkers, but notice the KING CHECKERS on each side. YOUR GOAL: Capture your opponent s king! US Patent Publication No. US 8657289 B2, Feb 25, 2014 http://www.google.com/patents/us8657289

### CMPT 301 Artificial Intelligence Fall 2014 Homework #4

CMPT 301 Artificial Intelligence Fall 2014 Homework #4 75 Total Points Due Date: No Later than 5:30 PM on Monday, October 6, 2014. You may either hand-in this homework written or submit it to the drop

### Foundations of Artificial Intelligence

Foundations of Artificial Intelligence 4. Informed Search Methods Heuristics, Local Search Methods, Genetic Algorithms Wolfram Burgard, Maren Bennewitz, and Marco Ragni Albert-Ludwigs-Universität Freiburg

### TIC TAC TOE GAME BETWEEN COMPUTERS: A COMPUTATIONAL INTELIGENCE APPROACH

TIC TAC TOE GAME BETWEEN COMPUTERS: A COMPUTATIONAL INTELIGENCE APPROACH Ashutosh Kumar Sahu, Parthasarathi Palita*, Anupam Mohanty asu.ku.sahu@gmail.com parthapalita107@gmail.com anupam.iter@gmail.com

### Uninformed Search. Romania Map. Example: Map Problem. State Space Representation. Water Jugs Problem. Water Jugs Problem. CIS*3700 (Winter 2007)

Romania Map Uninformed Search CIS*3700 (Winter 2007) Example: Map Problem Problem: drive from Arad to Bucharest Formulate a oal: be in Bucharest Current in Arad Formulate the problem: States: various cities

### Acknowledgements I would like to thank both Dr. Carsten Furhmann, and Dr. Daniel Richardson for providing me with wonderful supervision throughout my

Abstract Game orientated application programming interfaces (API), built using Java, are intended to ease the development of Java games, on multiple platforms. Existing Java game APIs, tend to focus on

### Introduction to Intelligent Systems

Problem Solving by Search Objectives Problem solving agent Tree search Uninformed search strategies: BFS, DFS, DLS, and IDS Heuristic search strategies: GBFS and A* Reference Russell & Norvig: 3 and 4.1

### Jan 17 Homework Solutions Math 151, Winter 2012. Chapter 2 Problems (pages 50-54)

Jan 17 Homework Solutions Math 11, Winter 01 Chapter Problems (pages 0- Problem In an experiment, a die is rolled continually until a 6 appears, at which point the experiment stops. What is the sample

### Best-response play in partially observable card games

Best-response play in partially observable card games Frans Oliehoek Matthijs T. J. Spaan Nikos Vlassis Informatics Institute, Faculty of Science, University of Amsterdam, Kruislaan 43, 98 SJ Amsterdam,

### NUMB3RS Activity: Are You Sure?

NUMB3RS ctivity Teacher Page 1 NUMB3RS ctivity: re You Sure? Topic: Mathematical Prediction Grade Level: 9-12 Objective: Introduce Decision Trees Time: 20-30 minutes Introduction In Soft Target, Charlie

### Heap. Binary Search Tree. Heaps VS BSTs. < el el. Difference between a heap and a BST:

Heaps VS BSTs Difference between a heap and a BST: Heap el Binary Search Tree el el el < el el Perfectly balanced at all times Immediate access to maximal element Easy to code Does not provide efficient

### COMP30191 The Theory of Games and Game Models

COMP30191 The Theory of Games and Game Models Andrea Schalk A.Schalk@cs.man.ac.uk School of Computer Science University of Manchester August 7, 2008 About this course This is an introduction into the theory

### The Design and Realization of Connect-six Computer Game Software Xinyang Wang 1, a, Xiali Li 1, a, Rui Wu 1, a, Hailong Xie 1, a

International Conference on Advances in Mechanical Engineering and Industrial Informatics (AMEII 2015) The Design and Realization of Connect-six Computer Game Software Xinyang Wang 1, a, Xiali Li 1, a,

### State Space Problem Definition

Blind Search State Space Problem Definition One widely used way to describe problems is by listing or describing all possible states. Solving a problem means moving through the state space from a start

### CSC 380/480 Foundations of Artificial Intelligence Winter 2007 Assignment 1 Solution to Selected Problems

CSC 380/480 Foundations of Artificial Intelligence Winter 2007 Assignment 1 Solution to Selected Problems 1. News Filtering Agent: Summary: There is not a single correct answer to this problem. Specific

### Hierarchical Heuristic Search Techniques for Empire- Based Games

Hierarchical Heuristic Search Techniques for Empire- Based Games Kenrick Mock University of Alaska Anchorage Dept. of Mathematical Sciences, Computer Science 3211 Providence Dr. Anchorage, AK 99508 kenrick@uaa.alaska.edu