All rights reserved ©L. Manevitz Lecture 61 Artificial Intelligence Planning System L. Manevitz.

Slides:



Advertisements
Similar presentations
Planning.
Advertisements

Planning Module THREE: Planning, Production Systems,Expert Systems, Uncertainty Dr M M Awais.
Planning Graphs * Based on slides by Alan Fern, Berthe Choueiry and Sungwook Yoon.
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 Chapter 10.
Planning Planning is fundamental to “intelligent” behaviour. E.g.
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 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.
EXAMPLE OF PARTIAL ORDER PLANNING. Action Recipes: Action: Stack(x,y) Prec: Clear(x) ^ Clear(y) ^ OnTable(x) Effect: ~Clear(y) ^ ~OnTable(x) ^ On(x,y)
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.
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
AI Principles, Lecture on Planning Planning Jeremy Wyatt.
PLANNING Partial order regression planning Temporal representation 1 Deductive planning in Logic Temporal representation 2.
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:
Nonlinear Planning Lecture Module 9. Nonlinear Planning with Goal Set Generate a plan by doing some work on one goal, then some on another and then some.
Planning Chapter Some material adopted from notes by Andreas Geyer-Schulz and Chuck Dyer.
22/11/04 AIPP Lecture 16: More Planning and Operators1 More Planning Artificial Intelligence Programming in Prolog.
CS.462 Artificial Intelligence SOMCHAI THANGSATHITYANGKUL Lecture 07 : Planning.
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.  Provides the ability to access individual assertions. e.g. in Predicate calculus we may say: P denotes “It rained on Tuesday” but in predicate calculus.
CPS 270: Artificial Intelligence Planning Instructor: Vincent Conitzer.
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.
CPS 570: Artificial Intelligence Planning Instructor: Vincent Conitzer.
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.
Towards Model-lite Planning A Proposal For Learning & Planning with Incomplete Domain Models Sungwook Yoon Subbarao Kambhampati Supported by DARPA Integrated.
Intelligent Systems Planning.
Planning in FOL Systems sequences of actions to achieve goals.
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.
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
Introduction Defining the Problem as a State Space Search.
CMSC 471 Fall 2011 Class #16 Tuesday, October 25, 2011 Planning
CS344 : Introduction to Artificial Intelligence
AI Planning.
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
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.
Prof. Pushpak Bhattacharyya, IIT Bombay
Presentation transcript:

All rights reserved ©L. Manevitz Lecture 61 Artificial Intelligence Planning System L. Manevitz

All rights reserved ©L. Manevitz Lecture 62 Components of a Planning System Chose the best rule to apply next based on the best available heuristic information. Apply the chosen rule to compute the new problem state that arises from its application. Detect when a solution has been found.

All rights reserved ©L. Manevitz Lecture 63 Components of a Planning System cont. Detect dead ends so that they can be abandoned and the system’s effort directed in more fruitful directions. Detect when an almost correct solution has been found and employ special techniques to make it totally correct.

All rights reserved ©L. Manevitz Lecture 64 The Blocks World Operators: –UNSTACK(A,B) – Pick up block A from its current position on block B. The arm must be empty and block A must have no blocks on top of it. –STACK(A,B) – Place block A on block B. The arm must already be holding A and the surface of B must be clear.

All rights reserved ©L. Manevitz Lecture 65 The Blocks World cont. –PICKUP(A) – Pick up block A from the table and hold it. Te arm must be empty and there must be nothing on top of block A. –PUTDOWN(A) – Put block A down on the table. The arm must have been holding block A.

All rights reserved ©L. Manevitz Lecture 66 The Blocks World cont. Predicates: –ON(A,B) – Block A is on block B. –ONTABLE(A) – Block A is on the table. –CLEAR(A) – There is nothing on top of block A. –HOLDING(A) – The arm is holding block A. –ARMEMPTY – The arm is holding nothing.

All rights reserved ©L. Manevitz Lecture 67 The Blocks World cont. Inference rules: –[ x : HOLDING(x)] ARMEMPTY – x : ONTABLE(x) y : ON(x,y) – x : [ y : ON(y,x)] CLEAR(x)

All rights reserved ©L. Manevitz Lecture 68 A Simple Blocks World Description B A ON(A,B,S0) ONTABLE(B,S0) CLEAR(A,S0)

All rights reserved ©L. Manevitz Lecture 69 STRIPS – Style Operate for the Blocks World 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)

All rights reserved ©L. Manevitz Lecture 610 STRIPS – Style Operate for the Blocks World cont. 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

All rights reserved ©L. Manevitz Lecture 611 A Simple Search Tree 123 UNSTACK(A,B) PUTDOWN(A) Global database at this point ONTABLE(B) CLEAR(A) CLEAR(B) ONTABLE(A)

All rights reserved ©L. Manevitz Lecture 612 A Very Simple Blocks World Problem A B CDAD BC Start: ON(B,A) ONTABLE(A) ONTABLE(C) ONTABLE(D) ARMEMPTY Goal: ON(C,A) ON(B,D) ONTABLE(A) ONTABLE(D)

All rights reserved ©L. Manevitz Lecture 613 Goal Stack Planning 1)Initial goal stack: ON(C,A) ON(B,D) ONTABLE(A) ONTABLE(D)

All rights reserved ©L. Manevitz Lecture 614 Goal Stack Planning cont. 2)Choose to work on ON(C,A) before ON(B,D): ON(C,A) ON(B,D) OTAD ON(B,D) ON(C,A)

All rights reserved ©L. Manevitz Lecture 615 Goal Stack Planning cont. 3)Achieve ON(C,A) with STACK(C,A): ON(C,A) ON(B,D) OTAD ON(B,D) ON(C,A)STACK(C,A)

All rights reserved ©L. Manevitz Lecture 616 Goal Stack Planning cont. 4)Add STACK’s preconditions: ON(C,A) ON(B,D) OTAD ON(B,D) STACK(C,A) HOLDING(C) CLEAR(A) CLEAR(A) HOLDING(C)

All rights reserved ©L. Manevitz Lecture 617 Goal Stack Planning cont. 5)Achieve CLEAR(A) with UNSTACK(B,A): ON(C,A) ON(B,D) OTAD ON(B,D) STACK(C,A) HOLDING(C) CLEAR(A) HOLDING(C) UNSTACK(B,A) ON(B,A) CLEAR(B) ARMEMPTY ON(B,A) CLEAR(B) ARMEMPTY CLEAR(A)

All rights reserved ©L. Manevitz Lecture 618 Goal Stack Planning cont. 6)Pop satisfied predicates: ON(C,A) ON(B,D) OTAD ON(B,D) STACK(C,A) HOLDING(C) CLEAR(A) HOLDING(C) UNSTACK(B,A) ON(B,A) CLEAR(B) ARMEMPTY ON(B,A) CLEAR(B) ARMEMPTY

All rights reserved ©L. Manevitz Lecture 619 Goal Stack Planning cont. 7)Achieve HOLDING(C) with UNSTACK(C,x): ON(C,A) ON(B,D) OTAD ON(B,D) STACK(C,A) HOLDING(C) CLEAR(A) HOLDING(C) UNSTACK(C,x) ON(C,x) CLEAR(C) ARMEMPTY ON(C,x) CLEAR(C) ARMEMPTY

All rights reserved ©L. Manevitz Lecture 620 Goal Stack Planning cont. 8)Achieve ON(C,x) by STACK(C,x): ON(C,A) ON(B,D) OTAD ON(B,D) STACK(C,A) CLEAR(A) HOLDING(C) UNSTACK(C,x) ON(C,x) CLEAR(C) ARMEMPTY ON(C,x) CLEAR(C) ARMEMPTY STACK(C,x) CLEAR(x) HOLDING(C) HOLDING(C) CLEAR(x)

