Partial Order Plan
Partial Order Plan
Where, S is a step
Where, C is an action
Ex:
Example 2: Flat Tyre Problem
Partial Order Plan
Example 3
• Planning to buy milk and banana from a supermarket and a
drill from a hardware shop that sells them.
• The start state and goal state with the literals that are true at
that state are given.
• A progressive plan will move from start state to goal state by
performing a set of actions.
• A regressive plan will move from goal state to start state by
performing a set of actions
Heuristics for Partial-order Planning
• The heuristic function is used to choose which
plan to refine
• Planning graph can be used to give better
heuristic estimates
Planning Graph
• Planning graphs work only for propositional
planning problems (ones with no variables)
• A Planning graph consists of a sequence of
levels that correspond to time steps in the plan
– Level 0 is the initial state.
– Each level contains a set of literals and a set of actions.
– The literals are all those that could be true at that time
step, depending on the actions executed at preceding time
steps
– If some goal literal does not appear in the final level of the
graph, the goal is not achievable
Steps in creating Planning Graphs
• Start with initial state level So
• Follow that with action level Ao (actions whose
preconditions are satisfied in the previous level)
• Connect each action to its preconditions in So and its
effects in S1(introducing new literals into S1 that
were not in So)
Example : Eating a Cake
Actions: Bake, Eat
Initial State So
Add Actions from initial state S0 to
State S1
Add persistence actions from initial
state S0 to State S1