1/20 Planning Chapter 11- Part2 Author: Vali Derhami.

Slides:



Advertisements
Similar presentations
Language for planning problems
Advertisements

CSE391 – 2005 NLP 1 Planning The Planning problem Planning with State-space search.
Planning
Planning Module THREE: Planning, Production Systems,Expert Systems, Uncertainty Dr M M Awais.
Planning Module THREE: Planning, Production Systems,Expert Systems, Uncertainty Dr M M Awais.
CLASSICAL PLANNING What is planning ?  Planning is an AI approach to control  It is deliberation about actions  Key ideas  We have a model of the.
Version Space Search in Prolog سمینار درس : برنامه سازی منطق استاد : دکتر محمد ابراهیم شیری ارایه دهنده : رحمت ا... محمدی.
معاونت درمان امور مامایی اردیبهشت 90. برای ثبت اطلاعات در برنامه نرم افزاری نظام مراقبت مرگ پریناتال ابتدا لازم است برنامه نرم افزار info-path وپرنیان.
Planning Copyright, 1996 © Dale Carnegie & Associates, Inc. Chapter 11.
Planning: Part 2 Partial Order Planning COMP151 April 2, 2007.
Artificial Intelligence Chapter 11: Planning
Planning Russell and Norvig: Chapter 11. Planning Agent environment agent ? sensors actuators A1A2A3.
فاکتورهای مهم در ایجاد یک مقاله علمی
Planning: Part 3 Planning Graphs COMP151 April 4, 2007.
الگوریتم ژنتیکی. تعریف  الگوریتم ژنتیکی، رویه ای تکراری است که راه حل های انتخابیش را بصورت رشته ای از ژنها که کروموزوم نامیده می شوند، بازنمایی می کند.
O r g a n i z a t i o n a l b e h a v i o r e l e v e n t h e d i t i o n.
Decision Tree.
© 2005 Prentice Hall Inc. All rights reserved. o r g a n i z a t i o n a l b e h a v i o r e l e v e n t h e d i t i o n.
Planning: Part 1 Representation and State-space Search COMP151 March 30, 2007.
Planning Copyright, 1996 © Dale Carnegie & Associates, Inc. Chapter 11.
DSS in Actions. شرکت آتلانتیک الکتریک یک شرکت پیمانکاری سرویس دهی کامل الکتریکی برای کارهای صنعتی و تجاری است که در سال 1969 در چارلزتن تاسیس شد. یک شرکت.
فایل پردازی در C File based Programming in C. انواع فایل متنی –سرعت بالا –حجم کمتر –امکان دسترسی تصادفی –حفظ امنیت داده ها دودویی (باینری) –امکان باز.
Classical Planning Chapter 10.
Feng Zhiyong Tianjin University Fall planning.
April 3, 2006AI: Chapter 11: Planning1 Artificial Intelligence Chapter 11: Planning Michael Scherger Department of Computer Science Kent State University.
Planning Chapter Planning The Planning problem Planning with State-space search Partial-order planning Planning graphs Planning with propositional.
The process by which society transmit: knowledgeknowledge, skills and valuesskillsvalues from one generation to another.
Planning (Chapter 10)
Database Laboratory: Session #4 Akram Shokri. DB-Lab 2 Lab Activity You must already created all tables You have to have inserted proper data in tables.
موضوع: دبير مربوطه: آموزشگاه : اجرا : عبارتهای جبری خانم مقصودی
AI Lecture 17 Planning Noémie Elhadad (substituting for Prof. McKeown)
1/16 Planning Chapter 11- Part1 Author: Vali Derhami.
ساختمان داده‌ها پیمایش گراف. مرور °مشکل: چگونه تمام نودهای گراف را مشاهده کنیم؟ °جستجوی اول عمق دنبال کردن مسیرهای بین راسها. °جستجوی اول سطح دیدن تمام.
Planning I: Total Order Planners Sections
Arrangements of Lines C omputational Geometry By Samaneh shafi naderi
April 3, 2006AI: Chapter 11: Planning1 Artificial Intelligence Chapter 11: Planning.
1/27 Informed search algorithms Chapter 4 Modified by Vali Derhami.
CS Constraint Satisfaction Constraint Satisfaction Problems Chapter 5 Section 1 – 3 Modified by Vali Derhami.
EA C461 – Artificial Intelligence Planning
[c.
نظریه رفتار برنامه ريزي شده Theory of Planned Behavior
فصل 4- محاسبات زمانی در شبکه AoA
هیدروگراف(Hydrograph) تهیه : دکتر محمد مهدی احمدی
بنام خدا زبان برنامه نویسی C (21814( Lecture 12 Selected Topics
SY800 router mode [AD-14-TB ].
ساختمان داده‌ها الگوریتمهای کوتاهترین مسیر
آزمایشگاه پایگاه داده ها قیود در جداول یک پایگاه داده در SQL Server
Odd-even merge sort مرتب سازی.
برنامه ریزی خطی پیشرفته (21715( Advanced Linear Programming Lecture 11
Government Finance Statistics (GFS)
برنامه ریزی خطی پیشرفته (21715) Advanced Linear Programming Lecture 3
آموزش و یادگیری Education and Training
آموزش کرک کردن نرم افزار ACTIVE HDL
Tree Sort.
کوئیز از جلسه قبل) کارخانه ای در حال خرید قطعه‌ای برای یکی از ماشین‌آلات خود می باشد اگر نرخ بهره 10% برای محاسبات فرض شود، دو مدل از قطعه ماشین در دسترس.
بسمه تعالی.
دانشگاه صنعتی امیرکبیر Instructor : Saeed Shiry &
کار برد شبکه های عصبی در پردازش سریهای زمانی
نظریه رفتار برنامه ريزي شده Theory of Planned Behavior
آشوب در سیستمهای دینامیکی
راهبرد شاخه و حد (Branch and bound)
اهداف درس این جلسه حل مساله کوله پشتی با رویکرد حریصانه مقایسه رویکرد حریصانه با برنامه‌نویسی پویا در حل مساله.
بسم الله الرحمن الرحیم هرس درخت تصمیم Dr.vahidipour Zahra bayat
جستجوی منابع الکترونیک
به نام خدا Koha برنامه.
Angular Kinetics مهدی روحی بهار 85.
فصل ششم مدارهای ترتیبی.
Constraint Satisfaction Problems
نسبت جرم فرمولی ”جرم اتمی و فرمول تجربی
برنامه ریزی خطی پیشرفته (21715( Advanced Linear Programming Lecture 7
Presentation transcript:

1/20 Planning Chapter 11- Part2 Author: Vali Derhami

2/20 Planning with state-space search 1- Forward state-space search (progression planning) 2- Backward state-space search

3/20 Forward state-space search (progression planning) Start form initial state. Successor states are generated with applying Applicable actions (The step cost of each action is typically 1). Goal test.  The approach quickly bogs down without a good heuristic.

4/20

5/20 Backward state-space search (Regressive planners) Start from goal state Relevant and Consistent actions: –An action is relevant to a conjunctive goal if it achieves one of the conjuncts of the goal. –In addition to insisting that actions achieve some desired literal, we must insist that the actions not undo any desired literals. An action that satisfies this restriction is called consistent. – predecessor state is generated as follows: Any positive effects of A that appear in G are deleted. Each precondition literal of A is added to G, unless it already appears. Test for Termination: a Generated predecessor is satisfied by the initial state of the planning problem.

6/20 Air cargo example Goal: At(C1,B)  At(C2, B) ...  At(C20, B) relevant action Unload (C1,p, B). –Action(Unload(c, p, a), –PRECOND: In(c, p)  At(p, a)  Cargo(c)  Plane(p)  Airport(a) –EFFECT: At(c, a)   In(c, p)) Therefore, any predecessor state must include these preconditions: In(C1,p)  At(p, B)  Cargo(c1)  Plane(p)  Airport(B) The subgoal At(C1,B) should not be true in the predecessor state. Thus, the predecessor description the predecessor description is In(C1,p)  At(p, B)  Cargo(c1)  Plane(p)  Airport(B)  At(C2, B) ...  At(C20, B). One Irreleavnt action: –fly an empty plane from JFK to SFO; this action reaches a goal state from a predecessor state in which the plane is at JFK and all the goal conjuncts are satisfied.

7/20

8/20 Heuristics for state-space search Derive a relaxed problem (مساله تعدیل شده) –A approach is to pretend that a pure divide-and-conquer algorithm will work. This is called the subgoal independence assumption: the cost of solving a conjunction of subgoals is approximated by the sum of the costs of solving each subgoal independently. –وانمود کنیم که یک الگوریتم تقسیم و حل در اینجا کار خواهد کرد. این روش فرص استقلال اهداف فرعی نامیده می شود. بیان میکند که هزینه حل ترکیب عطفی اهداف فرعی، تقریبا برابر با مجموع هزینه های حل هر یک از آن اهداف فرعی بصورت مستقل خواهد بود. –The subgoal independence assumption can be optimistic or pessimistic. It is optimistic when there are negative interactions between the subplans for each subgoal The simplest idea is to relax the problem by removing all preconditions from the actions.

9/20 Partial-Order Planning Forward and backward state-space search are particular forms of totally ordered plan search. هر دوی روشهای جستجوی پیش رو پس رو فضای حالت، شکلهای خاصی از یک جستجوی برنامه ریزی کاملا مرتب محسوب می شوند. عدم بهره بندی از مزایای تجزيه در برنامه ريزی کاملا مرتب

10/20 Putting of pair shoes

11/20 قسمت های برنامه ریزی هر برنامه ریزی شامل 4 قسمت اساسی –دو بخش اول معرف مراحل برنامه ریزی –دو بخش آخر بازگو کننده چگونگی توسعه 1- مجموعه ای از اقدامات: مراحل اجرایی برنامه ریزی. برنامه ریزی تهی شامل دو اقدام start و Finish –Start هیچ پیش شرطی ندارد ولی در قسمت اثر شامل همه لیترالهای حالت اولیه مساله –Finish بدون اثر و لیترالهای هدف در قسمت پیش شرط آن

12/20 قسمت های برنامه ریزی (ادامه) 2- مجموعه ای از محدودیتهای ترتیب. –A before B" and means that action A must be executed sometime before action B –No cycle:

13/20 قسمت های برنامه ریزی (ادامه) 3- رابطهای سببی: عمل A به P می رسد بخاطر B. Pاثر A و پیش شرط B است. P باید در فاصله زمانی پس از اقدام A تا اقدام B درست باقی بماند. نباید برنامه با افزودن اقدام جدیدی مانند Cکه اثر  P دارد انرا نقض کند.

14/20 قسمت های برنامه ریزی (ادامه) 4- پیش شرطهای باز: یک پیش شرط باز است در صورتی که بوسیله برخی از اقدامات موجود در برنامه ریزی بدست نیاید. –هدف کوچک نمودن آنها تا رسیدن به مجموعه تهی است. -برنامه سازگار: یک برنامه ریزی که دارای هیچ حلقه ای در ترتیب محدودیتها یا تناقضی در رابطه های سببی نباشد.

15/20

16/20 Example: Flat Tire Problem (search) Pick an open precondition At(Spare,Axle) Only PutOn(Spare,Axle) achieves that

17/20 Example: Flat Tire Problem (Cont.)

18/20 Example: Flat Tire Problem (Cont.)

19/20 Example: Flat Tire Problem (Cont.) The only remaining open precondition at this point is the At(Spare, Trunk) precondition of the action Remove(Spare, Trunk). The only action that can achieve it is the existing Start action, but the causal link from Start to Remove(Spare, Trunk) is in conflict with the  At(Spare, Trunk) effect of LeaveOvernight. We are forced to back up, remove the LeaveOvernight action and the last two causal links,

20/20 Example: Flat Tire Problem (Cont.)