Teaching Computers To Make Plans

Similar documents
Hierarchical Task Network Planning

Task Decomposition on Abstract States, for Planning under Nondeterminism

Travel and Transportation

A C E. Answers Investigation 2. Applications. Age (wk) Weight (oz) 1. a. Accept any line that approximates the data. Here is one possibility:

problem X reduces to Problem Y solving X would be easy, if we knew how to solve Y

Rasiowa-Sikorski proof system for the non-fregean sentential logic SCI

Planning: situation calculus

Find a vector equation for the line through R parallel to the line (PQ) (Total 6 marks)

On Moving Objects in Dynamic Domains

Part of this work we present an extension for Language PP and we show how this

1. The following two-way frequency table shows information from a survey that asked the gender and the language class taken of a group of students.

Situation Calculus. Dr. Neil T. Dantam. Spring CSCI-498/598 RPM, Colorado School of Mines

Fly, fly away... and bring back data

Vocabulary: Variables and Patterns

BELL RINGER: Define Displacement. Define Velocity. Define Speed. Define Acceleration. Give an example of constant acceleration.

a. ~p : if p is T, then ~p is F, and vice versa

...but you just watched a huge amount of science taking place! Let s look a little closer at what just happened!

EECS 1028 M: Discrete Mathematics for Engineers

14. Actions. KR & R Brachman & Levesque Situation calculus

6.3 Standard Form. Comparing Forms of Linear Equations. Explore. Circle true or false. The slope is. You can read the slope from the equation.

November 30, direct variation ink.notebook. page 162. page Direct Variation. page 163. page 164 page 165

Chapter 2: Motion a Straight Line

Alex s Guide to Word Problems and Linear Equations Following Glencoe Algebra 1

Weak Completion Semantics

Position, Speed and Velocity Position is a variable that gives your location relative to an origin. The origin is the place where position equals 0.

THE LOGIC OF COMPOUND STATEMENTS

CSCI Homework Set 1 Due: September 11, 2018 at the beginning of class

Conceptual Physics 11 th Edition

2. To receive credit on any problem, you must show work that explains how you obtained your answer or you must explain how you obtained your answer.

Ella failed to drop the class. Ella dropped the class.

Deduction by Daniel Bonevac. Chapter 3 Truth Trees

GCSE 4370/06 MATHEMATICS LINEAR PAPER 2 HIGHER TIER. A.M. MONDAY, 12 November hours. Candidate Number. Centre Number. Surname.

P, NP, NP-Complete. Ruth Anderson

Math.3336: Discrete Mathematics. Propositional Equivalences

Notes on Sets for Math 10850, fall 2017

CHAPTER 4 CLASSICAL PROPOSITIONAL SEMANTICS

Chapter 2: Motion along a straight line

Lesson 5: Solving Linear Systems Problem Solving Assignment solutions

MAINIDEA Write the Main Idea for this section. Explain why the slope of a velocity-time graph is the average acceleration of the object.

New concepts: scalars, vectors, unit vectors, vector components, vector equations, scalar product. reading assignment read chap 3

Now, with all the definitions we ve made, we re ready see where all the math stuff we took for granted, like numbers, come from.

A C E. Applications. Applications Connections Extensions. Student 1 Student Below are some results from the bridge experiment in a CMP class.

6.3 Standard Form. Comparing Forms of Linear Equations. Explore. The slope is. Circle true or false. You can read the slope from the equation.

P3 Revision Questions

7.2 Solving Systems with Graphs Name: Date: Goal: to use the graphs of linear equations to solve linear systems. Main Ideas:

Algebra 1 Winter Break Extra Credit Fall Semester 2013

Solving Systems of Linear Equations by Elimination

Russell s logicism. Jeff Speaks. September 26, 2007

Applications of Rational Expressions

The Chemistry of Respiration and Photosynthesis

Describing Mo tion. Speed and Velocity. What is speed?

MS Algebra Ch. 7.6 Uniform Motion Problems. Mr. Deyo

CLASS NOTES: BUSINESS CALCULUS

General Physics. Linear Motion. Life is in infinite motion; at the same time it is motionless. Debasish Mridha

3.3 Acceleration An example of acceleration Definition of acceleration Acceleration Figure 3.16: Steeper hills

Discrete Structures of Computer Science Propositional Logic I

Chemical reactions. Section Describing chemical reactions

Momentum and Impulse

Turing machines and linear bounded automata

Rotational Motion Test

Chapter 11: Dealing with Extreme Weather: Hurricanes in the Caribbean Overview Objectives Language Objectives: 1. Vocabulary/Geoterms:

Now, consider the actual molecules reacting with each other:

More than a Name? On Implications of Preconditions and Effects of Compound HTN Planning Tasks