All rights reserved ©L. Manevitz Lecture 621 Goal Stack Planning cont. 9)Terminate path because HOLDING(C) is duplicated. ON(C,A) ON(B,D) OTAD ON(B,D) STACK(C,A) CLEAR(A) HOLDING(C) UNSTACK(C,x) ON(C,x) CLEAR(C) ARMEMPTY CLEAR(C) ARMEMPTY STACK(C,x) CLEAR(x) HOLDING(C) HOLDING(C) CLEAR(x)

All rights reserved ©L. Manevitz Lecture 622 Goal Stack Planning cont. 10)Achieve HOLDING(C) with PICKUP, not UNSTACK: ON(C,A) ON(B,D) OTAD ON(B,D) STACK(C,A) CLEAR(A) HOLDING(C) PICKUP(C) ONTABLE(C) CLEAR(C) ARMEMPTY CLEAR(C) ARMEMPTY ONTABLE(C)

All rights reserved ©L. Manevitz Lecture 623 Goal Stack Planning cont. 11)Pop ONTABLE(C) and CLEAR(C), and achieve ARMEMPTY by STACK(B,D): ON(C,A) ON(B,D) OTAD ON(B,D) STACK(C,A) CLEAR(A) HOLDING(C) PICKUP(C) ONTABLE(C) CLEAR(C) ARMEMPTY CLEAR(C) ARMEMPTY ONTABLE(C) STACK(B,D) CLEAR(D) HOLDING(B) HOLDING(B) CLEAR(D)

All rights reserved ©L. Manevitz Lecture 624 Goal Stack Planning cont. 12)Pop entire stack, and return plan: i.UNSTACK(B,A). ii.STACK(B,D). iii.PICKUP(C). iv.STACK(C,A).

All rights reserved ©L. Manevitz Lecture 625 A Slightly Harder Blocks Problem A C B C B A Start: ON(C,A) ONTABLE(A) ONTABLE(B) ARMEMPTY Goal: ON(A,B) ON(B,C)

All rights reserved ©L. Manevitz Lecture 626 Goal Stack Planning There are two ways to begin solving: 21 ON(A,B) ON(B,C) ON(B,C) ON(A,B) ON(A,B) ON(B,C) ON(A,B) ON(B,C)

All rights reserved ©L. Manevitz Lecture 627 Goal Stack Planning cont. Let’s choose alternative 1.we will eventually produce this goal stack: ON(A,B) ON(B,C) ON(B,C) STACK(A,B) CLEAR(B) HOLDING(A) PICKUP(A) CLEAR(A) ARMEMPTY CLEAR(C) ARMEMPTY UNSTACK(C,A) ARMEMPTY CLEAR(C) ARMEMPTY ON(A,B) HOLDING(A) CLEAR(A)

All rights reserved ©L. Manevitz Lecture 628 Goal Stack Planning cont. We can pop off the stack goals that have already been satisfied: ON(A,B) ON(B,C) ON(B,C) STACK(A,B) CLEAR(B) HOLDING(A) PICKUP(A) CLEAR(A) ARMEMPTY CLEAR(C) ARMEMPTY UNSTACK(C,A) ARMEMPTY CLEAR(C) ARMEMPTY PUTDOWN(C) HOLDING(C) To satisfy ARMEMPTY we need to PUTDOWN(C).

All rights reserved ©L. Manevitz Lecture 629 Goal Stack Planning cont. We can continue popping: ON(A,B) ON(B,C) ON(B,C) STACK(A,B) CLEAR(B) HOLDING(A) PICKUP(A) CLEAR(A) ARMEMPTY PUTDOWN(C) HOLDING(C)

