CSE573 Autumn 1997 1 02/11/98 Planning Administrative –PS3 due 2/23 –Midterm Friday Last time –regression planning algorithm –introduction to plan-space.

Slides:



Advertisements
Similar presentations
Practical Planning: Scheduling and Hierarchical Task Networks Chapter CS 63 Adapted from slides by Tim Finin and Marie desJardins.
Advertisements

Planning III Introduction to Artificial Intelligence CS440/ECE448 Lecture 16.
Chapter 5 Plan-Space Planning.
Planning II: Partial Order Planning
Planning Module THREE: Planning, Production Systems,Expert Systems, Uncertainty Dr M M Awais.
Causal-link Planning II José Luis Ambite. 2 CS 541 Causal Link Planning II Planning as Search State SpacePlan Space AlgorithmProgression, Regression POP.
Planning Module THREE: Planning, Production Systems,Expert Systems, Uncertainty Dr M M Awais.
Classical Planning via Plan-space search COMP3431 Malcolm Ryan.
Situation Calculus for Action Descriptions We talked about STRIPS representations for actions. Another common representation is called the Situation Calculus.
Plan Generation & Causal-Link Planning 1 José Luis Ambite.
Dana Nau: Lecture slides for Automated Planning Licensed under the Creative Commons Attribution-NonCommercial-ShareAlike License:
Computing & Information Sciences Kansas State University Lecture 20 of 42 CIS 530 / 730 Artificial Intelligence Lecture 20 of 42 Introduction to Classical.
Dana Nau: Lecture slides for Automated Planning Licensed under the Creative Commons Attribution-NonCommercial-ShareAlike License:
ARTIFICIAL INTELLIGENCE [INTELLIGENT AGENTS PARADIGM] Professor Janis Grundspenkis Riga Technical University Faculty of Computer Science and Information.
Planning Copyright, 1996 © Dale Carnegie & Associates, Inc. Chapter 11.
Artificial Intelligence Chapter 11: Planning
1 Planning. R. Dearden 2007/8 Exam Format  4 questions You must do all questions There is choice within some of the questions  Learning Outcomes: 1.Explain.
Planning Planning is a special case of reasoning We want to achieve some state of the world Typical example is robotics Many thanks to Robin Burke, University.
CS 561, Session Planning Search vs. planning STRIPS operators Partial-order planning.
Planning Copyright, 1996 © Dale Carnegie & Associates, Inc. Chapter 11.
Backtracking.
Planning Department of Computer Science & Engineering Indian Institute of Technology Kharagpur.
PLANNING Partial order regression planning Temporal representation 1 Deductive planning in Logic Temporal representation 2.
For Wednesday Read chapter 12, sections 3-5 Program 2 progress due.
1 Plan-Space Planning Dr. Héctor Muñoz-Avila Sources: Ch. 5 Appendix A Slides from Dana Nau’s lecture.
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.
(Classical) AI Planning. Some Examples Route search: Find a route between Lehigh University and the Naval Research Laboratory Project management: Construct.
Dana Nau: Lecture slides for Automated Planning Licensed under the Creative Commons Attribution-NonCommercial-ShareAlike License:
CS.462 Artificial Intelligence SOMCHAI THANGSATHITYANGKUL Lecture 07 : Planning.
Knowledge Technologies March 2001 DataChannel, Inc Preserving Process Hyperlink-Based Workflow Representation W. Eliot Kimber, DataChannel, Inc.
Computing & Information Sciences Kansas State University Wednesday, 15 Oct 2008CIS 530 / 730: Artificial Intelligence Lecture 20 of 42 Wednesday, 15 October.
For Monday Read chapter 12, sections 1-2 Homework: –Chapter 10, exercise 3.
1 The Theory of NP-Completeness 2 Cook ’ s Theorem (1971) Prof. Cook Toronto U. Receiving Turing Award (1982) Discussing difficult problems: worst case.
For Friday No reading Homework: –Chapter 11, exercise 4.
Kansas State University Department of Computing and Information Sciences CIS 730: Introduction to Artificial Intelligence Lecture 17 Wednesday, 01 October.
Dana Nau: Lecture slides for Automated Planning Licensed under the Creative Commons Attribution-NonCommercial-ShareAlike License:
Automated Planning and Decision Making Prof. Ronen Brafman Automated Planning and Decision Making Partial Order Planning Based on slides by: Carmel.
Introduction to Planning Dr. Shazzad Hosain Department of EECS North South Universtiy
CSE473 Winter /04/98 State-Space Search Administrative –Next topic: Planning. Reading, Chapter 7, skip 7.3 through 7.5 –Office hours/review after.
Partial Order Planning 1 Brian C. Williams J/6.834J Sept 16 th, 2002 Slides with help from: Dan Weld Stuart Russell & Peter Norvig.
Dana Nau: Lecture slides for Automated Planning Licensed under the Creative Commons Attribution-NonCommercial-ShareAlike License:
AI Lecture 17 Planning Noémie Elhadad (substituting for Prof. McKeown)
CPSC 422, Lecture 21Slide 1 Intelligent Systems (AI-2) Computer Science cpsc422, Lecture 21 Oct, 30, 2015 Slide credit: some slides adapted from Stuart.
Intro to Planning Or, how to represent the planning problem in logic.
Dana Nau: Lecture slides for Automated Planning Licensed under the Creative Commons Attribution-NonCommercial-ShareAlike License:
(Classical) AI Planning. General-Purpose Planning: State & Goals Initial state: (on A Table) (on C A) (on B Table) (clear B) (clear C) Goals: (on C Table)
Computing & Information Sciences Kansas State University Friday, 20 Oct 2006CIS 490 / 730: Artificial Intelligence Lecture 24 of 42 Friday, 20 October.
1 CMSC 471 Fall 2004 Class #21 – Thursday, November 11.
Planning I: Total Order Planners Sections
Dana Nau: Lecture slides for Automated Planning Licensed under the Creative Commons Attribution-NonCommercial-ShareAlike License:
ADVANCED PLANNING TECHNIQUES Dr. Adam Anthony Lecture 22.
Dana Nau: Lecture slides for Automated Planning Licensed under the Creative Commons Attribution-NonCommercial-ShareAlike License:
Computing & Information Sciences Kansas State University Wednesday, 04 Oct 2006CIS 490 / 730: Artificial Intelligence Lecture 17 of 42 Wednesday, 04 October.
Causal-link planning 1 Jim Blythe. 2 USC INFORMATION SCIENCES INSTITUTE Causal Link Planning The planning problem Inputs: 1. A description of the world.
Lecture 2: Problem Solving using State Space Representation CS 271: Fall, 2008.
Computing & Information Sciences Kansas State University Friday, 13 Oct 2006CIS 490 / 730: Artificial Intelligence Lecture 21 of 42 Friday, 13 October.
For Wednesday Read Chapter 18, sections 1-3 Homework:
02/09/98 Planning Note on first item: will tend to put administrative matters first on the slide just for quick reference. Organization: look at the.
Planning Search vs. planning STRIPS operators Partial-order planning
Dana S. Nau University of Maryland 3:10 AM September 12, 2018
Dana S. Nau University of Maryland 1:50 AM September 14, 2018
Planning Search vs. planning STRIPS operators Partial-order planning
Class #17 – Thursday, October 27
Planning Search vs. planning STRIPS operators Partial-order planning
Planning José Luis Ambite.
Graphplan/ SATPlan Chapter
Class #19 – Monday, November 3
Causal-link planning 2 Jim Blythe.
Graphplan/ SATPlan Chapter
Graphplan/ SATPlan Chapter
Presentation transcript:

