74.419 Artificial Intelligence 2005/06 Partial Order Planning.

Slides:



Advertisements
Similar presentations
Forward-Chaining Partial-Order Planning Amanda Coles, Andrew Coles, Maria Fox and Derek Long (to appear, ICAPS 2010)
Advertisements

ARTIFICIAL INTELLIGENCE: THE MAIN IDEAS Nils J. Nilsson OLLI COURSE SCI 102 Tuesdays, 11:00 a.m. – 12:30 p.m. Winter Quarter, 2013 Higher Education Center,
REVIEW : Planning To make your thinking more concrete, use a real problem to ground your discussion. –Develop a plan for a person who is getting out of.
Language for planning problems
Planning III Introduction to Artificial Intelligence CS440/ECE448 Lecture 16.
Chapter 5 Plan-Space Planning.
Planning  We have done a sort of planning already  Consider the “search” applied to general problem solving  The sequence of moves with the “Jugs” was.
Planning II: Partial Order Planning
Causal-link Planning II José Luis Ambite. 2 CS 541 Causal Link Planning II Planning as Search State SpacePlan Space AlgorithmProgression, Regression POP.
PLANNING Ivan Bratko Acknowledgement: Some of these slides were adapted from D. Nau’s course on planning.
Classical Planning via Plan-space search COMP3431 Malcolm Ryan.
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:
Activity Diagrams in UML. Definition Activity diagrams represent the dynamics of the system. They are flow charts that are used to show the workflow of.
PLANNING IN AI. Determine the set of steps that are necessary to achieve a goal Some steps might be conditional, i.e., they are only taken when a set.
Chapter 4 - Planning 4.1 State Space Planning 4.2 Partial Order Planning 4.3Planning in the Real World Part II: Methods of AI.
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.
ARTIFICIAL INTELLIGENCE [INTELLIGENT AGENTS PARADIGM] Professor Janis Grundspenkis Riga Technical University Faculty of Computer Science and Information.
1 Chapter 16 Planning Methods. 2 Chapter 16 Contents (1) l STRIPS l STRIPS Implementation l Partial Order Planning l The Principle of Least Commitment.
© Janice Regan, CMPT 102, Sept CMPT 102 Introduction to Scientific Computer Programming The software development method algorithms.
Artificial Intelligence 2005/06
Planning Copyright, 1996 © Dale Carnegie & Associates, Inc. Chapter 11.
Planning: Part 2 Partial Order Planning COMP151 April 2, 2007.
Artificial Intelligence Chapter 11: Planning
Artificial Intelligence 2005/06 Hierarchical Planning and Other Stuff Russell and Norvig, Chapter 11.
Artificial Intelligence 2005/06 Planning: STRIPS.
Planning Copyright, 1996 © Dale Carnegie & Associates, Inc. Chapter 11.
Artificial Intelligence Means-Ends Analysis and Constraint Propagation Jaime Carbonell 4 September 2001 Topics Covered: Means-Ends Analysis Search.
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.
Course Overview  What is AI?  What are the Major Challenges?  What are the Main Techniques?  Where are we failing, and why?  Step back and look at.
Feng Zhiyong Tianjin University Fall planning.
1 Plan-Space Planning Dr. Héctor Muñoz-Avila Sources: Ch. 5 Appendix A Slides from Dana Nau’s lecture.
April 3, 2006AI: Chapter 11: Planning1 Artificial Intelligence Chapter 11: Planning Michael Scherger Department of Computer Science Kent State University.
Object Oriented Analysis and Design System Events & Contracts.
SOEN 343 Software Design Section H Fall 2006 Dr Greg Butler
CS.462 Artificial Intelligence SOMCHAI THANGSATHITYANGKUL Lecture 07 : Planning.
Planning, page 1 CSI 4106, Winter 2005 Planning Points Elements of a planning problem Planning as resolution Conditional plans Actions as preconditions.
Artificial Intelligence 2005/06 Partially Ordered Plans - or: "How Do You Put Your Shoes On?"
For Achieved, there must be evidence of at least 3 of; Using Percentage discounts Finding the Percentage of a number Increasing or Decreasing a number.
For Friday No reading Homework: –Chapter 11, exercise 4.
Automated Planning and Decision Making Prof. Ronen Brafman Automated Planning and Decision Making Partial Order Planning Based on slides by: Carmel.
1 Chapter 16 Planning Methods. 2 Chapter 16 Contents (1) l STRIPS l STRIPS Implementation l Partial Order Planning l The Principle of Least Commitment.
Introduction to Planning Dr. Shazzad Hosain Department of EECS North South Universtiy
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)
1 CMSC 471 Fall 2004 Class #21 – Thursday, November 11.
1 CMSC 471 Fall 2002 Class #24 – Wednesday, November 20.
Ahmad Atta. Knowledge Representation 1. Case Representation 2. Case base representation.
40 Minutes Left.
April 3, 2006AI: Chapter 11: Planning1 Artificial Intelligence Chapter 11: Planning.
Artificial Intelligence 2004 Planning: Situation Calculus Review STRIPS POP Hierarchical Planning Situation Calculus (John McCarthy) situations.
ADVANCED PLANNING TECHNIQUES Dr. Adam Anthony Lecture 22.
Dana Nau: Lecture slides for Automated Planning Licensed under the Creative Commons Attribution-NonCommercial-ShareAlike License:
General Analysis Procedure and Calculator Policy Calculator Policy.
Causal-link planning 1 Jim Blythe. 2 USC INFORMATION SCIENCES INSTITUTE Causal Link Planning The planning problem Inputs: 1. A description of the world.
1 Object Oriented Analysis and Design System Events & Contracts.
Classical Planning via Plan-space search
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 José Luis Ambite.
Programming Fundamentals (750113) Ch1. Problem Solving
Done Done Course Overview What is AI? What are the Major Challenges?
Course Outline Advanced Introduction Expert Systems Topics Problem
Class #20 – Wednesday, November 5
Chapter 6 Activity Planning.
Causal-link planning 2 Jim Blythe.
Class #17 – Tuesday, October 30
Presentation transcript:

Artificial Intelligence 2005/06 Partial Order Planning

Socks & Shoes Left Sock Start Finish Right Shoe Left Shoe Right Sock Start Right Sock Finish Left Shoe Right Shoe Left Sock Start Right Sock Right Sock Right Sock Right Sock Right Sock Left Sock Left Sock Left Sock Left Sock Left Sock Left Sock Right Shoe Right Shoe Right Shoe Right Shoe Right Shoe Left Shoe Left Shoe Left Shoe Left Shoe Finish Left Shoe on Right Shoe on Left Sock on Right Sock on Partial Order Plan: Total Order Plans:

Partially Ordered Plans Partially Ordered Plans - or: "How Do You Put Your Shoes On?" Partially Ordered Plans: no strict sequence partly parallel observe threats

Resource Constraints in Planning Resources physical quantities, e.g. money, fluids etc. time Integrate Measures into Action Description and Planning representation of physical quantities and reasoning / calculation, e.g. for buy-action: effect: cash := cash – price (x) time system / time logic, e.g. go-to-action: effect: time := time + 30 (Minutes) Backtracking on Constraint Violation

Least Commitment Strategy Partially Instantiated Plans Least Commitment Strategy In general, make as little concrete as possible, i.e. leave things undetermined until you have to determine them and become concrete. Partially Instantiated Plans During planning, variables have not necessarily to be instantiated immediately. Instantiation can wait, until binding becomes necessary

Partial Order Planning 1 Start with a rough plan and refine iteratively. First plan consists only of start and finish actions: start - T as precondition, initial world state as effect finish - goal as precondition, NIL as effect Select actions to achieve sub-goals separately, quasi in parallel partial-order plan Fulfill open preconditions (sub-goals), until no more unsatisfied preconditions are left (last one is T of start)

Partial Order Planning - Causal Links Add causal links to connect effects from actions to matching preconditions for plan, e.g. move(A,B,x) has effect clear(B) clear(B) is precondition for move(B,y,z) Causal links specify a partial order.

effect of move (A,y,B) is on(A,B) is precondition for finish (goal state) causal link

Partial Order Planning - Threats Recognize threats - the effect of an action A destroys the precondition of another action B, e.g. move(A,x,B) destroys clear(B)(in DELETE-list) clear(B) is precondition for move(B,y,z) thus, move(B,Fl,C) has to be done before move (A,Fl,B) Add threats as partial order to plan: b<a (do b before a).

effect of a = move(A,Fl,B) includes DEL Clear(B) precond of c = move(B,Fl,C) includes Clear(B) threat! c<a c a b threat b<c

Partial Order Planning - Threats partial order plan = set of action strings (partial plans) Problem: Detect and resolve threats, i.e. conflicts between actions – where the precondition of one action is deleted by another action – by choosing an adequate ordering of actions: if action b is a threat to action a, then a<b, i.e. a has to occur before b. (see also Russell/Norvig textbook, The POP Planner)

Partial Order Planning - Overall Use plan transformation operators to refine the partial plan and construct a complete plan: add an action (operator), reorder actions (operators), instantiate actions (operators). A partial order plan consists of a set of action sequences (partial plans; action strings) which together achieve the complete set of goal literals. Threats induce an additional partial order of these action sequences.

Additional References Nils J. Nilsson: Artificial Intelligence – A New Synthesis. Morgan Kaufmann, San Francisco, Konolidge, K. and K. Myers: The Saphira Architecture for Autonomous Mobile Robots (Robot Soccer Class Project) Guzzoni, D. et al.: Many Robots Make Short Work. (AAAI96 Robot Competition - Meeting Scheduling) Martina Veloso, MIT (RoboCup)