All rights reserved ©L. Manevitz Lecture 630 Goal Stack Planning cont. The current state is: The sequence of operators applied so far is: 1.UNSTACK(C,A) 2.PUTDOWN(C) 3.PICKUP(A) 4.STACK(A,B) CB A ONTABLE(B) ON(A,B) ONTABLE(C) ARMEMPTY

All rights reserved ©L. Manevitz Lecture 631 Goal Stack Planning cont. Now we can begin to work on ON(B,C). We need to stack B on C. To do that we need to unstack A from B. By the time we have achieved the goal ON(B,C), and popped it off the stack, we will have executed the following additional sequence of operators

All rights reserved ©L. Manevitz Lecture 632 Goal Stack Planning cont. The sequence of operators : 5.UNSTACK(A,B) 6.PUTDOWN(A) 7.PICKUP(B) 8.STACK(B,C) The problem state will be: C B A ON(B,C) ONTABLE(A) ONTABLE(C) ARMEMPTY

All rights reserved ©L. Manevitz Lecture 633 Goal Stack Planning cont. But now when we check the remaining goal on the stack: we discover that it is not satisfied. We have undone ON(A,B) in the process of achieving ON(B,C). The sequence of operators we need to add: 9.PICKUP(A) 10.STACK(A,B) ON(A,B) ON(B,C)

All rights reserved ©L. Manevitz Lecture 634 Goal Stack Planning cont. The complete plan that has been discovered is: 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)  Although this plan will achieve the desired goal, it does not do so very efficiently.  The same would have happened if we had chosen the second alternative.

All rights reserved ©L. Manevitz Lecture 635 Goal Stack Planning cont. There are two approaches we can take to the question of how a good plan could be found: 1.Look at ways to repair the plan we already have – look for places in the plan where we perform an operation and then immediately undo it. We can eliminate both the doing and the undoing steps from the plan. 2.Use a plan-finding procedure that could construct efficient plans directly – the Nonlinear Planning.

All rights reserved ©L. Manevitz Lecture 636 Repairing the First 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) 1.UNSTACK(C,A) 2.PUTDOWN(C) 3.PICKUP(B) 4.STACK(B,C) 5.PICKUP(A) 6.STACK(A,B)

All rights reserved ©L. Manevitz Lecture 637 The Nonlinear Planning Begin work on the goal ON(A,B) by clearing A, thus putting C on the table. ACB C

All rights reserved ©L. Manevitz Lecture 638 Nonlinear Planning cont. Achieve the goal ON(B,C) by stacking B on C. ACB B

All rights reserved ©L. Manevitz Lecture 639 Nonlinear Planning cont. Complete the goal ON(A,B) by stacking A on B. AC B A

All rights reserved ©L. Manevitz Lecture 640 Backwards Non-Linear Planner Finds “Last Operator” recursively Uses theorem prover to prune paths

All rights reserved ©L. Manevitz Lecture 641

All rights reserved ©L. Manevitz Lecture 642 The Problem Solving System NOAH NOAH plans by developing a hierarchy of subgoals. The procedural net contains several levels of representation of a plan, each level more detailed than the previous one. For example: the node representing the abstract goal make coffee may be expanded to : grind coffee, boil water, put the coffee in a filter, pour the water through it.

All rights reserved ©L. Manevitz Lecture 643

All rights reserved ©L. Manevitz Lecture 644 NOAH cont. We’ll use NOAH to solve the blocks problem. The operators used in this example are slightly different from those we have been using. STACK – will put any object on any other (including the table), provided that both objects are clear. It includes the picking up of the object to be moved.

All rights reserved ©L. Manevitz Lecture 645 The Blocks Problem A reminder of the problem : A C B C B A Start: ON(C,A) ONTABLE(A) ONTABLE(B) ARMEMPTY Goal: ON(A,B) ON(B,C)

All rights reserved ©L. Manevitz Lecture 646 NOAH Solution The initial state of the problem solver: (ON(A,B) ON(B,C)) Level 1

