TL-SHOP Derek MonnerNat Ayewah CMSC 722 Term Project, Spring 2007 University of Maryland, College Park Temporal Logic.

Slides:



Advertisements
Similar presentations
1 Hierarchical Task Network (HTN) Planning José Luis Ambite* [* Based in part on presentations by Dana Nau and Rao Kambhampati]
Advertisements

In the name of God An Application of Planning An Application of PlanningJSHOP BY: M. Eftekhari and G. Yaghoobi.
Hierarchical Task Network (HTN) Planning Hai Hoang 4/17/2007.
SHOP2: An HTN Planning System Nau, D.S., Au, T.C., Ilghami, O., Kuter, U., Murdock, J.W., Wu, D. and Yaman, F. (2003) "SHOP2: An HTN Planning System",
ICE1341 Programming Languages Spring 2005 Lecture #6 Lecture #6 In-Young Ko iko.AT. icu.ac.kr iko.AT. icu.ac.kr Information and Communications University.
Cs7120 (Prasad)L21-DCG1 Definite Clause Grammars
Abstraction and Modular Reasoning for the Verification of Software Corina Pasareanu NASA Ames Research Center.
1 Mooly Sagiv and Greta Yorsh School of Computer Science Tel-Aviv University Modern Compiler Design.
Classical Planning via Plan-space search COMP3431 Malcolm Ryan.
CS7100 (Prasad)L16-7AG1 Attribute Grammars Attribute Grammar is a Framework for specifying semantics and enables Modular specification.
Translator Architecture Code Generator ParserTokenizer string of characters (source code) string of tokens abstract program string of integers (object.
UPPAAL Introduction Chien-Liang Chen.
CS 330 Programming Languages 09 / 19 / 2006 Instructor: Michael Eckmann.
Compiler Principle and Technology Prof. Dongming LU Mar. 28th, 2014.
UNIVERSITY OF SOUTH CAROLINA Department of Computer Science and Engineering CSCE 330 Programming Language Structures Ch.2: Syntax and Semantics Fall 2005.
Logic in general Logics are formal languages for representing information such that conclusions can be drawn Syntax defines the sentences in the language.
An Integrated Framework for Scenarios and State Machines Bikram Sengupta IBM Research India Rance Cleaveland Department of Computer Science University.
Constraint Logic Programming Ryan Kinworthy. Overview Introduction Logic Programming LP as a constraint programming language Constraint Logic Programming.
CS 330 Programming Languages 09 / 13 / 2007 Instructor: Michael Eckmann.
CS 330 Programming Languages 09 / 18 / 2007 Instructor: Michael Eckmann.
Fall 2007CS 2251 Miscellaneous Topics Deque Recursion and Grammars.
Chapter 3 Describing Syntax and Semantics Sections 1-3.
Environments and Evaluation
Chapter 3 Describing Syntax and Semantics Sections 1-3.
CS 330 Programming Languages 09 / 16 / 2008 Instructor: Michael Eckmann.
Describing Syntax and Semantics
Automated Planning and HTNs Planning – A brief intro Planning – A brief intro Classical Planning – The STRIPS Language Classical Planning – The STRIPS.
1.3 Executing Programs. How is Computer Code Transformed into an Executable? Interpreters Compilers Hybrid systems.
© 2010 by Elbit Systems | Elbit Systems Proprietary ADAPT: Abstraction Hierarchies to Succinctly Model Teamwork Meirav Hadad 1, Avi Rosenfeld 2 2 Department.
CS784 (Prasad)L167AG1 Attribute Grammars Attribute Grammar is a Framework for specifying semantics and enables Modular specification.
Katanosh Morovat.   This concept is a formal approach for identifying the rules that encapsulate the structure, constraint, and control of the operation.
C++ Code Analysis: an Open Architecture for the Verification of Coding Rules Paolo Tonella ITC-irst, Centro per la Ricerca Scientifica e Tecnologica
Developing Workflows with SharePoint Designer David Coe Application Development Consultant Microsoft Corporation.
Empirical Explorations with The Logical Theory Machine: A Case Study in Heuristics by Allen Newell, J. C. Shaw, & H. A. Simon by Allen Newell, J. C. Shaw,
Dana Nau: Lecture slides for Automated Planning Licensed under the Creative Commons Attribution-NonCommercial-ShareAlike License:
Department of Computer Science A Static Program Analyzer to increase software reuse Ramakrishnan Venkitaraman and Gopal Gupta.
Tutorial 5 Superclasses, Subclasses and Inheritance.
CS 461 – Oct. 7 Applications of CFLs: Compiling Scanning vs. parsing Expression grammars –Associativity –Precedence Programming language (handout)
Syntax Directed Translation. Tokens Parser Semantic checking TAC Peephole, pipeline, …… TAC  assembly code/mc Cmm subexpression,……
ISBN Chapter 3 Describing Semantics -Attribute Grammars -Dynamic Semantics.
Interpretation Environments and Evaluation. CS 354 Spring Translation Stages Lexical analysis (scanning) Parsing –Recognizing –Building parse tree.
CS 363 Comparative Programming Languages Semantics.
Bernd Fischer RW713: Compiler and Software Language Engineering.
Muhammad Idrees Lecturer University of Lahore 1. Outline Introduction The General Problem of Describing Syntax Formal Methods of Describing Syntax Attribute.
 Dr. Syed Noman Hasany.  Review of known methodologies  Analysis of software requirements  Real-time software  Software cost, quality, testing and.
Dana Nau: Lecture slides for Automated Planning Licensed under the Creative Commons Attribution-NonCommercial-ShareAlike License:
Cost-Optimal Planning with Constraints and Preferences in Large State Spaces Stefan Edelkamp, Shahid Jabbar, Mohammed Nazih University of Dortmund.
CMSC Spring 2011 Top-Down Parsing E → id = n | { L } L → E ; L | ε (Assume: id is variable name, n is integer) Show parse tree for { x = 3 ; { y.
ISBN Chapter 3 Describing Semantics.
1 Compiler Construction (CS-636) Muhammad Bilal Bashir UIIT, Rawalpindi.
Dana Nau: Lecture slides for Automated Planning Licensed under the Creative Commons Attribution-NonCommercial-ShareAlike License:
Automated Planning Dr. Héctor Muñoz-Avila. What is Planning? Classical Definition Domain Independent: symbolic descriptions of the problems and the domain.
Dana Nau: Lecture slides for Automated Planning Licensed under the Creative Commons Attribution-NonCommercial-ShareAlike License:
1 Structure of Compilers Lexical Analyzer (scanner) Modified Source Program Parser Tokens Semantic Analysis Syntactic Structure Optimizer Code Generator.
CS412/413 Introduction to Compilers Radu Rugina Lecture 13 : Static Semantics 18 Feb 02.
A Portrait of the Semantic Web in Action Jeff Heflin and James Hendler IEEE Intelligent Systems December 6, 2010 Hyewon Lim.
EJBs +XML + Integrity Constraints Data-Object Modeling and Optimization (DOMO) June 2003 Rajesh Bordawekar, Michael Burke, Mukund Raghavachari, Vivek Sarkar,
Artificial Intelligence
1 Chapter 11 Hierarchical Task Network Planning. 2 Motivation We may already have an idea how to go about solving problems in a planning domain Example:
Search Control.. Planning is really really hard –Theoretically, practically But people seem ok at it What to do…. –Abstraction –Find “easy” classes of.
Learning Javascript From Mr Saem
CIS 540 Principles of Embedded Computation Spring Instructor: Rajeev Alur
CS 44 – Jan. 28 Pumping lemma #2 Applications to compiling.
Chapter 3 – Describing Syntax
Bison: Parser Generator
MESA UTAH CLEAN AIR SOLUTIONS COMPETION
MESA UTAH CLEAN AIR SOLUTIONS COMPETION
CSCE 330 Programming Language Structures Ch.2: Syntax and Semantics
Teori Bahasa dan Automata Lecture 9: Contex-Free Grammars
Internet Use.
Presentation transcript:

TL-SHOP Derek MonnerNat Ayewah CMSC 722 Term Project, Spring 2007 University of Maryland, College Park Temporal Logic Control Rules in a Hierarchal Task Network Planner

Hierarchal Task Network (HTN) Planning What you can do Task: Method: taxi-travel(x,y) get-taxi ride(x,y) pay-driver travel(x,y) Method: air-travel(x,y) travel(a(y),y) get-ticket(a(x),a(y)) travel(x,a(x)) fly(a(x),a(y))

Temporal Logic Control Rules What you cannot do

Methodology Augment JSHOP2 with TLPlan strategy TL-SHOP is backwards compatible with JSHOP2 Prune plans when application of an operator creates a state that violates an LTL constraint Provide additional syntax and parsing rules for specifying LTL control rules

Domain Specification Operator… (constraint) Operator… (constraint) Method… (constraint) Method… (constraint) Constraint Problem Constraint Problem Constraint Control Rule Specification

(1) Domain Control Rules Like one would expect (2) Problem Control Rules Allows easy creation of customized subdomains (3) Method/Operator Postconditions When operator or method is applied, its postcondition is added to the set of applicable control rules for all descendant states in the search tree Control Rule Specification

Extending the Parser Use the same syntax in all three locations (:contraint LTLExpression ) Four other new keywords: :next :always :eventually :until

Extending the Parser Recursive Definition LTLExpression := AND (LP LTLExpression RP) + | OR (LP LTLExpression RP) + | NOT LTLExpression | IMPLY LP LTLExpression RP LP LTLExpression RP | :next LTLExpression | :always LTLExpression | :eventually LTLExpression | :until LP LTLExpression RP LP LTLExpression RP | LP forall ( Variables ) LTLAtom LTLExpression RP | LP exists ( Variables ) LTLAtom LTLExpression RP

Extending the Parser Examples (:contraint (:always (on ?a ?b))) (:contraint (:always (forall (?x) (isPhDStudent ?x) (:eventually (isRich ?x)) )

LTL Inference Engine

Progress function is called every time operator is applied Evaluates rules in current state Derives rules to be applied to next state When a plan is found, check remaining control rules for eventually clauses If they exist, plan might be invalid!

Limitations Evolution of LTL Rules via Progress function seems to be inherently dynamic Requires memory allocation during planning! As a result, performance on large problems is significantly worse than JSHOP2

Conclusion LTL Control Rules can be used in many ways to prune search space in HTN planning Increases expressiveness of domain and problem descriptions Source code available at: