AI Lectorial06 Planning Add
AI Lectorial06 Planning Add
—
Artificial Intelligence
Week 6: Planning
COSC2129
RMIT Classification: Trusted
Automated planning
Materials:
• Book: Artificial Intelligence: A Modern Approach
- Chapter 11.1-11.3 [11.3.2, 11.4-11.7]
• Other sources.
RMIT Classification: Trusted
• Block world
RMIT Classification: Trusted
Search: BFS
RMIT Classification: Trusted
Planning: Representation
• Example
– Ontable(?)
–…
RMIT Classification: Trusted
Planning: Representation
• Example
– Ontable(A)
– Ontable(B)
– On(D,A)
– On(C,D)
– Clear(C)
– Clear(B)
– Handempty
Representation: FOL
• Block world
– Ontable(A) – Ontable(B)
– Ontable(B) – Ontable(C)
– On(D,A) – On(D,B)
– On(C,D) – On(A,D)
– Clear(C) – Clear(A)
– Clear(B) – Clear(C)
– Handempty – Handempty
Application?
• Robot navigation
• Robot picking
Source
https://en.wikipedia.org/wiki/Shakey_the_robot
RMIT Classification: Trusted
Planning as search
RMIT Classification: Trusted
Planning as search
Source
RMIT Classification: Trusted
Planning as search
Source
RMIT Classification: Trusted
Automated planning
RMIT Classification: Trusted
Automated planning
• Classic planning
– Definition
– Representation: Examples
• Planning algorithms
– Forward and backward state-space search
– Heuristics
– Other planning approaches.
RMIT Classification: Trusted
Automated planning
• In planning:
– State knowledge (Declarative knowledge)
– Operator knowledge (Procedural knowledge)
• For state knowledge, use:
– PL and FOL state description
– Description of a state could be complex and requires a
large number of sentences
• For operator knowledge, use:
– Logic representation
– PDDL (Planning Domain Definition Language)
representation, e.g., STRIPS
• Heuristic search is preferred.
RMIT Classification: Trusted
Frame Axioms
STRIPS Representation
Planning Algorithms
Planning
STRIPS
STRIPS
Example
Open are:
• Ontable(C),
• On(D,B),
• On(A,D),
• and Clear(A)
• Goal_1 := Ontable(C)
• How to achieve this goal?
• Only by PUTDOWN(C)
• we need a plan for the preconditions of PUTDOWN(C), i.e.
Holds(C)
RMIT Classification: Trusted
• …
• Your turn
RMIT Classification: Trusted
Reference
Question?