Planning Chapter 10.

Slides:



Advertisements
Similar presentations
Planning.
Advertisements

TWEAK solving the Sussman anomaly ON(A,B) ON(B,C) ON(C,A) ONTABLE(A) ONTABLE(B) CLEAR(C) CLEAR(B) ARMEMPTY STACK(A,B) STACK(B,C) Two step additions to.
Chapter 4 - Planning 4.1 State Space Planning 4.2 Partial Order Planning 4.3Planning in the Real World Part II: Methods of AI.
Planning Planning is fundamental to “intelligent” behaviour. E.g.
All rights reserved ©L. Manevitz Lecture 61 Artificial Intelligence Planning System L. Manevitz.
Sussman anomaly - analysis The start state is given by: ON(C, A) ONTABLE(A) ONTABLE(B) ARMEMPTY The goal by: ON(A,B) ON(B,C) This immediately leads to.
Planning Russell and Norvig: Chapter 11 Slides adapted from: robotics.stanford.edu/~latombe/cs121/2003/ home.htm.
Artificial Intelligence II S. Russell and P. Norvig Artificial Intelligence: A Modern Approach Chapter 11: Planning.
1 CSC 8520 Spring Paula Matuszek On the syllabus page there are links to two Prolog programs: a simple Prolog planner and an ADT library. Download.
1 Chapter 4 State-Space Planning. 2 Motivation Nearly all planning procedures are search procedures Different planning procedures have different search.
Planning Some material adapted from slides by Tim Finin,Jean-Claude Latombe, Lise Getoor, and Marie desJardins.
CLASSICAL PLANNING AND GRAPHPLAN Classes 17 and 18 All slides created by Dr. Adam P. Anthony.
1 Classical STRIPS Planning Alan Fern * * Based in part on slides by Daniel Weld.
CPSC 322 Introduction to Artificial Intelligence November 19, 2004.
Planning Russell and Norvig: Chapter 11. Planning Agent environment agent ? sensors actuators A1A2A3.
OnT-A onT-B onT-C cl-A cl-C cl-B he Pick-A Pick-B Pick-C onT-A onT-B onT-C cl-A cl-C cl-B he h-A h-B h-C ~cl-A ~cl-B ~cl-C ~he st-A-B st-A-C st-B-A st-B-C.
CPSC 322 Introduction to Artificial Intelligence November 26, 2004.
1 Planning Adapted from Tim Finin, UMBC, Marie desJardins Some material adopted from notes by Andreas Geyer-Schulz and Chuck Dyer.
A: A Unified Brand-name-Free Introduction to Planning Subbarao Kambhampati Jan 28 th My lab was hacked and the systems are being rebuilt.. Homepage is.
CSE 574: Planning & Learning Subbarao Kambhampati 1/17: State Space and Plan-space Planning Office hours: 4:30—5:30pm T/Th.
1 Lecture 12 example (from slides prepared by Prof. J. Rosenchein)
Planning Where states are transparent and actions have preconditions and effects Notes at
Intro to AI Fall 2002 © L. Joskowicz 1 Introduction to Artificial Intelligence LECTURE 12: Planning Motivation Search, theorem proving, and planning Situation.
1 Pertemuan 17 Planning Matakuliah: T0264/Intelijensia Semu Tahun: Juli 2006 Versi: 2/1.
1 Action Planning (Where logic-based representation of knowledge makes search problems more interesting) R&N: Chap. 11, Sect. 11.1–4.
Planning Where states are transparent and actions have preconditions and effects Notes at
An Introduction to Artificial Intelligence CE Chapter 11 – Planning Ramin Halavati In which we see how an agent can take.
1 07. The planning problem 2  Inputs: 1. A description of the world state 2. The goal state description 3. A set of actions  Output: A sequence of actions.
Dana Nau: Lecture slides for Automated Planning Licensed under the Creative Commons Attribution-NonCommercial-ShareAlike License:
Dana Nau: Lecture slides for Automated Planning Licensed under the Creative Commons Attribution-NonCommercial-ShareAlike License:
Planning Chapter Some material adopted from notes by Andreas Geyer-Schulz and Chuck Dyer.
1 CMSC 671 Fall 2010 Class #12/13 – Wednesday, October 13/ Monday, October 18 Some material adapted from slides by Jean-Claude Latombe / Lise Getoor.
1 Search vs. planning Situation calculus STRIPS operators Search vs. planning Situation calculus STRIPS operators.
PLANNING He whose undertakings are all devoid of plan and desire for results, and whose actions are burnt by the fire of knowledge, him the sages call.
Dana Nau: Lecture slides for Automated Planning Licensed under the Creative Commons Attribution-NonCommercial-ShareAlike License:
1 Planning Chapter 10 Some material adopted from notes by Tim Finin, Marie desJardins Andreas Geyer-Schulz, and Chuck Dyer.
Advanced Problem Solving Systems: Planning  In order to solve nontrivial problems, it is necessary to combine 1.Basic problem solving strategies 2.Knowledge.
Advanced Problem Solving Systems: Planning Lecture Module 8.
AI Lecture 17 Planning Noémie Elhadad (substituting for Prof. McKeown)
1/16 Planning Chapter 11- Part1 Author: Vali Derhami.
Intelligent Systems Planning.
Planning I: Total Order Planners Sections
CS621: Artificial Intelligence Pushpak Bhattacharyya Computer Science and Engineering Department IIT Bombay Lecture 19: Hidden Markov Models.
1 Planning Chapter 10 Some material adopted from notes by Tim Finin, Marie desJardins Andreas Geyer-Schulz, and Chuck Dyer.
1 Planning Some material adopted from notes by Andreas Geyer-Schulz and Chuck Dyer.
Planning Chapter Some material adopted from notes by Andreas Geyer-Schulz and Chuck Dyer.
Module 5 PLANNING AND LEARNING.
CMSC 471 Spring 2014 Class #24 Thursday, April 24, 2014 Planning
An Introduction to Artificial Intelligence CE 40417
Planning Chapter 16.
Combined Lecture CS621: Artificial Intelligence (lecture 19) CS626/449: Speech-NLP-Web/Topics-in-AI (lecture 20) Hidden Markov Models Pushpak Bhattacharyya.
Introduction Contents Sungwook Yoon, Postdoctoral Research Associate
Planning (AIMA Ch. 10) Planning problem defined Simple planning agent
CSC 8520 Spring Paula Matuszek
CS344 : Introduction to Artificial Intelligence
CMSC 471 Fall 2011 Class #16 Tuesday, October 25, 2011 Planning
Planning Chapter and Chuck Dyer
CS344 : Introduction to Artificial Intelligence
AI Planning.
L11. Planning Agents and STRIPS
Planning Chapter and Chuck Dyer
Planning Chapter
CPSC 322 Introduction to Artificial Intelligence
CS344 : Introduction to Artificial Intelligence
Class #15 / 16 – Tuesday, October 20 / Thursday, October 22
Chapter 2 Representations for Classical Planning
Russell and Norvig: Chapter 11 CS121 – Winter 2003
CMSC 471 Fall 2002 Class #20/21/23 – Wednesday, November 6 / Monday, November 11 / Monday, November 18.
L9. STRIPS Examples Recursive STRIPS Block world
Prof. Pushpak Bhattacharyya, IIT Bombay
Presentation transcript:

Planning Chapter 10

How to achieve the goal from the start? Overview The blocks world B C B A C D A D start goal How to achieve the goal from the start?

Overview Problem-solving is a search through a state space.

Overview Planning is the process of computing several steps of a problem-solving procedure before executing them. Planning = problem sloving in advance.

Overview Planning is important if solutions cannot be undone. If the universe is not predictable, then a plan can fail  dynamic plan revision.

The Blocks World B C B A C D A D start goal Planning = generating a sequence of actions to achieve the goal from the start

The Blocks World Actions: UNSTACK(A, B) STACK(A, B) PICKUP(A) PUTDOWN(A)

The Blocks World Conditions and results: ON(A, B) ONTABLE(A) CLEAR(A) HOLDING(A) ARMEMPTY

The Blocks World Specification of actions: PRECONDITION: list of predicates that must be true for an operator to be applied. ADD: list of new predicates that an operator causes to become true. DELETE: list of old predicates that an operator causes to become false. Predicates not in ADD nor DELETE are unaffacted.

The Blocks World Specification of actions: STACK(x, y): P: CLEAR(y)  HOLDING(x) D: CLEAR(y)  HOLDING(x) A: ARMEMPTY  ON(x, y) UNSTACK(x, y): P: ON(x, y)  CLEAR(x)  ARMEMPTY D: ON(x, y)  ARMEMPTY A: HOLDING(x)  CLEAR(y)

