AI - Module 6
AI - Module 6
Lecture 35 : Planning in AI
2
Unit No: 6 Unit name: Planning
Lecture No: 35
Planning in AI
What is planning in ng
IterativePlPlanni AI
ppppppppppppppppppppppp
4
What is the Role of Planning in Artificial Intelligence?
• So, we have Forward State Space Planning (FSSP) and Backward State
Space Planning (BSSP) at the basic level.
Typical Planning Problems
7
Forward State Space Planning (FSSP)
8
Backward State Space Planning
(BSSP)
• BSSP behaves similarly to backward state-space search. In
this, we move from the target state g to the sub-goal g,
tracing the previous action to achieve that goal. This
process is called regression (going back to the previous
goal or sub-goal). These sub-goals should also be checked
for consistency. The action should be relevant in this case.
• Disadvantages: not sound algorithm (sometimes
inconsistency can be found)
• Advantage: Small branching factor (much smaller than
FSSP)
• So for an efficient planning system, we need to combine
the features of FSSP and BSSP, which gives rise to target
stack planning
9
you can refer to this video on Forward and backward state space planning
https://www.youtube.com/watch?v=wzEsGsXLDV8
1
0
Unit No: 6
Solving
Lecture No: 36
Hierarchical Planning
Hierarchical Planning
12
Three Major Tasks
Lecture No: 37
Blocks world
Block-world planning problem
•The block-world problem is known as the Sussmann
anomaly.
•The non-interlaced planners of the early 1970s were
unable to solve this problem. Therefore it is considered
odd.
•When two sub-goals, G1 and G2, are given, a non-
interleaved planner either produces a plan for G1 that
is combined with a plan for G2 or vice versa.
•In the block-world problem, three blocks labeled 'A',
'B', and 'C' are allowed to rest on a flat surface. The
given condition is that only one block can be moved at
a time to achieve the target.
Word planning problem
The start position and target position are shown in the following
diagram.
Components of the planning system
Lecture No: 38
STanford Research Institute
Problem Solver
What is STRIPS?
STRIPS is a planning algorithm that was developed by
Stanford AI Lab in the early 1970s. STRIPS is an acronym
for “Stanford Research Institute Planning System".
20
STRIPS has been used to solve a variety of planning problems,
including navigation, scheduling, and resource allocation.
• ADD list contains those predicates which will be true after operation
• DELETE list contain those predicates which are no longer true after
operation
Lecture No: 39
Real world examples
of Strips
Consider a Block world problem ,
Initial State
on(block2, block1)
clear(block2)
ontable(block3)
on(block4, block3)
on(block5, block4)
clear(block5)
Goal State
empty
on(block3, block4)
on(block5, block1)
ont(block2)
Unstack(block5,block4)
armempty
on(block3, block4)
on(block5, block1)
ont(block2)
Thank You