cs325 artificial intelligence ch 11 advanced planning
play

CS325 Artificial Intelligence Ch. 11, Advanced Planning Cengiz - PowerPoint PPT Presentation

CS325 Artificial Intelligence Ch. 11, Advanced Planning Cengiz Gnay, Emory Univ. Spring 2013 Gnay Ch. 11, Advanced Planning Spring 2013 1 / 12 Advanced Planning Concepts This lecture: Time: Scheduling Gnay Ch. 11, Advanced Planning


  1. CS325 Artificial Intelligence Ch. 11, Advanced Planning Cengiz Günay, Emory Univ. Spring 2013 Günay Ch. 11, Advanced Planning Spring 2013 1 / 12

  2. Advanced Planning Concepts This lecture: Time: Scheduling Günay Ch. 11, Advanced Planning Spring 2013 2 / 12

  3. Advanced Planning Concepts This lecture: Time: Scheduling Resources: Consumables Günay Ch. 11, Advanced Planning Spring 2013 2 / 12

  4. Advanced Planning Concepts This lecture: Time: Scheduling Resources: Consumables Active perception: Look and feel? Günay Ch. 11, Advanced Planning Spring 2013 2 / 12

  5. Advanced Planning Concepts This lecture: Time: Scheduling Resources: Consumables Active perception: Look and feel? Hierarchical plans: Abstracting Günay Ch. 11, Advanced Planning Spring 2013 2 / 12

  6. Entry/Exit Surveys Exit survey: Game Theory Why don’t we take the mixed strategy if there is a dominant strategy? What advantage is gained by a player by looking irrational? Entry survey: Advanced Planning (0.25 points of final grade) Do you think a classical planning planning approach can be used for solving scheduling problems? What would be the advantage of making hierarchical plans? Günay Ch. 11, Advanced Planning Spring 2013 3 / 12

  7. I’m Late Again! Fixed times for day start and class Durations Wake up:10 minutes Eat: 30 minutes Start (8am) Wake up Class (10am) Eat Günay Ch. 11, Advanced Planning Spring 2013 4 / 12

  8. I’m Late Again! Fixed times for day start and class Durations Wake up:10 minutes Eat: 30 minutes Start (8am) Wake up Class (10am) Eat Earliest and latest start times of each event? Günay Ch. 11, Advanced Planning Spring 2013 4 / 12

  9. I’m Late Again! Fixed times for day start and class Durations Wake up:10 minutes Eat: 30 minutes Start (8am) Wake up Class (10am) Eat Earliest and latest start times of each event? Earliest(Wake up)=8am Latest(Wake up)=? Earliest(Eat)=? Latest(Eat)=10:00 − 00:30 = 9:30 am Günay Ch. 11, Advanced Planning Spring 2013 4 / 12

  10. Multiple Paths to Finish: Car with 2 Engines Critical path? AddWheels1 AddEngine1 Inspect1 AddEngine2 Inspect2 AddWheels2 0 10 20 30 40 50 60 70 80 90 Günay Ch. 11, Advanced Planning Spring 2013 5 / 12

  11. Multiple Paths to Finish: Car with 2 Engines AddWheels1 AddEngine1 Inspect1 AddEngine2 Inspect2 AddWheels2 0 10 20 30 40 50 60 70 80 90 [ 0 , 1 5] [ 3 0, 4 5] [60,75] AddEngine1 AddWheels1 Inspect1 30 30 10 [0,0] [85,85] Star t Finish [0,0] [60,60] [75,75] AddEngine2 AddWheels2 Inspect2 60 15 10 Günay Ch. 11, Advanced Planning Spring 2013 5 / 12

  12. Multiple Paths to Finish: Car with 2 Engines [ 0 , 1 5] [ 3 0, 4 5] [60,75] AddEngine1 AddWheels1 Inspect1 30 30 10 [0,0] [85,85] Star t Finish [0,0] [60,60] [75,75] AddEngine2 AddWheels2 Inspect2 60 15 10 Earliest(Start)=0 Earliest( B )=max A → B Earliest ( A ) + Duration ( A ) Latest( A )=max A ← B Latest ( B ) − Duration ( A ) Latest(Finish)=Earliest(Finish) Günay Ch. 11, Advanced Planning Spring 2013 5 / 12

  13. Resources: Can We Use Action Schemas? Günay Ch. 11, Advanced Planning Spring 2013 6 / 12

  14. Resources: Can We Use Action Schemas? Will it reach the goal? Günay Ch. 11, Advanced Planning Spring 2013 6 / 12

  15. Resources: Can We Use Action Schemas? Will it reach the goal? No , one nut is missing. Günay Ch. 11, Advanced Planning Spring 2013 6 / 12

  16. Resources: Can We Use Action Schemas? Will it reach the goal? No , one nut is missing. Depth first tree search: how many paths to eval? Small: 1, 4, 5 ? Medium: 4 + 5 or 4 × 5 ? Large: 4 ! , 5 ! , or 4 ! × 5 ! ? Günay Ch. 11, Advanced Planning Spring 2013 6 / 12

  17. Resources: Can We Use Action Schemas? Will it reach the goal? No , one nut is missing. Depth first tree search: how many paths to eval? Small: 1, 4, 5 ? Medium: 4 + 5 or 4 × 5 ? Large: 4 ! , 5 ! , or 4 ! × 5 ! . Really inefficient! Günay Ch. 11, Advanced Planning Spring 2013 6 / 12

  18. Modify Action Schemas to Optimize Resource Problems No need to try combinations of same resources. Define: Resources: Specify quantity. Use: Specify requirement. Consume: Removes resource. Günay Ch. 11, Advanced Planning Spring 2013 7 / 12

  19. Modify Action Schemas to Optimize Resource Problems No need to try combinations of same resources. Define: Resources: Specify quantity. Use: Specify requirement. Consume: Removes resource. Günay Ch. 11, Advanced Planning Spring 2013 7 / 12

  20. Modify Action Schemas to Optimize Resource Problems No need to try combinations of same resources. Define: Resources: Specify quantity. Use: Specify requirement. Consume: Removes resource. No exponential explotion anymore! Günay Ch. 11, Advanced Planning Spring 2013 7 / 12

  21. Hierarchical Planning: Abstraction Remember Stanley: High-level goal: Reach target at GPS coordinates Drive on road Low-level actions: Adjust steering wheel Press/release gas/break pedals Günay Ch. 11, Advanced Planning Spring 2013 8 / 12

  22. Hierarchical Planning: Abstraction Remember Stanley: High-level goal: How to connect 1 high-level (abstract) planning with Reach target at GPS coordinates 2 low-level planning? Drive on road Low-level actions: Adjust steering wheel Press/release gas/break pedals Günay Ch. 11, Advanced Planning Spring 2013 8 / 12

  23. Hierarchical Planning: Abstraction Remember Stanley: High-level goal: How to connect 1 high-level (abstract) planning with Reach target at GPS coordinates 2 low-level planning? Drive on road Solution: Refinement Low-level actions: Adjust steering wheel Press/release gas/break pedals Günay Ch. 11, Advanced Planning Spring 2013 8 / 12

  24. Refining Abstractions Multiple ways to refine abstractions: Günay Ch. 11, Advanced Planning Spring 2013 9 / 12

  25. Hierarchical Planning: Reachable States Reachable? Günay Ch. 11, Advanced Planning Spring 2013 10 / 12

  26. Hierarchical Planning: Reachable States Reachable? No. Günay Ch. 11, Advanced Planning Spring 2013 10 / 12

  27. Hierarchical Planning: Reachable States Reachable? Found solution: No. Günay Ch. 11, Advanced Planning Spring 2013 10 / 12

  28. Hierarchical Planning: Reachable States Reachable? Found solution: No. Now backtrack from solution. Günay Ch. 11, Advanced Planning Spring 2013 10 / 12

  29. Reachable States Question Estimates of refinement: Underestimate: We reach it for sure. Overestimate: Possibly reachable. Below examples: Reachable? Yes, No, Maybe? Günay Ch. 11, Advanced Planning Spring 2013 11 / 12

  30. Reachable States Question Estimates of refinement: Underestimate: We reach it for sure. Overestimate: Possibly reachable. Below examples: Reachable? Yes, No, Maybe? No Yes. Günay Ch. 11, Advanced Planning Spring 2013 11 / 12

  31. Reachable States Question Estimates of refinement: Underestimate: We reach it for sure. Overestimate: Possibly reachable. Below examples: Reachable? Yes, No, Maybe? No Yes. Günay Ch. 11, Advanced Planning Spring 2013 11 / 12

  32. Reachable States Question Estimates of refinement: Underestimate: We reach it for sure. Overestimate: Possibly reachable. Below examples: Reachable? Yes, No, Maybe? No Yes. Maybe. Günay Ch. 11, Advanced Planning Spring 2013 11 / 12

  33. Extending Planning with Observations Sometimes the agent needs to look first. Günay Ch. 11, Advanced Planning Spring 2013 12 / 12

  34. Extending Planning with Observations Sometimes the agent needs to look first. Günay Ch. 11, Advanced Planning Spring 2013 12 / 12

Download Presentation
Download Policy: The content available on the website is offered to you 'AS IS' for your personal information and use only. It cannot be commercialized, licensed, or distributed on other websites without prior consent from the author. To download a presentation, simply click this link. If you encounter any difficulties during the download process, it's possible that the publisher has removed the file from their server.

Recommend


More recommend