1 State-Space representation and Production Systems Introduction: what is State-space representation? (E.Rich, Chapt.2) Basis search methods. (Winston,

Slides:



Advertisements
Similar presentations
Solving problems by searching
Advertisements

Announcements Course TA: Danny Kumar
Artificial Intelligence By Mr. Ejaz CIIT Sahiwal.
1 State-Space representation and Production Systems Introduction: what is State-space representation? What are the important trade-offs? (E.Rich, Chapt.2)
CSC411Artificial Intelligence 1 Chapter 3 Structures and Strategies For Space State Search Contents Graph Theory Strategies for Space State Search Using.
Planning Module THREE: Planning, Production Systems,Expert Systems, Uncertainty Dr M M Awais.
Problem Solving by Searching Copyright, 1996 © Dale Carnegie & Associates, Inc. Chapter 3 Spring 2007.
Part2 AI as Representation and Search
Biointelligence Lab School of Computer Sci. & Eng. Seoul National University Artificial Intelligence Chapter 8 Uninformed Search.
CSC 423 ARTIFICIAL INTELLIGENCE
Alford Academy Business Education and Computing1 Advanced Higher Computing Based on Heriot-Watt University Scholar Materials Problem abstraction and symbolic.
Search: Representation and General Search Procedure Jim Little UBC CS 322 – Search 1 September 10, 2014 Textbook § 3.0 –
Problem Solving and Search in AI Part I Search and Intelligence Search is one of the most powerful approaches to problem solving in AI Search is a universal.
Problem Solving by Searching
CPSC 322, Lecture 4Slide 1 Search: Intro Computer Science cpsc322, Lecture 4 (Textbook Chpt ) January, 12, 2009.
Search: Representation and General Search Procedure CPSC 322 – Search 1 January 12, 2011 Textbook § 3.0 –
Problem Solving by Searching Copyright, 1996 © Dale Carnegie & Associates, Inc. Chapter 3 Spring 2004.
November 10, 2009Introduction to Cognitive Science Lecture 17: Game-Playing Algorithms 1 Decision Trees Many classes of problems can be formalized as search.
CSE (c) S. Tanimoto, 2008 State-Space Search 1 State-Space Search Motivation: Understanding “dynamics” in AI Statics versus Dynamics of AI Statics:
Solving problems by searching
CSE (c) S. Tanimoto, 2007 Search 1: State Spaces 1 State-Space Search Outline: Demonstration with T* State spaces, operators, moves A Puzzle: The.
Artificial Intelligence Course outline Introduction Problem solving Generic algorithms Knowledge Representation and Reasoning Expert Systems Uncertainty.
Busby, Dodge, Fleming, and Negrusa. Backtracking Algorithm Is used to solve problems for which a sequence of objects is to be selected from a set such.
Solving Problems by Searching CPS Outline Problem-solving agents Example problems Basic search algorithms.
Artificial Intelligence Lecture 9. Outline Search in State Space State Space Graphs Decision Trees Backtracking in Decision Trees.
Empirical Explorations with The Logical Theory Machine: A Case Study in Heuristics by Allen Newell, J. C. Shaw, & H. A. Simon by Allen Newell, J. C. Shaw,
Artificial Intelligence: Planning Lecture 6 Problems with state space search Planning Operators A Simple Planning Algorithm (Game Playing)
Computer Science CPSC 322 Lecture 4 Search: Intro (textbook Ch: ) 1.
Lecture 5: Backtracking Depth-First Search N-Queens Problem Hamiltonian Circuits.
Artificial Intelligence Search Problem. Search is a problem-solving technique to explores successive stages in problem-solving process.
Dr.Abeer Mahmoud ARTIFICIAL INTELLIGENCE (CS 461D) Dr. Abeer Mahmoud Computer science Department Princess Nora University Faculty of Computer & Information.
Contents of Chapter 7 Chapter 7 Backtracking 7.1 The General method
Problems, Problem Spaces and Search
Hande ÇAKIN IES 503 TERM PROJECT CONSTRAINT SATISFACTION PROBLEMS.
Search exploring the consequences of possible actions.
CSCI 5582 Fall 2006 CSCI 5582 Artificial Intelligence Fall 2006 Jim Martin.
Search exploring the consequences of possible actions.
Problem Representation
Outline Intro to Representation and Heuristic Search Machine Learning (Clustering) and My Research.
Problem solving by search Department of Computer Science & Engineering Indian Institute of Technology Kharagpur.
AI Lecture 17 Planning Noémie Elhadad (substituting for Prof. McKeown)
CSCI 4310 Lecture 2: Search. Search Techniques Search is Fundamental to Many AI Techniques.
Introduction to Artificial Intelligence (G51IAI) Dr Rong Qu Blind Searches - Introduction.
Introduction to State Space Search
Search in State Spaces Problem solving as search Search consists of –state space –operators –start state –goal states A Search Tree is an efficient way.
The n queens problem Many solutions to a classic problem: On an n x n chess board, place n queens so no queen threatens another.
February 11, 2016Introduction to Artificial Intelligence Lecture 6: Search in State Spaces II 1 State-Space Graphs There are various methods for searching.
G5AIAI Introduction to AI
Representation and Search The function of a representation is to capture the critical features of the problem domain –and make the information accessible.
Lecture 2: Problem Solving using State Space Representation CS 271: Fall, 2008.
Biointelligence Lab School of Computer Sci. & Eng. Seoul National University Artificial Intelligence Chapter 8 Uninformed Search.
Solving problems by searching Chapter 3. Types of agents Reflex agent Consider how the world IS Choose action based on current percept Do not consider.
Solving problems by searching
Auburn University COMP7330/7336 Advanced Parallel and Distributed Computing Data Partition Dr. Xiao Qin Auburn University.
Introduction to Artificial Intelligence
Artificial Intelligence Lecture No. 6
Introduction Defining the Problem as a State Space Search.
Problem Solving by Searching
STATE SPACE REPRESENTATION
Artificial Intelligence
STATE SPACE REPRESENTATION
CSE (c) S. Tanimoto, 2001 Search-Introduction
The n queens problem Many solutions to a classic problem:
Artificial Intelligence Chapter 8 Uninformed Search
CSE (c) S. Tanimoto, 2002 State-Space Search
Two – One Problem Legal Moves: Slide Rules: 1s’ move right Hop
Two – One Problem Legal Moves: Slide Rules: 1s’ move right Hop
CSE (c) S. Tanimoto, 2004 State-Space Search
Solving Problems by Searching
Lecture 22 Complexity and Reductions
Presentation transcript:

1 State-Space representation and Production Systems Introduction: what is State-space representation? (E.Rich, Chapt.2) Basis search methods. (Winston, Chapt.4 + Russel&Norvig) Optimal-path search methods. (Winston, Chapt.5 + Russel&Norvig) Advanced variants. (Rich, Chapt.3 + Russel&Norvig + Nilsson) Game Playing (Winston, Chapt.6 + Rich + Russel&Norvig )

2 State-space representation: Introduction  What is state-space representation?  Which are the technical issues that arise in that context?

3 Example: the 8-puzzle.  Given: a board situation for the 8-puzzle:  Problem: find a sequence of moves (allowed under the rules of the 8-puzzle game) that transform this board situation in a desired goal situation:

4 State-space representation: general outline:  Select some way to represent states in the problem in an unambiguous way.  Formulate all actions that can be preformed in states:  including their preconditions and effects  == PRODUCTION RULES  Represent the initial state (s).  Formulate precisely when a state satisfies the goal of our problem.  Activate the production rules on the initial state and its descendants, until a goal state is reached.

5 Initial issues to solve:  How to formulate production rules? (repr. 2 )  Ex.:  express how/when squares may be moved?  Or: express how/when the blank space is moved?  When is a rule applicable to a state? (matching)  How to formulate when the goal criterion is satified and how to verify that it is?  How/which rules to activate? (control)  How to represent states? (repr.1)  Ex.: using a 3 X 3 matrix

6 The (implicit) search tree  Each state-space representation defines a search tree: !/2nodes! goal  But this tree is only IMPLICITLY available !!

7 A second example: Chess  Problem: develop a program that plays chess (well) A B C D E F G H  1. A way to represent board situations in an unambiguous way:  Ex.: List: (( king_black, 8, C), ( knight_black, 7, B), ( knight_black, 7, B), ( pawn_black, 7, G), ( pawn_black, 7, G), ( pawn_black, 5, F), ( pawn_black, 5, F), ( pawn_white, 2, H), ( pawn_white, 2, H), ( king_white, 1, E)) ( king_white, 1, E))