The Blocks World Specification of actions: PICKUP(x): P: CLEAR(x)  ONTABLE(x)  ARMEMPTY D: ONTABLE(x)  ARMEMPTY A: HOLDING(x) PUTDOWN(x): P: HOLDING(x) D: HOLDING(x) A: ONTABLE(x)  ARMEMPTY

The Blocks World B C B A C D A D start: ON(B, A)  ONTABLE(A)  ONTABLE(C)  ONTABLE(D)  ARMEMPTY goal: ON(C, A)  ON(B, D)  ONTABLE(A)  ONTABLE(D) 

+ Goal Stack Planning Stack Database Goals Current situation Operators to satisfy the Goals Current situation Specification of Operators/Actions +

Goal Stack Planning Push the original goal to the stack. Repeat until the stack is empty: If stack top is a compound goal, push its unsatisfied subgoals to the stack. If stack top is a single unsatisfied goal, replace it by an operator that makes it satisfied and push the operator’s precondition to the stack. If stack top is an operator, pop it from the stack, execute it and change the database by the operation’s affects. If stack top is a satisfied goal, pop it from the stack.

Goal Stack Planning B C B A C D A D start: ON(B, A)  ONTABLE(A)  ONTABLE(C)  ONTABLE(D)  ARMEMPTY goal: ON(C, A)  ON(B, D)  ONTABLE(A)  ONTABLE(D) 

Goal Stack Planning Stack Database ON(C, A) ON(B, D) ON(C, A)  ON(B, D)  OTAD ON(B, A) OTACD ARMEMPTY CLEAR(A) HOLDING(C) CLEAR(A)  HOLDING(C) STACK(C, A) ON(B, D)  ON(C, A)  ON(B, D)  OTAD ON(B, A) OTACD ARMEMPTY

Goal Stack Planning Plan 1. UNSTACK(B, A) 2. STACK(B, D) 3. PICKUP(C) 4. STACK(C, A)

Goal Stack Planning A C B A B C Sussman Anomaly (1975) start: ON(C, A)  ONTABLE(A)  ONTABLE(B)  ARMEMPTY goal: ON(A, B)  ON(B, C) Sussman Anomaly (1975)

Goal Stack Planning Plan 1. UNSTACK(C, A) 2. PUTDOWN(C) 3. PICKUP(A) 4. STACK(A, B) 5. UNSTACK(A, B) 6. PUTDOWN(A) 7. PICKUP(B) 8. STACK(B, C) 9. PICKUP(A) 10. STACK(A, B)

Goal Stack Planning Plan 1. UNSTACK(C, A) 2. PUTDOWN(C) 3. PICKUP(A) 4. STACK(A, B) 5. UNSTACK(A, B) 6. PUTDOWN(A) 7. PICKUP(B) 8. STACK(B, C) 9. PICKUP(A) 10. STACK(A, B)

Questions Why stacks used? Why a compound goal retained in the stack with its subgoals?. Does the order of subgoals in the stack matter?.

Homework Excercises: 1-4 (Chapter 13)