CSE573 Autumn /11/98 Planning Administrative –PS3 due 2/23 –Midterm Friday Last time –regression planning algorithm –introduction to plan-space (least-commitment) planning This time –plan-space least-commitment planning algorithm –midterm review

CSE573 Autumn World-State Orientation and Premature Commitment In state-space planning, there is close relationship between “states of the world” and “states in the search space” –in progression planning a search node corresponds to exactly one world state –in regression planning a search node corresponds to a set of world states This emphasis on states causes the premature commitment: the planner always needs to know what state(s) it is in, so actions have to be totally ordered, and all variables must be bound

CSE573 Autumn Searching in a space of partial plans Suppose we concentrate on “what we do” rather than on “where we are” –there is no explicit state, only some actions –the actions might be unordered with respect to each other, and might have unbound variables The planning process –the initial plan (search node) is one in which the agent does nothing –every iteration of the search adds more structure to the plan: actions, orderings, variable bindings –planning stops when the agent does enough to prove it achieves the goal every action’s precondition is true (established and not clobbered) every goal proposition is achieved

CSE573 Autumn An Representation Trick Since we’re talking about doing things rather than states, we transform the initial state and goal state description into “pseudo-actions” The action initial has no preconditions, and its postconditions are exactly what is true initially The action goal has the goal as a precondition, and no postconditions There is exactly one instance of initial in every plan, and it must be “executed” first There is exactly one instance of goal in every plan, and it must be “executed” last

