3. Knowledge Representation, Reasoning, and Planning

Size: px
Start display at page:

Download "3. Knowledge Representation, Reasoning, and Planning"

Transcription

1 3. Knowledge Representation, Reasoning, and Planning 3.1 Common Sense Knowledge 3.2 Knowledge Representation Networks 3.3 Reasoning Propositional Logic Predicate Logic: PROLOG 3.4 Planning Planning vs. Problem Solving Planning Using Situation Calculus Planning Examples Summary Origins Problem solving using state-space searching Theorem proving Robotics Planners are like problem solving agents states goals actions (2) Planners Differences: Use logic to represent goals, states, and actions. Searches are executed differently. Use of partial plans and planning algorithms to achieve a solution. In some ways more intelligent than a problem solving agent. Planning vs. Problem Solving Planning Using Situation Calculus Planning Examples Summary A planning agent uses its percepts of the world state to form a model of the world. The agent first generates a goal to achieve. Then the agent constructs a plan to achieve it from the current state. Once it has a plan, it keeps executing it until the plan is finished. Then the agent begins again with a new goal. Planners must be able to distinguish two special cases: infeasible goals goals that are already achieved

2 Plans: A Simple Example Suppose we are at home and we want to go to school, and we must take the bus to do so. A simple plan would likely be: state: We are at home. Actions required to get to school: Go to the bus stop. Get on the bus. Ride the bus to school. Get off of the bus. Walk from the bus stop to the school. Goal State: We are at school. Planning vs. Problem Solving Planning Using Situation Calculus Planning Examples Summary From Problem Solving to Planning From Problem Solving to Planning (2) Basic elements of a search-based problemsolver: Representation of actions. Actions are described by programs that generate successor state descriptions. Representation of states. All state representations are complete. State representations are used for successor generation, heuristic function evaluation, and goal testing. Representation of goals. The goal test and heuristic function are the only way to test for a goal state. Black box decisions on their desirability Representation of plans. A solution is an unbroken sequence of actions from an initial state to goal states. A planning agent needs a more flexible way of structuring its deliberations: work on whichever part of the problem is most likely to be solvable, given the current information. Video Rental - Search Searching vs. Planning Goal: Rent a video, buy some bread, and come home Go to Restaurant Go to Dry Cleaners Go to Rogers Go to store Eat Pick up clothes Rent video Buy Milk... Goal Get a quart of milk and a bunch of bananas and a variable-speed cordless drill. Sit in a chair Go to Sleep Buy Bread Read book...

3 Key Ideas Behind Planning Key Ideas Behind Planning (2) Open up the representation of states, goals, and actions. First-order logic States and goals : sets of sentences Actions: logical descriptions of preconditions and effects Consequently, we get direct connections between states and actions. Example: Goal: Have(Milk) Database: Buy(x) -> Have(x) Chosen action: Buy(Milk) The planner is free to add actions to the plan wherever they are needed, rather than in an incremental sequence at the initial state. Example: choose Buy(Milk) even before knowing where and how to get Milk. There is no necessary connection between the order of planning and the order of execution. Representing states as sets of logical sentences is essential in making this freedom possible. Example: At(Supermarket) represents an entire class of states. Key Ideas Behind Planning (3) Video Rental - Search (revisited) Most parts of the world are independent of most other parts. This makes it feasible to solve conjunctive goals in a divide-and-conquer strategy (generate subplans). Example: divide the Supermarket subplan into a Milk and Bananas subplan. Goal: Rent a video, buy some bread, and come home Go to Restaurant Go to Dry Cleaners Go to Rogers Go to store Sit in a chair Go to Sleep Eat Pick up clothes Rent video Buy Milk Buy Bread Read book... Goal... Video Rental - Planning A simple progressive plan might be state: At Home without Video and Bread Actions: Go to Store Buy Bread Go to Rogers Rent Video Go Home Goal state: At Home with Video and Bread Planning vs. Problem Solving Planning Using Situation Calculus Planning Examples Summary