Physics Review. Do: Page # Which of the following is an appropriate unit for velocity? A. s B. m C. m/s 2 D. km/h

It would be appropriate to pull out your phone or planner and write these dates down.

Chapter Review USING KEY TERMS UNDERSTANDING KEY IDEAS. Skills Worksheet. Multiple Choice

Using Units in Science

Please do NOT write in this box. Multiple Choice Total

Thinking about collisions (L8)

C 2. The average speed of a car that travels 500 km in 5 hours is a. 10 km/h. b km/h. c. 100 km/h. d. 1,000 km/h

Speed ( v ) is the distance an object travels during a given time interval divided by the time interval.

CITS2211 Discrete Structures. Propositional Logic

Arithmetic and Incompleteness. Will Gunther. Goals. Coding with Naturals. Logic and Incompleteness. Will Gunther. February 6, 2013

The main limitation of the concept of a. function

Example: Robot Tasks. What is planning? Background: Situation Calculus. Issues in Planning I

2 Representing Motion 4 How Fast? MAINIDEA Write the Main Idea for this section.

The driver then accelerates the car to 23 m/s in 4 seconds. Use the equation in the box to calculate the acceleration of the car.

Acceleration. 3. Changing Direction occurs when the velocity and acceleration are neither parallel nor anti-parallel

AP PHYSICS 1. Energy 2016 EDITION

KB Agents and Propositional Logic

Work and Energy Chapter Questions. 2. Contrast the effects of external forces and internal forces on the total energy of a system.

Name: Period: Date: Algebra 1 1st Semester Review Which best describes the solution(s) for this equation? 3 ( 8x 12) = 33 2x

Physics 121. Tuesday, January 29, 2008.

What is model theory?

#15: Vectors January 17, 2009

Complexity Results for HTN Planning. Kutluhan Erol James Hendler Dana S. Nau. Institute for Advanced Computer Studies

This is logically equivalent to the conjunction of the positive assertion Minimal Arithmetic and Representability

Axiomatic set theory. Chapter Why axiomatic set theory?

Linear Modeling STEM 5

Kunjamma Father s younger brother s wife in Malayalam. For the teacher: Chittappan Father s younger brother in Malayalam.

Math 38: Graph Theory Spring 2004 Dartmouth College. On Writing Proofs. 1 Introduction. 2 Finding A Solution

Kinematics in One Dimension

MA103 STATEMENTS, PROOF, LOGIC

Speed and velocity. Objectives. Physics terms. Assessment. Speed versus velocity. Equations 5/15/14

Math 101: Elementary Statistics Tests of Hypothesis

Lesson 8: Velocity. Displacement & Time

CSE370: Introduction to Digital Design

Name. University of Maryland Department of Physics

Q1. (a) The diagram shows an athlete at the start of a race. The race is along a straight track.

Motion. Aristotle. Motion: usually something abstract, such as the laws of motion.

Transcription:

November 14, 2018 Millersville University UNIV 103

Making lock-moving Plans What Is True Now? There are blocks and on a table and a block on top of block

Making lock-moving Plans What Is True Now? There are blocks and on a table and a block on top of block What Do I Want To e True? The block is on the table, with block on top of it and block on top of

Making lock-moving Plans What Is True Now? There are blocks and on a table and a block on top of block What Do I Want To e True? The block is on the table, with block on top of it and block on top of What ctions an I Take? robotic arm can move a block x from the table to on top of a block y, as long as neither x nor y is covered Or it can move a block x from on top of a block y to the table, as long as x is not covered Or it can move a block x from on top of a block y to on top of a block z, as long as neither x or z is covered

Part Of The lock-moving State Space

Representations Purpose omputers are not good at interpreting natural language They are very good at manipulating symbols in a formal language

Representations Purpose omputers are not good at interpreting natural language They are very good at manipulating symbols in a formal language pproach Each of the things that is (or could be) true of the world will be a sentence in first-order logic The current state is a set of logical atoms n action has preconditions, negative effects, and positive effects, all sets of logical atoms Our goal is a set of logical atoms

States In lock-moving Problem { OnTable( ), OnTable( ), Onlock(, ), lear( ), lear( ) } { OnTable( ), OnTable( ), OnTable( ), lear( ), lear( ), lear( ) } { OnTable( ), Onlock(, ), Onlock(, ), lear( ) }

n ction In lock-moving Problem ( :action MovelockTolock(,, ) :preconditions { Onlock(, ), lear( ), lear( ) } :negative-effects { Onlock(, ), lear( ) } :positive-effects { Onlock(, ), lear( ) } )

Linear Planning Finding Plan If the goal is true in the current state, no actions are necessary Otherwise, think about what the new state would be if we took one of the applicable actions If the goal is true in that successor state, then that action solves the problem If not, maybe some new action will be applicable in the successor state

Linear Planning Finding Plan If the goal is true in the current state, no actions are necessary Otherwise, think about what the new state would be if we took one of the applicable actions If the goal is true in that successor state, then that action solves the problem If not, maybe some new action will be applicable in the successor state Search Strategies readth-first search looks at all plans of 1 action, then all plans of 2 actions, etc. Depth-first search chooses an action, immediately looks for actions from the successor state, chooses one, etc.

Linear Search For Plan (Depth-First)

Linear Search For Plan (Depth-First)

Linear Search For Plan (Depth-First)

Linear Search For Plan (Depth-First)

Linear Search For Plan (Depth-First)

Linear Search For Plan (Depth-First)

Linear Search For Plan (Depth-First)

Linear Search For Plan (Depth-First)

Linear Search For Plan (Depth-First)

Linear Search For Plan (Depth-First)

Making Travel Plans What Is True Now? I am at Millersville, have a car full of gasoline, and have $500

Making Travel Plans What Is True Now? I am at Millersville, have a car full of gasoline, and have $500 What Do I Want To e True? I am at Notre Dame

Making Travel Plans What Is True Now? I am at Millersville, have a car full of gasoline, and have $500 What Do I Want To e True? I am at Notre Dame What ctions an I Take? Drive from location x to location y, as long as I am in location x and have an automobile with enough gasoline uy an airplane ticket from airport x to airport y, as long as I am in airport x and have enough money Fly from airport x to airport y, as long as I am in airport x and have a ticket Take a taxi from location x to location y, as long as I am in location x and have enough money and a driver is willing to take me

Hierarchical Planning Tasks Instead of a goal set of logical atoms to make true, a hierarchical planner has a sequence of tasks to accomplish Some tasks are primitive, which means they are equivalent to actions, others are nonprimitive

Hierarchical Planning Tasks Instead of a goal set of logical atoms to make true, a hierarchical planner has a sequence of tasks to accomplish Some tasks are primitive, which means they are equivalent to actions, others are nonprimitive Decomposition Methods Decomposition methods state that one nonprimitive task can be accomplished by accomplishing a sequence of simpler or more concrete tasks omponents: head, which is the nonprimitive task to decompose sequence of subtasks, which are the way the task may be accomplished set of preconditions that specify when it is legal / possible to accomplish the task this way

Example Decomposition Methods The Task Of Traveling Millersville To Notre Dame If I have a lot of money, I could travel Millersville to PHI, travel PHI to ORD, and then travel ORD to Notre Dame If I have at least some money and a car, I could drive, stopping at various waypoints for fuel I could hitchhike, no matter what

Example Decomposition Methods The Task Of Traveling Millersville To Notre Dame If I have a lot of money, I could travel Millersville to PHI, travel PHI to ORD, and then travel ORD to Notre Dame If I have at least some money and a car, I could drive, stopping at various waypoints for fuel I could hitchhike, no matter what The Task Of Traveling Millersville To PHI If I have a car with enough fuel, I could drive there If I have enough money, I could take a taxi

Example Decomposition Methods The Task Of Traveling Millersville To Notre Dame If I have a lot of money, I could travel Millersville to PHI, travel PHI to ORD, and then travel ORD to Notre Dame If I have at least some money and a car, I could drive, stopping at various waypoints for fuel I could hitchhike, no matter what The Task Of Traveling Millersville To PHI If I have a car with enough fuel, I could drive there If I have enough money, I could take a taxi The Task Of Traveling PHI To ORD If I have enough money, I can buy a ticket then take a flight If I have a car and some money, I could drive there

Hierarchical Search For Plan Travel( Millersville, Notre Dame )

Hierarchical Search For Plan Travel( Millersville, Notre Dame ) Travel( Millersville, PHI ) Travel( PHI, ORD ) Travel( ORD, Notre Dame )

Hierarchical Search For Plan Travel( Millersville, Notre Dame ) Travel( Millersville, PHI ) Travel( PHI, ORD ) Travel( ORD, Notre Dame ) Drive( Millersville, PHI, Myar )

Hierarchical Search For Plan Travel( Millersville, Notre Dame ) Travel( Millersville, PHI ) Travel( PHI, ORD ) Travel( ORD, Notre Dame ) uyticket( Flight102 ) Drive( Millersville, PHI, Myar ) TakeFlight( Flight102 )

Hierarchical Search For Plan Travel( Millersville, Notre Dame ) Travel( Millersville, PHI ) uyticket( Flight102 ) Travel( PHI, ORD ) alltaxi( ORD, Taxi1 ) Travel( ORD, Notre Dame ) Drive( Millersville, PHI, Myar ) TakeFlight( Flight102 ) RideInTaxi( ORD, Notre Dame, Taxi1 )