8 Chess (2):  2. Describe the rules that represent allowed moves:  Ex.: A B C D E F G H ( (pawn_white,2,x), (blank, 3, x), (blank, 4, x) ) add( ( pawn_white, 4, x) ), remove( (pawn_white, 2, x) )

9 Chess (3):  3. Provide a way to check whether a rule is applicable to some state:  Ex.: Matching mechanism !! ( (pawn_white,2,x), (blank, 3, x), (blank, 4, x) ) add( ( pawn_white, 4, x) ), remove( (pawn_white, 2, x) ) List: (( king_black, 8, C), ( knight_black, 7, B), ( knight_black, 7, B), ( pawn_black, 7, G), ( pawn_black, 7, G), ( pawn_black, 5, F), ( pawn_black, 5, F), ( pawn_white, 2, H), ( pawn_white, 2, H), ( king_white, 1, E)) ( king_white, 1, E)) A B C D E F G H

10 Chess (4):  4. How to specify a state in which the goal is reached (= a winning state):  Ex.: win( black )  attacked( king_white ) and no_legal_move( king_white ) no_legal_move( king_white ) + similar definitions for: + similar definitions for: attacked( Piece )  … no_legal_move( Piece ) ...

11 Chess (5):  5. A way to verify whether a winning state is reached.  Ex.: ?- win( black ). win( black )  attacked( king_white ) and no_legal_move( king_white ) no_legal_move( king_white )… Need a theorem prover ( e.g. Prolog) to verify that the state is a winning one.

12 Chess (6).  6. The initial state. A program that is ABLE to play chess. The control problem ! Main focus of this entire chapter of the course !!  7. A mechanism that selects in each state an appropriate rule to apply.

13 Chess (7). Move 1 Move 2 Move 3 Implicit search tree ~15 ~ (15) 2 ~ (15) 3 Need very efficient search techniques to find good paths in such combinatorial trees.

14 Very many issues and trade-offs: 1. How to choose the rules? 2. Should we search through the implicit tree or through an implicit graph? 3. Do we need an optimal solution, or just any solution? ‘optimal path problems’ ‘optimal path problems’ 4. Can we decompose states into components on which simple rules can in an independent way? Problem reduction or decomposability Problem reduction or decomposability 5. Should we search forwards from the initial state, or backwards from a goal state?