All rights reserved ©L. Manevitz Lecture 647 NOAH Solution cont. The first thing that it does is to divide the problem into two subproblems: ON(A,B) Level 2 ON(B,C)SJ SplitJoin

All rights reserved ©L. Manevitz Lecture 648 NOAH Solution cont. At the third level the preconditions of STACK are considered – the two blocks involved must be clear. CLEAR(A) Level 3: before criticism CLEAR(B)SJ CLEAR(C)SJSSTACK(A,B)STACK(B,C)J

All rights reserved ©L. Manevitz Lecture 649 NOAH Solution cont. Now NOAH employs a set of critics to examine the plan and detect interactions among the subplans. Each critic is a little program that makes specific observations about the proposed plan.

All rights reserved ©L. Manevitz Lecture 650 The Resolve Conflicts critic The Resolve Conflicts critic – constructs a table that lists all the literals that are mentioned more than once in the plan. CLEAR(B):asserted: node 2 “Clear B” denied: node 3 “Stack A on B” asserted: node 4 “Clear B” CLEAR(C):asserted: node 5 “Clear C” denied: node 6 “Stack B on C”

All rights reserved ©L. Manevitz Lecture 651 The Resolve Conflicts critic cont. Constraints on the ordering of operation arise when a given literal must be true before one operation can be performed but will be undone by another. CLEAR(B):denied: node 3 “Stack A on B” asserted: node 4 “Clear B”

All rights reserved ©L. Manevitz Lecture 652 The Resolve Conflicts critic cont. Conclusion: Since putting A on B could undo the preconditions for putting B on C, putting B on C needs to be done first.

All rights reserved ©L. Manevitz Lecture 653 NOAH Solution cont. The third level after criticism to resolve conflicts: CLEAR(A) Level 3 CLEAR(B)SJ CLEAR(C)SJSSTACK(A,B)STACK(B,C)

All rights reserved ©L. Manevitz Lecture 654 Eliminate Redundant Preconditions Can be invoked to eliminate the redundant specification of subgoals. In this case CLEAR(B) appears twice and is only denied by the last step of the plan.

All rights reserved ©L. Manevitz Lecture 655 NOAH Solution cont. The third level after all criticism: CLEAR(A) Level 3 J CLEAR(B) CLEAR(C)SJSSTACK(A,B)STACK(B,C)

All rights reserved ©L. Manevitz Lecture 656 NOAH Solution cont. To clear A, C must be removed from A. in order to do that C must be clear : CLEAR(C) Level 4: before criticism J CLEAR(B) CLEAR(C)SJSSTACK(A,B)STACK(B,C)STACK(C,x)

All rights reserved ©L. Manevitz Lecture 657 The Resolve Conflicts critic The critic observes that putting B on C will make CLEAR(C) false, so everything that depends on C being clear will have to be done before B is put on C.

All rights reserved ©L. Manevitz Lecture 658 NOAH Solution cont. The Resolve Conflicts critic is employed: CLEAR(C) Level 4: after criticism to resolve conflicts CLEAR(B) CLEAR(C)SJSSTACK(A,B)STACK(B,C)STACK(C,x)

All rights reserved ©L. Manevitz Lecture 659 Eliminate Redundant Preconditions It notices that CLEAR(C) is required twice. Since putting C somewhere must occur before putting B on C, and both require C being clear then we know that when we get to putting B on C, C will be clear. CLEAR(C) can be eliminated from the lower path.

All rights reserved ©L. Manevitz Lecture 660 NOAH Solution cont. The Eliminate Redundant Preconditions critic is called: CLEAR(C) Level 4: after all criticism CLEAR(B)JSSTACK(A,B)STACK(B,C)STACK(C,x)

All rights reserved ©L. Manevitz Lecture 661 NOAH Solution cont. The system observes that the remaining goals, CLEAR(C) and CLEAR(B), are true in the initial state. Therefore the final plan is: Final plan STACK(A,B)STACK(B,C)STACK(C,x)