4 Planning in Situation Calculus Formulation of planning as a logical inference problem, using situation calculus: Initial state: An arbitrary logical sentence about a situation S 0. At(Home, S 0 ) Have(Milk, S 0 ) Have(Bananas, S 0 ) Have(Drill, S 0 ) Goal state: A logical query asking for suitable situations. s At(Home,s) Have(Milk,s) Have(Bananas,s) Have(Drill,s) Planning in Situation Calculus (2) Operators: A set of descriptions of actions. a,s Have(Milk, Result(a,s)) [(a = Buy(Milk) At(Supermarket,s) (Have(Milk,s) a Drop(Milk)) ] Result(a,s): the situation resulting from executing action a in situation s. Planning in Situation Calculus (3): Handling Action Sequences ResultSeq(k, s): the situation resulting from executing the sequence of actions k starting in situation s. s ResultSeq( [ ], s) = s a, p, s ResultSeq( [a p], s) = ResultSeq(p, Result(a, s)) Plan for Shopping Example A solution to the shopping problem is a plan p that when applied to the start state S 0 yields a situation satisfying the goal query. Therefore, we search a p such that At(Home, ResultSeq(p, S 0 )) Have(Milk, ResultSeq(p, S 0 )) Have(Bananas, ResultSeq(p, S 0 )) Have(Drill, ResultSeq(p, S 0 )) Plan for Shopping Example (2) We search a p such that At(Home, ResultSeq(p, S 0 )) Have(Milk, ResultSeq(p, S 0 )) Have(Bananas, ResultSeq(p, S 0 )) Have(Drill, ResultSeq(p, S 0 )) So why don t we just use a theorem prover? and we are done! Solution: p = [ Go(SuperMarket), Buy(Milk), Buy(Bananas), Go(HardwareStore), Buy(Drill), Go(Home) ]

5 Planner vs. Theorem Prover The fundamental difference between a planner and a theorem prover is that the planner requests a sequence of steps that, if executed, will result in the goal state being true. The theorem prover evaluates the sentences for validity. Theorem Provers as Planners? The major drawback of using a theorem-prover for a planner is that a theoretical solution and a practical solution are often not one and the same. In fact, the only guarantee we have for the solution is that we have reached the goal state, but no information on the means. (DoNothing, DoNothing,, Plan) (DoSomething, Plan, UndoSomething) Theorem Provers as Planners? (2) The method of logical inference is semidecidable. This affects planning if the method of inference is unguided by making it extremely inefficient. The solution to the problem of semidecidability is to restrict the language understood by the prover - i.e. create a planner rather than a general purpose theorem prover. Planning vs. Problem Solving Planning Using Situation Calculus Planning Examples Summary The planner will have an algorithm to handle its language efficiently. The most basic representation used for creating planners was developed in a language known as STRIPS STanford Research Institute Problem Solver (Today: SRI International; planner rather than problem solver) Extensions of the STRIPS language are often used in planners today. STRIPS blends efficient planning with the expressive situation calculus representation. Representations: States and Goals States are represented as conjunctions of literals, though planners will often not store entire sets of literals describing the current state. At(Home, S 0 ) Have(Milk, S 0 ) Have(Bananas, S 0 ) Have(Drill, S 0 ) In fact, incomplete states often assume that the literals not indicated are to be treated as false. Goals are conjunctions of literals and (often existentially) quantified variables. At(Home,s) Have(Milk,s) Have(Bananas,s) Have(Drill,s)

6 Representations: Actions Actions are described by STRIPS operators, each of which consists of three components Action description: what an agent returns to the environment in order to do something. Within a planner it serves only as a name for a possible action. Precondition: a conjunction of atoms (positive literals) stating what must be true before the operator can be applied Effect of an operator: a conjunction of literals (positive or negative) that describes how the situation changes when the operator is applied Operator Example Op( ACTION: Go(there), PRECOND: At(here) Path(here, there), EFFECT: At(there) At(here) ) Operator: Go(there) Situation and Plan Spaces Situations are nodes of the search tree between the initial and goal states. Planners can search through the situation space progressively or regressively. Regressive searches are possible because the operators have enough knowledge about the resulting state and the preconditions to decide if an operator is actually applicable. Regressive searching is desirable as goals are not as complex as initial states (fewer conjuncts), but it is very complicated in application, and inefficient to do attempt to overcome this. Situation and Plan Spaces (2) Plan spaces are made up of partial plans - basically frameworks for plans. Plan modification involves inserting, removing, and ordering steps, instantiating variables, etc. The solution is the final plan. The steps taken to achieve this are irrelevant. Example: Video Rental At(Home) Rents(Rogers, Video) Sells(Store, Bread) At(Home) Go(Rogers) At(Rogers) Rents(Rogers, Video) Rent(Video) At(Rogers) Go(Store) At(Store) Sells(Store, Bread) Buy(Bread) At(Store) Go(Home) Situation and Plan Spaces (3) Two operators are generally used on plans: Refinement: constrain or eliminate plans from the space Modification: any other type of plan modification Plan frameworks will all contain a start state and a goal descriptor. The start state sets the preconditions for the first action, and the goal state matches the results of the last action.

7 Plans: Totally and Partially Ordered Least Commitment - don t make a decision until you have to. If a decision is not important at a given stage, leaving it undecided allows for greater flexibility later on and results in less backtracking This leads to a partial order within the plan. Any given (total order) plan will be a linearization of this partial ordering. Plans: Totally and Partially Ordered (2) Example: Putting on a Pair of Shoes Op(ACTION: RightShoe, PRECOND: RightSockOn, EFFECT: RightShoeOn) Op(ACTION: RightSock, EFFECT: RightSockOn) Op(ACTION: LeftShoe, PRECOND: LeftSockOn, EFFECT: LeftShoeOn) Op(ACTION: LeftSock, EFFECT: LeftSockOn) Plans: Totally and Partially Ordered (3) Example : Putting on a Pair of Shoes Data Structure for Plans A set of plan steps. Each step is one of the operators. A set of step ordering constraints. Each constraint is of the form S i < S k Step S i must occur sometime before S k. A set of variable binding constraints, of the form v = x, where v is a variable and x is a constant or a variable. A set of causal links. Data Structure for Plans: Shoe Example Plan ( STEPS: { S 1 : Op(ACTION: ), S 2 : Op(ACTION:, PRECOND: RightShoeOn LeftShoeOn) }, ORDERINGS: {S 1 < S 2 }, BINDINGS: {}, LINKS: {} ) Causal Links Causal links are formed based on precondition fulfilling. A causal link is created when a given state S 1 contains a precondition c for state S 2. S 1 c S 2 S 1 achieves c for S 2. A purpose of S 1 is to achieve the precondition c of S 2. Causal links are protected.

8 Protecting Threatened Causal Links Protecting Threatened Causal Links S 1 c S 3 S 2 c When linearizing a plan, threats that may delete a precondition are ordered either - before the first state (demoted) or - after the second (promoted) when linearizing the plan. This prevents removing the link. S 1 c S 3 S 2 c demote S 3 S 1 S 2 c c promote S 1 S 2 S 3 c c S 3 threatens a condition c established by S 1 and protected by the causal link from S 1 to S 2. S 3 threatens a condition c established by S 1 and protected by the causal link from S 1 to S 2. Solutions Solutions are executable plans. Complete Solutions If S c 1 S 2 then S 1 < S 2 and there is no S 3 such that c results from it, where S 1 < S 3 < S 2 Consistent Solutions There are no orderings such that S 1 < S 2 and S 2 < S 1, or where a variable v = A and v = B (or v = x = B) Possible Threats When a state threatens to remove a precondition necessary to reach another state, it is called a threat. Often when variables are not yet instantiated, they pose possible threats, depending on what they are later assigned. There are 3 methods of dealing with the possible threat. Note the transitivity of the < and = operators Possible Threat Solutions Resolving with an equality constraint Immediately instantiate the variable to something that is nonthreatening Resolving with an inequality constraint Immediately mark the variable as not equal to the threatening value. This has lower commitment. Resolve the threat later This has the lowest commitment, but may not result in an actual solution plan. Planning vs. Problem Solving Planning Using Situation Calculus Planning Examples Summary

9 Planning Examples Partial-order Planner (POP) Example Blocks World Shakey s World Video Rental Problem Partial Order Planner (POP) POP uses regressive planning to create a solution. 1. s with a minimal partial plan and extends the plan at each step by achieving the precondition of a state S. operators are chosen from any steps currently in the plan or the operator pool 2. It then sets up causal links and eliminates threats. 3. If it cannot find an operator at a given point, it backtracks to the previous choice point. The POP algorithm is sound (truth-preserving) and complete - it always finds a solution if one is possible. POP Example: Shopping POP Example: Shopping (2) Initial state: Op(ACTION:, EFFECT: At(Home) Sells(HWS, Drill) Sells(SM, Milk) Sells(SM, Banana)) Goal state: Op(ACTION:, PRECOND: Have(Drill) Have(Milk) Have(Banana) At(Home)) Actions: Op(ACTION: Go(there), PRECOND: At(here), EFFECT: At(there) At(here) Op(ACTION: Buy(x), PRECOND: At(store) Sells(store, x), EFFECT: Have(x) ) POP Example: Shopping (3) POP Example: Shopping (3) Op(ACTION: Buy(x), PRECOND: At(store) Sells(store, x), EFFECT: Have(x) ) Op(ACTION: Buy(x), PRECOND: At(store) Sells(store, x), EFFECT: Have(x) )

10 POP Example: Shopping (3) POP Example: Shopping (3) Causal links Op(ACTION: Buy(x), PRECOND: At(store) Sells(store, x), EFFECT: Have(x) ) POP Example: Shopping (3) POP Example: Shopping (4) Causal links Op(ACTION:, EFFECT: At(Home) Sells(HWS, Drill) Sells(SM, Milk) Sells(SM, Banana)) Op(ACTION:, EFFECT: At(Home) Sells(HWS, Drill) Sells(SM, Milk) Sells(SM, Banana)) POP Example: Shopping (5) POP Example: Shopping (6) A partial plan achieving At preconditions of the three Buy actions. A flawed plan, getting the agent to the HWS and SM.

11 POP Example: Shopping (7) POP Example: Shopping (8) Causal link protection. POP Example: Shopping (8) POP Example: Shopping (9) Causal link protection. A solution to the shopping problem Blocks World Builds stacks of blocks on a table top. Uses two state descriptors and an operator: On(x, y) : indicates x is on top of y Clear(x) : indicates x has nothing on top of it Move(x, y, z) : Preconditions: Clear(x) /\ Clear(z) /\ On(x, y) Effect: A C A B B C Goal Blocks World (2) On(x, z) /\ Clear(y) /\ On(x, y) /\ Clear(z) Solution: Change the meaning of Clear(x) to mean there is room on x for a block Add a new rule MoveToTable(x, y) Preconditions: On(x, y) /\ Clear(x) /\ Table(y) Effect: On(x, Table) /\ Clear(y) /\ On(x, y) Modify the Move(x, y, z) rule: Preconditions: Effect: C A B A B C On(x,y) /\ Clear(x) /\ Clear(z) /\ Table(z) On(x, z) /\ Clear(y) /\ On(x, y) /\ Clear(z) Goal Note: Move(x, y, Table) and Move(x, Table, z) have some concerns with Clear(Table). In the former, the table must be clear to move the block and in the later, the table is then marked as clear.

12 Blocks World Example C A B A B C Goal State: On(A, Table) /\ On(C, A) /\ Clear(C) /\ On(B, Table) /\ Clear(B) MoveToTable(C, A) - PRECOND: On(C, A), Clear(C) EFFECT: On(C, Table) /\ Clear(A) /\ On(C, A) Move(B, Table, C) - PRECOND: On(B, Table), Clear(C) EFFECT: On(B, C) /\ Clear(Table) /\ On(B, Table) /\ Clear(C) Move(A, Table, B) - PRECOND: On(A, Table), Clear(B) EFFECT: On(A, B) /\ Clear(Table) /\ On(A, Table) /\ Clear(B) Goal State: On(C, Table) /\ On(B, C) /\ On(A, B) /\ Clear(A) Shakey s World A planner designed to allow a robot to move between rooms and perform some restricted actions. Uses actions such as Go(loc), Push(obj, loc1, loc2), Climb(box) and Down(box) TurnOn(light_switch) and TurnOff(light_switch) Predicates such as Pushable(object), On(Shakey, level), At(Shakey, loc), Climbable(box), In(obj, loc) Constant - Floor Shakey s World (2) Video Rental - Search Goal: Rent a video, buy some bread, and come home Go to Restaurant Eat Go to Dry Cleaners Go to Rogers Go to store Sit in a chair Go to Sleep Pick up clothes Rent video Buy Milk Buy Bread Read book... Goal... Video Rental - Planning At(Home) Rents(Rogers, Video) Sells(Store, Bread) Video Rental - Planning At(Home) Rents(Rogers, Video) Sells(Store, Bread) At(s) Rents(s, Video) Rent(Video) At(s) Sells(s, Bread) Buy(Bread)

13 Video Rental - Planning At(Home) Rents(Rogers, Video) Sells(Store, Bread) Video Rental - Planning At(Home) Rents(Rogers, Video) Sells(Store, Bread) At(Rogers) Rents(Rogers, Video) At(Store) Sells(Store, Bread) At(x) Go(Rogers) At(x) Go(Store) Rent(Video) Buy(Bread) At(Rogers) Rents(Rogers, Video) Rent(Video) At(Store) Sells(Store, Bread) Buy(Bread) Video Rental - Planning At(Home) Rents(Rogers, Video) Sells(Store, Bread) Video Rental - Planning At(Home) Rents(Rogers, Video) Sells(Store, Bread) At(Home) Go(Rogers) At(Home) Go(Store) At(Home) Go(Rogers) At(Rogers) Go(Store) At(Rogers) Rents(Rogers, Video) Rent(Video) At(Store) Sells(Store, Bread) Buy(Bread) At(Rogers) Rents(Rogers, Video) Rent(Video) At(Store) Sells(Store, Bread) Buy(Bread) At(Store) Go(Home) Video Rental - Planning At(Home) Go(Rogers) At(Rogers) Rents(Rogers, Video) Rent(Video) At(Rogers) Go(Store) At(Store) Sells(Store, Bread) Buy(Bread) At(Store) Go(Home) Planning vs. Problem Solving Planning Using Situation Calculus Planning Examples Summary

14 Summary Planners use formal representations of states, goals, and actions to allow greater flexibility in determining paths from the start state to the finish. Planners often take one of two approaches to solving a problem - progressive or regressive plan building. Least Commitment is making decisions only when it is necessary, thus reducing backtracking. Partial Plans are often a better solution mechanism than searching as they reduce the complexity of the method. Causal links are used to determine and resolve conflicts when working with partial-order plans. References Kasabov, N. (1996). Foundations of Neural Networks, Fuzzy Systems, and Knowledge Engineering. Cambridge, MA, MIT Press. Nilsson, N. (1998). Artificial Intelligence A New Synthesis. San Francisco, CA, Morgan Kaufmann. Russell, S. and Norvig, P. (1995). Artificial Intelligence A Modern Approach. Upper Saddle River, NJ, Prentice Hall.

3. Knowledge Representation, Reasoning, and Planning

3. Knowledge Representation, Reasoning, and Planning 3. Knowledge Representation, Reasoning, and Planning 3.1 Common Sense Knowledge 3.2 Knowledge Representation Networks 3.3 Reasoning Propositional Logic Predicate Logic: PROLOG 3.4 Planning Introduction

More information

Introduction to Planning COURSE: CS40002

Introduction to Planning COURSE: CS40002 1 Introduction to Planning COURSE: CS40002 Pallab Dasgupta Professor, Dept. of Computer Sc & Engg 2 Outline Planning versus Search Representation of planning problems Situation calculus STRIPS ADL Planning

More information

Commitment Least you haven't decided where to go shopping. Or...suppose You can get milk at the convenience store, at the dairy, or at the supermarket

Commitment Least you haven't decided where to go shopping. Or...suppose You can get milk at the convenience store, at the dairy, or at the supermarket Planning as Search-based Problem Solving? Imagine a supermarket shopping scenario using search-based problem solving: Goal: buy milk and bananas Operator: buy Heuristic function: does = milk

More information

Planning (What to do next?) (What to do next?)

Planning (What to do next?) (What to do next?) Planning (What to do next?) (What to do next?) (What to do next?) (What to do next?) (What to do next?) (What to do next?) CSC3203 - AI in Games 2 Level 12: Planning YOUR MISSION learn about how to create

More information

Lecture Overview. CSE3309 Artificial Intelligence. The lottery paradox. The Bayesian claim. The lottery paradox. A Bayesian model of rationality

Lecture Overview. CSE3309 Artificial Intelligence. The lottery paradox. The Bayesian claim. The lottery paradox. A Bayesian model of rationality CSE3309 Lecture Overview The lottery paradox A Bayesian model of rationality Lecture 15 Planning Dr. Kevin Korb School of Computer Science and Software Eng. Building 75 (STRIP), Rm 117 korb@csse.monash.edu.au

More information

Planning II. Introduction to Artificial Intelligence CSE 150 Lecture 12 May 15, 2007

Planning II. Introduction to Artificial Intelligence CSE 150 Lecture 12 May 15, 2007 Planning II Introduction to Artificial Intelligence CSE 150 Lecture 12 May 15, 2007 Administration Your second to last Programming Assignment is up - start NOW, you don t have a lot of time The PRIZE:

More information

Planning (Chapter 10)

Planning (Chapter 10) Planning (Chapter 10) http://en.wikipedia.org/wiki/rube_goldberg_machine Planning Example problem: I m at home and I need milk, bananas, and a drill. What do I do? How is planning different from regular

More information

Planning. Some material taken from D. Lin, J-C Latombe

Planning. Some material taken from D. Lin, J-C Latombe RN, Chapter 11 Planning Some material taken from D. Lin, J-C Latombe 1 Logical Agents Reasoning [Ch 6] Propositional Logic [Ch 7] Predicate Calculus Representation [Ch 8] Inference [Ch 9] Implemented Systems

More information

Artificial Intelligence. Planning

Artificial Intelligence. Planning Artificial Intelligence Planning Planning Planning agent Similar to previous problem solving agents Constructs plans that achieve its goals, then executes them Differs in way it represents and searches

More information

Automated Planning. Plan-Space Planning / Partial Order Causal Link Planning

Automated Planning. Plan-Space Planning / Partial Order Causal Link Planning Automated Planning Plan-Space Planning / Partial Order Causal Link Planning Jonas Kvarnström Automated Planning Group Department of Computer and Information Science Linköping University Partly adapted

More information

Planning. Introduction to Planning. Failing to plan is planning to fail! Major Agent Types Agents with Goals. From Problem Solving to Planning

Planning. Introduction to Planning. Failing to plan is planning to fail! Major Agent Types Agents with Goals. From Problem Solving to Planning Introduction to Planning Planning Failing to plan is planning to fail! Plan: a sequence of steps to achieve a goal. Problem solving agent knows: actions, states, goals and plans. Planning is a special

More information

KI-Programmierung. Planning

KI-Programmierung. Planning KI-Programmierung Planning Bernhard Beckert UNIVERSITÄT KOBLENZ-LANDAU Winter Term 2007/2008 B. Beckert: KI-Programmierung p.1 Outline Search vs. planning STRIPS operators Partial-order planning The real

More information

Artificial Intelligence 2004 Planning: Situation Calculus

Artificial Intelligence 2004 Planning: Situation Calculus 74.419 Artificial Intelligence 2004 Planning: Situation Calculus Review STRIPS POP Hierarchical Planning Situation Calculus (John McCarthy) situations actions axioms Review Planning 1 STRIPS (Nils J. Nilsson)

More information

Planning Chapter

Planning Chapter Planning Chapter 11.1-11.3 Some material adopted from notes by Andreas Geyer-Schulz and Chuck Dyer Typical BW planning problem A C B A B C Blocks world The blocks world is a micro-world consisting of a

More information

Artificial Intelligence

Artificial Intelligence Artificial Intelligence Lecturer 7 - Planning Lecturer: Truong Tuan Anh HCMUT - CSE 1 Outline Planning problem State-space search Partial-order planning Planning graphs Planning with propositional logic

More information

Planning. Introduction

Planning. Introduction Introduction vs. Problem-Solving Representation in Systems Situation Calculus The Frame Problem STRIPS representation language Blocks World with State-Space Search Progression Algorithms Regression Algorithms

More information

Planning. Search vs. planning STRIPS operators Partial-order planning. CS 561, Session 20 1

Planning. Search vs. planning STRIPS operators Partial-order planning. CS 561, Session 20 1 Planning Search vs. planning STRIPS operators Partial-order planning CS 561, Session 20 1 What we have so far Can TELL KB about new percepts about the world KB maintains model of the current world state

More information

Artificial Intelligence II

Artificial Intelligence II Artificial Intelligence II 2013/2014 - Prof: Daniele Nardi, Joachim Hertzberg Exercitation 3 - Roberto Capobianco Planning: STRIPS, Partial Order Plans, Planning Graphs 1 STRIPS (Recap-1) Start situation;

More information

Planning. Planning. What is Planning. Why not standard search?

Planning. Planning. What is Planning. Why not standard search? Based on slides prepared by Tom Lenaerts SWITCH, Vlaams Interuniversitair Instituut voor Biotechnologie Modifications by Jacek.Malec@cs.lth.se Original slides can be found at http://aima.cs.berkeley.edu

More information

Artificial Intelligence

Artificial Intelligence Artificial Intelligence CSC348 Unit 4: Reasoning, change and planning Syedur Rahman Lecturer, CSE Department North South University syedur.rahman@wolfson.oxon.org Artificial Intelligence: Lecture Notes

More information

Planning. Introduction

Planning. Introduction Planning Introduction Planning vs. Problem-Solving Representation in Planning Systems Situation Calculus The Frame Problem STRIPS representation language Blocks World Planning with State-Space Search Progression

More information

Search vs. planning. Planning. Search vs. planning contd. Outline

Search vs. planning. Planning. Search vs. planning contd. Outline Search vs. planning Planning onsider the task get milk, bananas, and a cordless drill Standard search algorithms seem to fail miserably: Go To Pet Store Talk to Parrot uy a Dog Go To School Go To lass

More information

Where are we? Informatics 2D Reasoning and Agents Semester 2, Planning with state-space search. Planning with state-space search

Where are we? Informatics 2D Reasoning and Agents Semester 2, Planning with state-space search. Planning with state-space search Informatics 2D Reasoning and Agents Semester 2, 2018 2019 Alex Lascarides alex@inf.ed.ac.uk Where are we? Last time... we defined the planning problem discussed problem with using search and logic in planning

More information

Planning. Chapter 11. Chapter Outline. Search vs. planning STRIPS operators Partial-order planning. Chapter 11 2

Planning. Chapter 11. Chapter Outline. Search vs. planning STRIPS operators Partial-order planning. Chapter 11 2 Planning hapter 11 hapter 11 1 Outline Search vs. planning STRIPS operators Partial-order planning hapter 11 2 Search vs. planning onsider the task get milk, bananas, and a cordless drill Standard search

More information

Planning. Philipp Koehn. 30 March 2017

Planning. Philipp Koehn. 30 March 2017 Planning Philipp Koehn 30 March 2017 Outline 1 Search vs. planning STRIPS operators Partial-order planning The real world Conditional planning Monitoring and replanning 2 search vs. planning Search vs.

More information

Primitive goal based ideas

Primitive goal based ideas Primitive goal based ideas Once you have the gold, your goal is to get back home s Holding( Gold, s) GoalLocation([1,1], s) How to work out actions to achieve the goal? Inference: Lots more axioms. Explodes.

More information

Intelligent Systems. Planning. Copyright 2010 Dieter Fensel and Ioan Toma

Intelligent Systems. Planning. Copyright 2010 Dieter Fensel and Ioan Toma Intelligent Systems Planning Copyright 2010 Dieter Fensel and Ioan Toma 1 Where are we? # Title 1 Introduction 2 Propositional Logic 3 Predicate Logic 4 Reasoning 5 Search Methods 6 CommonKADS 7 Problem-Solving

More information

Planning. Chapter 11. Chapter 11 1

Planning. Chapter 11. Chapter 11 1 Planning hapter 11 hapter 11 1 Outline Search vs. planning STRIPS operators Partial-order planning hapter 11 2 Search vs. planning onsider the task get milk, bananas, and a cordless drill Standard search

More information

Planning and Acting. CITS3001 Algorithms, Agents and Artificial Intelligence. 2018, Semester 2

Planning and Acting. CITS3001 Algorithms, Agents and Artificial Intelligence. 2018, Semester 2 Planning and Acting CITS3001 Algorithms, Agents and Artificial Intelligence Tim French School of Computer Science and Software Engineering The University of Western Australia 2018, Semester 2 Summary We

More information

A deterministic action is a partial function from states to states. It is partial because not every action can be carried out in every state

A deterministic action is a partial function from states to states. It is partial because not every action can be carried out in every state CmSc310 Artificial Intelligence Classical Planning 1. Introduction Planning is about how an agent achieves its goals. To achieve anything but the simplest goals, an agent must reason about its future.

More information

15-381: Artificial Intelligence Assignment 4: Planning

15-381: Artificial Intelligence Assignment 4: Planning 15-381: Artificial Intelligence Assignment 4: Planning Sample Solution November 5, 2001 1. Consider a robot domain as shown in Figure 1. The domain consists a house that belongs to Pat, who has a robot-butler.

More information

Intelligent Agents. State-Space Planning. Ute Schmid. Cognitive Systems, Applied Computer Science, Bamberg University. last change: 14.

Intelligent Agents. State-Space Planning. Ute Schmid. Cognitive Systems, Applied Computer Science, Bamberg University. last change: 14. Intelligent Agents State-Space Planning Ute Schmid Cognitive Systems, Applied Computer Science, Bamberg University last change: 14. April 2016 U. Schmid (CogSys) Intelligent Agents last change: 14. April

More information

Planning. Why not standard search? What is Planning. Planning language. Planning 1. Difficulty of real world problems

Planning. Why not standard search? What is Planning. Planning language. Planning 1. Difficulty of real world problems Planning Based on slides prepared by Tom Lenaerts SWITCH, Vlaams Interuniversitair Instituut voor Biotechnologie Modifications by Jacek.Malec@cs.lth.se Original slides can be found at http://aima.cs.berkeley.edu

More information

Distributed Systems. Silvia Rossi 081. Intelligent

Distributed Systems. Silvia Rossi 081. Intelligent Distributed Systems Silvia Rossi srossi@na.infn.it 081 Intelligent 30% for attending classes Grading 30% for presenting a research paper 40% for writing and discussing paper (design of a multi-robot system),

More information

Set 9: Planning Classical Planning Systems. ICS 271 Fall 2013

Set 9: Planning Classical Planning Systems. ICS 271 Fall 2013 Set 9: Planning Classical Planning Systems ICS 271 Fall 2013 Outline: Planning Classical Planning: Situation calculus PDDL: Planning domain definition language STRIPS Planning Planning graphs Readings:

More information

1 What is Planning? automatic programming. cis716-spring2004-parsons-lect17 2

1 What is Planning? automatic programming. cis716-spring2004-parsons-lect17 2 PLANNING 1 What is Planning? Key problem facing agent is deciding what to do. We want agents to be taskable: give them goals to achieve, have them decide for themselves how to achieve them. Basic idea

More information

Planning Algorithms Properties Soundness

Planning Algorithms Properties Soundness Chapter MK:VI III. Planning Agent Systems Deductive Reasoning Agents Planning Language Planning Algorithms State-Space Planning Plan-Space Planning HTN Planning Complexity of Planning Problems Extensions

More information

cis32-ai lecture # 22 wed-26-apr-2006 Partial Order Planning Partially ordered plans Representation

cis32-ai lecture # 22 wed-26-apr-2006 Partial Order Planning Partially ordered plans Representation cis32-ai lecture # 22 wed-26-apr-2006 Partial Order Planning today s topics: partial-order planning decision-theoretic planning The answer to the problem we ended the last lecture with is to use partial

More information

Classical Planning. CS 486/686: Introduction to Artificial Intelligence Winter 2016

Classical Planning. CS 486/686: Introduction to Artificial Intelligence Winter 2016 Classical Planning CS 486/686: Introduction to Artificial Intelligence Winter 2016 1 Classical Planning A plan is a collection of actions for performing some task (reaching some goal) If we have a robot

More information

CPS 270: Artificial Intelligence Planning

CPS 270: Artificial Intelligence   Planning CPS 270: Artificial Intelligence http://www.cs.duke.edu/courses/fall08/cps270/ Planning Instructor: Vincent Conitzer Planning We studied how to take actions in the world (search) We studied how to represent

More information

Artificial Intelligence Planning

Artificial Intelligence Planning Artificial Intelligence Planning Instructor: Vincent Conitzer Planning We studied how to take actions in the world (search) We studied how to represent objects, relations, etc. (logic) Now we will combine

More information

INF Kunstig intelligens. Agents That Plan. Roar Fjellheim. INF5390-AI-06 Agents That Plan 1

INF Kunstig intelligens. Agents That Plan. Roar Fjellheim. INF5390-AI-06 Agents That Plan 1 INF5390 - Kunstig intelligens Agents That Plan Roar Fjellheim INF5390-AI-06 Agents That Plan 1 Outline Planning agents Plan representation State-space search Planning graphs GRAPHPLAN algorithm Partial-order

More information

Planning. What is Planning. Why not standard search? Planning 1

Planning. What is Planning. Why not standard search? Planning 1 Planning Based on slides prepared by Tom Lenaerts SWITCH, Vlaams Interuniversitair Instituut voor Biotechnologie Modifications by Jacek.Malec@cs.lth.se Original slides can be found at http://aima.cs.berkeley.edu

More information

CS 2750 Foundations of AI Lecture 17. Planning. Planning

CS 2750 Foundations of AI Lecture 17. Planning. Planning S 2750 Foundations of I Lecture 17 Planning Milos Hauskrecht milos@cs.pitt.edu 5329 Sennott Square Planning Planning problem: find a sequence of actions that achieves some goal an instance of a search

More information

AUTOMATED PLANNING Automated Planning sequence of actions goal

AUTOMATED PLANNING Automated Planning sequence of actions goal AUTOMATED PLANNING Automated Planning is an important problem solving activity which consists in synthesizing a sequence of actions performed by an agent that leads from an initial state of the world to

More information

Classical Planning Problems: Representation Languages

Classical Planning Problems: Representation Languages jonas.kvarnstrom@liu.se 2017 Classical Planning Problems: Representation Languages History: 1959 3 The language of Artificial Intelligence was/is logic First-order, second-order, modal, 1959: General

More information

Set 9: Planning Classical Planning Systems. ICS 271 Fall 2014

Set 9: Planning Classical Planning Systems. ICS 271 Fall 2014 Set 9: Planning Classical Planning Systems ICS 271 Fall 2014 Planning environments Classical Planning: Outline: Planning Situation calculus PDDL: Planning domain definition language STRIPS Planning Planning

More information

CS 621 Artificial Intelligence. Lecture 31-25/10/05. Prof. Pushpak Bhattacharyya. Planning

CS 621 Artificial Intelligence. Lecture 31-25/10/05. Prof. Pushpak Bhattacharyya. Planning CS 621 Artificial Intelligence Lecture 31-25/10/05 Prof. Pushpak Bhattacharyya Planning 1 Planning Definition : Planning is arranging a sequence of actions to achieve a goal. Uses core areas of AI like

More information

Planning. Outside Materials (see Materials page)

Planning. Outside Materials (see Materials page) Planning Outside Materials (see Materials page) What is Planning? Given: A way to describe the world An ini

More information

Planning. Outline. Planning. Planning

Planning. Outline. Planning. Planning Planning Outline Jacky Baltes University of Manitoba jacky@cs.umanitoba.ca http://www4.cs.umanitoba.ca/~jacky/teaching/co urses/comp_4190-artificial-intelligence Reasoning about actions STRIPS representation

More information

Vorlesung Grundlagen der Künstlichen Intelligenz

Vorlesung Grundlagen der Künstlichen Intelligenz Vorlesung Grundlagen der Künstlichen Intelligenz Reinhard Lafrenz / Prof. A. Knoll Robotics and Embedded Systems Department of Informatics I6 Technische Universität München www6.in.tum.de lafrenz@in.tum.de

More information

Planning. Artificial Intelligence 1: Planning. What is Planning. General language features. Planning language. Difficulty of real world problems

Planning. Artificial Intelligence 1: Planning. What is Planning. General language features. Planning language. Difficulty of real world problems Planning Artificial Intelligence 1: Planning Lecturer: Tom Lenaerts SWITCH, Vlaams Interuniversitair Instituut voor Biotechnologie The Planning problem Planning with State-space search Partial-order planning

More information

Lecture 10: Planning and Acting in the Real World

Lecture 10: Planning and Acting in the Real World Lecture 10: Planning and Acting in the Real World CS 580 (001) - Spring 2018 Amarda Shehu Department of Computer Science George Mason University, Fairfax, VA, USA Apr 11, 2018 Amarda Shehu (580) 1 1 Outline

More information

EMPLOYING DOMAIN KNOWLEDGE TO IMPROVE AI PLANNING EFFICIENCY *

EMPLOYING DOMAIN KNOWLEDGE TO IMPROVE AI PLANNING EFFICIENCY * Iranian Journal of Science & Technology, Transaction B, Engineering, Vol. 29, No. B1 Printed in The Islamic Republic of Iran, 2005 Shiraz University EMPLOYING DOMAIN KNOWLEDGE TO IMPROVE AI PLANNING EFFICIENCY

More information

AI Planning. Introduction to Artificial Intelligence! CSCE476/876, Spring 2012:! Send questions to Piazza!

AI Planning. Introduction to Artificial Intelligence! CSCE476/876, Spring 2012:!  Send questions to Piazza! AI! CSCE476/876, Spring 2012:! www.cse.unl.edu/~choueiry/s12-476-876/! Send questions to Piazza! Berthe Y. Choueiry (Shu-we-ri)! Avery Hall, Room 360! Tel: +1(402)472-5444! 1 Reading! Required reading!

More information

Artificial Intelligence. Chapters Reviews. Readings: Chapters 3-8 of Russell & Norvig.

Artificial Intelligence. Chapters Reviews. Readings: Chapters 3-8 of Russell & Norvig. Artificial Intelligence Chapters Reviews Readings: Chapters 3-8 of Russell & Norvig. Topics covered in the midterm Solving problems by searching (Chap. 3) How to formulate a search problem? How to measure

More information

Planning: STRIPS and POP planners

Planning: STRIPS and POP planners S 57 Introduction to I Lecture 8 Planning: STRIPS and POP planners Milos Hauskrecht milos@cs.pitt.edu 5329 Sennott Square Representation of actions, situations, events Propositional and first order logic

More information

Silvia Rossi! Planning. Lezione n.! Corso di Laurea:! Informatica! Insegnamento:! Sistemi! multi-agente! ! A.A !

Silvia Rossi! Planning. Lezione n.! Corso di Laurea:! Informatica! Insegnamento:! Sistemi! multi-agente!  ! A.A ! Silvia Rossi! Planning 4 Lezione n.! Corso di Laurea:! Informatica! Insegnamento:! Sistemi! multi-agente! Email:! silrossi@unina.it! A.A. 2014-2015! Agent Planning! (R&N:11.1,11.2) Additional reading:

More information

CS 5100: Founda.ons of Ar.ficial Intelligence

CS 5100: Founda.ons of Ar.ficial Intelligence CS 5100: Founda.ons of Ar.ficial Intelligence AI Planning Prof. Amy Sliva October 13, 2011 Outline Review A* Search AI Planning State space search Planning graphs Situation calculus Best- first search

More information

Artificial Intelligence 1: planning

Artificial Intelligence 1: planning Artificial Intelligence 1: planning Lecturer: Tom Lenaerts Institut de Recherches Interdisciplinaires et de Développements en Intelligence Artificielle (IRIDIA) Université Libre de Bruxelles Planning The

More information

STRIPS HW 1: Blocks World

STRIPS HW 1: Blocks World STRIPS HW 1: Blocks World Operator Precondition Delete List Add List Stack(x, y) CLEAR(y) CLEAR(y) HOLDING(x) HOLDING(x) ON(x, y) Unstack(x, y) ON(x, y) ON(x, y) HOLDING(x) CLEAR(x) CLEAR(y) PickUp(x)

More information

GPS: The general problem solver. developed in 1957 by Alan Newel and Herbert Simon. (H. Simon, 1957)

GPS: The general problem solver. developed in 1957 by Alan Newel and Herbert Simon. (H. Simon, 1957) GPS: The general problem solver developed in 1957 by Alan Newel and Herbert Simon (H. Simon, 1957) GPS: The general problem solver developed in 1957 by Alan Newel and Herbert Simon - Was the first program

More information

Planning as Search. Progression. Partial-Order causal link: UCPOP. Node. World State. Partial Plans World States. Regress Action.

Planning as Search. Progression. Partial-Order causal link: UCPOP. Node. World State. Partial Plans World States. Regress Action. Planning as Search State Space Plan Space Algorihtm Progression Regression Partial-Order causal link: UCPOP Node World State Set of Partial Plans World States Edge Apply Action If prec satisfied, Add adds,

More information

1: planning. Lecturer: Tom Lenaerts

1: planning. Lecturer: Tom Lenaerts Artificial Intelligence 1: planning Lecturer: Tom Lenaerts Institut de Recherches Interdisciplinaires et de Développements en Intelligence Artificielle (IRIDIA) Université Libre de Bruxelles Planning The

More information

Searching: Where it all begins...

Searching: Where it all begins... Searching: Where it all begins... CPSC 433 Christian Jacob Dept. of Computer Science Dept. of Biochemistry & Molecular Biology University of Calgary Problem Solving by Searching 1. Introductory Concepts

More information

Artificial Intelligence 2005/06

Artificial Intelligence 2005/06 Planning: STRIPS 74.419 rtificial Intelligence 2005/06 Planning: STRIPS STRIPS (Nils J. Nilsson) actions are specified by preconditions and effects stated as restricted FOPL formulae planning is search

More information

Creating Admissible Heuristic Functions: The General Relaxation Principle and Delete Relaxation

Creating Admissible Heuristic Functions: The General Relaxation Principle and Delete Relaxation Creating Admissible Heuristic Functions: The General Relaxation Principle and Delete Relaxation Relaxed Planning Problems 74 A classical planning problem P has a set of solutions Solutions(P) = { π : π

More information

Planning in a Single Agent

Planning in a Single Agent What is Planning Planning in a Single gent Sattiraju Prabhakar Sources: Multi-agent Systems Michael Wooldridge I a modern approach, 2 nd Edition Stuart Russell and Peter Norvig Generate sequences of actions

More information

ICS 606. Intelligent Autonomous Agents 1

ICS 606. Intelligent Autonomous Agents 1 Intelligent utonomous gents ICS 606 / EE 606 Fall 2011 Nancy E. Reed nreed@hawaii.edu Lecture #4 Practical Reasoning gents Intentions Planning Means-ends reasoning The blocks world References Wooldridge

More information

Knowledge Representation. CS 486/686: Introduction to Artificial Intelligence

Knowledge Representation. CS 486/686: Introduction to Artificial Intelligence Knowledge Representation CS 486/686: Introduction to Artificial Intelligence 1 Outline Knowledge-based agents Logics in general Propositional Logic& Reasoning First Order Logic 2 Introduction So far we

More information

PROPOSITIONAL LOGIC (2)

PROPOSITIONAL LOGIC (2) PROPOSITIONAL LOGIC (2) based on Huth & Ruan Logic in Computer Science: Modelling and Reasoning about Systems Cambridge University Press, 2004 Russell & Norvig Artificial Intelligence: A Modern Approach

More information

Failure Driven Dynamic Search Control for Partial Order Planners: An Explanation based approach

Failure Driven Dynamic Search Control for Partial Order Planners: An Explanation based approach Failure Driven Dynamic Search Control for Partial Order Planners: An Explanation based approach Subbarao Kambhampati 1 and Suresh Katukam and Yong Qu Department of Computer Science and Engineering, Arizona

More information

Foundations of AI. 9. Predicate Logic. Syntax and Semantics, Normal Forms, Herbrand Expansion, Resolution

Foundations of AI. 9. Predicate Logic. Syntax and Semantics, Normal Forms, Herbrand Expansion, Resolution Foundations of AI 9. Predicate Logic Syntax and Semantics, Normal Forms, Herbrand Expansion, Resolution Wolfram Burgard, Andreas Karwath, Bernhard Nebel, and Martin Riedmiller 09/1 Contents Motivation

More information

Plan Generation Classical Planning

Plan Generation Classical Planning Plan Generation Classical Planning Manuela Veloso Carnegie Mellon University School of Computer Science 15-887 Planning, Execution, and Learning Fall 2016 Outline What is a State and Goal What is an Action

More information

Acknowledgements. Outline

Acknowledgements. Outline Acknowledgements Heuristic Search for Planning Sheila McIlraith University of Toronto Fall 2010 Many of the slides used in today s lecture are modifications of slides developed by Malte Helmert, Bernhard

More information

Resolution (14A) Young W. Lim 6/14/14

Resolution (14A) Young W. Lim 6/14/14 Copyright (c) 2013-2014. Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free

More information

Lecture 17 of 41. Clausal (Conjunctive Normal) Form and Resolution Techniques

Lecture 17 of 41. Clausal (Conjunctive Normal) Form and Resolution Techniques Lecture 17 of 41 Clausal (Conjunctive Normal) Form and Resolution Techniques Wednesday, 29 September 2004 William H. Hsu, KSU http://www.kddresearch.org http://www.cis.ksu.edu/~bhsu Reading: Chapter 9,

More information

CS 1571 Introduction to AI Lecture 17. Planning. CS 1571 Intro to AI. Planning

CS 1571 Introduction to AI Lecture 17. Planning. CS 1571 Intro to AI. Planning S 1571 Introduction to I Lecture 17 Planning Milos Hauskrecht milos@cs.pitt.edu 5329 Sennott Square S 1571 Intro to I Planning Planning problem: find a sequence of actions that achieves some goal an instance

More information

Formalizing the PRODIGY Planning Algorithm

Formalizing the PRODIGY Planning Algorithm Formalizing the PRODIGY Planning Algorithm Eugene Fink eugene@cs.cmu.edu http://www.cs.cmu.edu/~eugene Manuela Veloso veloso@cs.cmu.edu http://www.cs.cmu.edu/~mmv Computer Science Department, Carnegie

More information

Cognitive Robotics 2016/2017

Cognitive Robotics 2016/2017 based on Manuela M. Veloso lectures on PLNNING, EXEUTION ND LERNING ognitive Robotics 2016/2017 Planning:, ctions and Goal Representation Matteo Matteucci matteo.matteucci@polimi.it rtificial Intelligence

More information

1 Introduction. 2 Proposed Planning System. 2.1 Goal Test. 2.2 Heuristic Function

1 Introduction. 2 Proposed Planning System. 2.1 Goal Test. 2.2 Heuristic Function CS 2710 Fall 2015 (Foundations of Artificial Intelligence) Assignment 4: A Planning System Mohammad Hasanzadeh Mofrad (hasanzadeh@cs.pitt.edu) 1 Introduction A Partial Order Planning (POP) algorithms tries

More information

What is On / Off Policy?

What is On / Off Policy? What is On / Off Policy? Q learns how to perform optimally even when we are following a non-optimal policy In greedy, leaves no trace in Q SARSA is on-policy Learns the best policy given our systematic

More information

Heuristic Search for Planning

Heuristic Search for Planning Heuristic Search for Planning Sheila McIlraith University of Toronto Fall 2010 S. McIlraith Heuristic Search for Planning 1 / 50 Acknowledgements Many of the slides used in today s lecture are modifications

More information

LOGIC AND DISCRETE MATHEMATICS

LOGIC AND DISCRETE MATHEMATICS LOGIC AND DISCRETE MATHEMATICS A Computer Science Perspective WINFRIED KARL GRASSMANN Department of Computer Science University of Saskatchewan JEAN-PAUL TREMBLAY Department of Computer Science University

More information

Knowledge Representation

Knowledge Representation Knowledge Representation References Rich and Knight, Artificial Intelligence, 2nd ed. McGraw-Hill, 1991 Russell and Norvig, Artificial Intelligence: A modern approach, 2nd ed. Prentice Hall, 2003 Outline

More information

Section 9: Planning CPSC Artificial Intelligence Michael M. Richter

Section 9: Planning CPSC Artificial Intelligence Michael M. Richter Section 9: Planning Actions (1) An action changes a situation and their description has to describe this change. A situation description (or a state) sit is a set of ground atomic formulas (sometimes literals

More information

For next Tuesday. Read chapter 8 No written homework Initial posts due Thursday 1pm and responses due by class time Tuesday

For next Tuesday. Read chapter 8 No written homework Initial posts due Thursday 1pm and responses due by class time Tuesday For next Tuesday Read chapter 8 No written homework Initial posts due Thursday 1pm and responses due by class time Tuesday Any questions? Program 1 Imperfect Knowledge What issues arise when we don t know

More information

CSE 473 Lecture 12 Chapter 8. First-Order Logic. CSE AI faculty

CSE 473 Lecture 12 Chapter 8. First-Order Logic. CSE AI faculty CSE 473 Lecture 12 Chapter 8 First-Order Logic CSE AI faculty What s on our menu today? First-Order Logic Definitions Universal and Existential Quantifiers Skolemization Unification 2 Propositional vs.

More information

What is AI? Knowledge-based systems in Bioinformatics, 1MB602, Definitions of AI. Acting humanly: Turing test. AI techniques. Intelligent agents

What is AI? Knowledge-based systems in Bioinformatics, 1MB602, Definitions of AI. Acting humanly: Turing test. AI techniques. Intelligent agents What is I? Knowledge-based systems in ioinformatics, 1M602, 2007 or rtificial Intelligence for ioinformatics making a machine behave in ways that would be called intelligent if a human were so behaving

More information

Probabilistic Belief. Adversarial Search. Heuristic Search. Planning. Probabilistic Reasoning. CSPs. Learning CS121

Probabilistic Belief. Adversarial Search. Heuristic Search. Planning. Probabilistic Reasoning. CSPs. Learning CS121 CS121 Heuristic Search Planning CSPs Adversarial Search Probabilistic Reasoning Probabilistic Belief Learning Heuristic Search First, you need to formulate your situation as a Search Problem What is a

More information

cis32-ai lecture # 21 mon-24-apr-2006

cis32-ai lecture # 21 mon-24-apr-2006 cis32-ai lecture # 21 mon-24-apr-2006 today s topics: logic-based agents (see notes from last time) planning cis32-spring2006-sklar-lec21 1 What is Planning? Key problem facing agent is deciding what to

More information

FUZZY BOOLEAN ALGEBRAS AND LUKASIEWICZ LOGIC. Angel Garrido

FUZZY BOOLEAN ALGEBRAS AND LUKASIEWICZ LOGIC. Angel Garrido Acta Universitatis Apulensis ISSN: 1582-5329 No. 22/2010 pp. 101-111 FUZZY BOOLEAN ALGEBRAS AND LUKASIEWICZ LOGIC Angel Garrido Abstract. In this paper, we analyze the more adequate tools to solve many

More information

Hierarchical Task Network (HTN) Planning

Hierarchical Task Network (HTN) Planning Sec. 12.2 p.1/25 Hierarchical Task Network (HTN) Planning Section 12.2 Sec. 12.2 p.2/25 Outline Example Primitive vs. non-primitive operators HTN planning algorithm Practical planners Additional references

More information

Final Solution. CS510, Fall 2012, Drexel University Ariel Stolerman

Final Solution. CS510, Fall 2012, Drexel University Ariel Stolerman CS510 Final Solution 1 Ariel Stolerman Final Solution CS510, Fall 2012, Drexel University Ariel Stolerman 1) There is a refinement of the algorithm called the algorithm. Assume that you are given a heuristic

More information

Knowledge Representation. What is knowledge representation?

Knowledge Representation. What is knowledge representation? Knowledge Representation What is knowledge representation? Structured knowledge base Search and inference algorithms 1 Examples of knowledge representation in AI Logic for general reasoning Expert systems

More information

A Unified Framework for Explanation-Based Generalization of Partially Ordered and Partially Instantiated Plans

A Unified Framework for Explanation-Based Generalization of Partially Ordered and Partially Instantiated Plans A Unified Framework for Explanation-Based Generalization of Partially Ordered and Partially Instantiated Plans Subbarao Kambhampati y Department of Computer Science and Engineering Arizona State University

More information

Chapter 12. Mobile Robots

Chapter 12. Mobile Robots Chapter 12. Mobile Robots The Quest for Artificial Intelligence, Nilsson, N. J., 2009. Lecture Notes on Artificial Intelligence, Spring 2012 Summarized by Kim, Soo-Jin Biointelligence Laboratory School

More information

A proof-producing CSP solver: A proof supplement

A proof-producing CSP solver: A proof supplement A proof-producing CSP solver: A proof supplement Report IE/IS-2010-02 Michael Veksler Ofer Strichman mveksler@tx.technion.ac.il ofers@ie.technion.ac.il Technion Institute of Technology April 12, 2010 Abstract

More information

CS 416, Artificial Intelligence Midterm Examination Fall 2004

CS 416, Artificial Intelligence Midterm Examination Fall 2004 CS 416, Artificial Intelligence Midterm Examination Fall 2004 Name: This is a closed book, closed note exam. All questions and subquestions are equally weighted. Introductory Material 1) True or False:

More information

Advances in Automated Attack Planning

Advances in Automated Attack Planning Advances in Automated Planning Alejandro David Weil 1 Carlos Sarraute 1,2 1. Core Security Technologies 2. Ph.D. in Informatics Engineering, ITBA PacSec - Nov 12/13, 2008 Agenda Introduction: why do we

More information