CSE573 Autumn Plan Space Example: Initial Plan Initial at(TRUCK,A) connected(A,B) refuel-at(B) fuel(FULL) Goal at(TRUCK,B) fuel(FULL) One node in the search space Open preconditions in red

CSE573 Autumn The initial choice Initial at(TRUCK,A) connected(A,B) refuel-at(B) fuel(FULL) Goal at(TRUCK,B) fuel(FULL) What open precondition should I try to satisfy? How should I satisfy it? with an existing step in the plan by adding a new step

CSE573 Autumn A Single Refinement Initial at(TRUCK,A) connected(A,B) refuel-at(B) fuel(FULL) Goal at(TRUCK,B) fuel(FULL) A causal link from initial to goal fuel(FULL) is true initially and no action in the plan can change it

CSE573 Autumn A Second Refinement: Adding a Step Initial at(TRUCK,A) connected(A,B) refuel-at(B) fuel(FULL) Goal at(TRUCK,B) fuel(FULL) travel(?x, B, ?l) at(truck, ?x) connected(?x, B) fuel(?l) (?l ~= EMPTY) +at(truck, B) +fuel(EMPTY) -at(truck, A) -fuel(?l) Note the unbound variables (least-commitment) There is a potential threat to the fuel(FULL) link

CSE573 Autumn Three more refinements Initial at(TRUCK,A) connected(A,B) refuel-at(B) fuel(FULL) Goal at(TRUCK,B) fuel(FULL) travel(A, B, FULL) at(truck, A) connected(A, B) fuel(FULL) +at(truck, B) +fuel(EMPTY) -at(truck, A) -fuel(FULL) All variables are bound No open conditions But an actual threat

CSE573 Autumn The three ways of resolving a threat P(A) Producer P(A) Consumer ~P(?x) Clobberer Promotion: order Clobberer after Consumer Demotion: order Clobberer before Producer Separation: constrain ?x’s binding, ?x ~= A

CSE573 Autumn Alternate Choice: Adding a Second Operator Initial at(TRUCK,A) connected(A,B) refuel-at(B) fuel(FULL) Goal at(TRUCK,B) fuel(FULL) travel(A, B, FULL) at(truck, A) connected(A, B) fuel(FULL) +at(truck, B) +fuel(EMPTY) -at(truck, A) -fuel(FULL) refuel(B) at(truck, B) refuel-at(B) +fuel(FULL) -fuel(EMPTY) -fuel(HALF) At this point, travel and refuel are unordered with respect to each other.

CSE573 Autumn Resolving the threat by demotion Initial at(TRUCK,A) connected(A,B) refuel-at(B) fuel(FULL) Goal at(TRUCK,B) fuel(FULL) travel(A, B, FULL) at(truck, A) connected(A, B) fuel(FULL) +at(truck, B) +fuel(EMPTY) -at(truck, A) -fuel(FULL) refuel(B) at(truck, B) refuel-at(B) +fuel(FULL) -fuel(EMPTY) -fuel(HALF)

CSE573 Autumn A Solution: No Open Conditions or Threats Initial at(TRUCK,A) connected(A,B) refuel-at(B) fuel(HALF) Goal at(TRUCK,B) fuel(FULL) travel(A, B, FULL) at(truck, A) connected(A, B) fuel(FULL) +at(truck, B) +fuel(EMPTY) -at(truck, A) -fuel(FULL) refuel(B) at(truck, B) refuel-at(B) +fuel(FULL) -fuel(?z)

CSE573 Autumn The POCL (SNLP/McAllester&Rosenblitt) Algorithm Initialize P  the NULL plan Solution check: if P has no flaws, succeed –a flaw is an open condition or potential threat Otherwise –Choose some flaw in P, F –Choose some method to repair F; if none, fail if F is an open condition, methods are the existing plan steps or any operator that asserts the condition can be added to the plan if F is a threat, then promote, demote, or separate

CSE573 Autumn Formal properties of POCL Planners Soundness: if the algorithm returns a plan, that plan is a solution to the planning problem. Completeness: if there is a solution plan, the algorithm will eventually find it –assuming a complete search algorithm Systematicity: the algorithm will consider each partial plan only once

CSE573 Autumn Midterm Review Material covered: through today’s lecture –introductory material on AI, intelligence, agents –reactive agent and Lisp programming –search optimizing versus satisficing informed versus blind single-agent versus adversarial –planning planning as search STRIPS operators, states and state descriptions POCL planning Reading for midterm –Chapter 1, skim –Chapter 2 as required –Chapter 4, skip 4.4, 4.6 –Chapter 7, 7.1 and 7.2 only