“Planning Heuristics and
Planning Graphs”
Ms shruti saxena
Planning Heuristics and Planning Graphs: A Deep Dive
 Coverage:
Heuristic functions in planning
GraphPlan algorithm and planning graphs
Cost estimation methods
Relaxed planning heuristics
Planning Heuristics and Planning
Graphs
 “Planning Heuristics and Planning Graphs”—a core concept in Artificial
Intelligence (AI) planning, especially relevant to automated planning and
search algorithms used in robotics, intelligent agents, and decision systems
 What is Automated Planning?
 Automated planning is the task of generating a sequence of actions to
achieve specific goals, given an initial state and a set of possible actions. It is
often modeled using state-space search techniques.
📌 1. Planning Heuristics
 🔹 Definition:
 Planning heuristics are estimators used by planning algorithms (like A*, Greedy
Best-First Search) to predict how close a current state is to the goal state.
 🔹 Purpose:
 Reduce search time by guiding the planner intelligently.
 Help avoid brute-force or exhaustive search.
 🔹 Common Heuristics:
 1. h<sub>max</sub> Heuristic
 Estimates the cost of the most expensive subgoal.
 Admissible but not very informative.
 2. h<sub>add</sub> Heuristic
 Adds the estimated costs of individual subgoals.
 More informative than h<sub>max</sub>, but not admissible.
 3. h<sub>FF</sub> (Fast Forward) Heuristic
 Extracts a relaxed plan (ignores delete effects) and uses its length as a
heuristic estimate.
 Basis for the FF planner (a state-of-the-art classical planner).
 4. Landmark Heuristics
 Identify facts or actions that must occur in any valid plan (called "landmarks").
 Use them to estimate distance to goal.
2. Planning Graphs
 🔹 Definition:
 A planning graph is a layered data structure representing how actions and states
evolve over time in a planning problem.
 🔹 Invented by:
 Blum & Furst (1997) in the Graphplan algorithm.
 🔹 Structure:
 Alternates between two types of levels:
 State levels (S): Contains facts/literals that can be true.
 Action levels (A): Contains all actions that can be applied.
 Includes mutex links (mutual exclusions) that indicate conflicting facts or actions.
A Planning Graph is a layered graph structure that alternates between:
•State levels (S<sub>i</sub>): Represent the set of literals (facts) that could be true at time step i.
•Action levels (A<sub>i</sub>): Represent actions that can occur given the literals in S<sub>i</sub>.
📐 Structure:
nginx
S0 → A0 → S1 → A1 → S2 → A2 → ...
Each level includes:
•Actions applicable at that step (based on preconditions).
•Effects of actions (which become literals in the next state level).
•Mutex links (mutual exclusions) to track incompatible actions or facts.
 GraphPlan is an algorithm for solving classical planning problems (STRIPS-
style), introduced by Avrim Blum and Merrick Furst in 1997.
 It works by:
 Building a planning graph (forward expansion).
 Searching backward through the graph to extract a valid plan.
 GraphPlan is known for being:
 Efficient in practice.
 Able to exploit parallelism and mutexes.
 A basis for heuristic extraction in later planners (e.g., FF).
 🔹 Use:
 Efficiently checks plan feasibility.
 Helps in extracting relaxed plans or building heuristics (like h<sub>pg</sub>,
planning graph-based heuristics).
How Does the GraphPlan Algorithm Work?
Step 1: Graph Expansion (Forward Phase)
 Start from the initial state (S<sub>0</sub>).
 At each level:
 Add all applicable actions (whose preconditions are in S<sub>i</sub>).
 Generate the next state level (S<sub>i+1</sub>) by applying their add effects.
 Add mutex relationships between:
 Actions: If they interfere or have competing effects.
 Literals: If all ways to achieve them are mutually exclusive.
 Stop when the goal literals appear in a state level without mutex between
them (or the graph levels off).
Step 2: Plan Extraction (Backward Phase)
 Start from the goal level.
 Try to select non-mutex actions that achieve the goal literals.
 Work backward, choosing actions whose effects achieve the current
subgoals, and whose preconditions are met at the previous state level.
 If no valid set of actions can be found, go back to Step 1 and expand further.
 If a plan is found, return it.
Planning Heuristics and Planning Graphs.pptx
Planning Heuristics and Planning Graphs.pptx
Planning Heuristics and Planning Graphs.pptx
Cost Estimation Methods
 Cost Estimation Methods are techniques used to predict the amount of
resources (especially time, money, and labor) required to complete a project,
product, or activity. These are widely used in project management, software
engineering, construction, manufacturing, and research.
Planning Heuristics and Planning Graphs.pptx
Planning Heuristics and Planning Graphs.pptx
Planning Heuristics and Planning Graphs.pptx
Planning Heuristics and Planning Graphs.pptx
Planning Heuristics and Planning Graphs.pptx
Relaxed Planning Heuristics
 Relaxed Planning Heuristics are a family of powerful heuristic techniques
used in automated planning to estimate how far a given state is from the
goal. These heuristics are derived by solving a simplified (relaxed) version of
the planning problem, typically by ignoring delete effects (i.e., once
something becomes true, it sta
 🔍 Why Use Relaxed Planning?
 Real-world planning problems are NP-hard.
 Solving a relaxed version is much faster.
 Helps guide search algorithms (like A*, Greedy Best First Search) toward
promising states.
 ys true).
📌 What is "Relaxation" in Planning?
Relaxation usually refers to removing negative (delete) effects from actions.
This turns the planning problem into a monotonic problem, where the set of true propositions only
grows.
Relaxed Problem: A version of the original problem where all delete effects are removed.
 🔧 How Does Relaxed Planning Heuristics Work?
 Relaxed heuristics solve this simplified version (or an approximation of it) and use its solution
length or cost as an estimate of the cost to reach the goal in the original problem.
Planning Heuristics and Planning Graphs.pptx
Planning Heuristics and Planning Graphs.pptx
Planning Heuristics and Planning Graphs.pptx
Planning Heuristics and Planning Graphs.pptx

More Related Content

PDF
Propositional Theorem Proving: Inference and proofs, Proof by resolution, Hor...
PPT
Scheduling And Htn
PPTX
Critical Path Analysis
PPTX
AI_Lecture2.pptx
PPTX
GANTT CHART nursing Management for Msc nursing
PPTX
#@123ganttchart-240304175359-d9a26905.pptx
PPTX
Project management and control
PPT
7 New QC Tools.ppt
Propositional Theorem Proving: Inference and proofs, Proof by resolution, Hor...
Scheduling And Htn
Critical Path Analysis
AI_Lecture2.pptx
GANTT CHART nursing Management for Msc nursing
#@123ganttchart-240304175359-d9a26905.pptx
Project management and control
7 New QC Tools.ppt

Similar to Planning Heuristics and Planning Graphs.pptx (20)

PDF
AI Lesson 22
PDF
Lesson 22
PPTX
PERT Ghant chart and bench marking with application to nursing
PPTX
AI_Session 27 Heuristics planning.pptx
PPTX
Planning Techniques and Tools and their Applications, Decision-Making.pptx
PPTX
TE-AI-Unit VI notes using planning model
PPTX
Modelingprogramstructure
PPTX
Planning tools
ODP
Robust Agent Execution
PDF
Gantt Charts and PERT# Charts: Different But Not So Different
PPT
Htn Planning In A Tool Supported
PPT
Artificial Intelligence 1 Planning In The Real World
DOCX
Gantt charts
PPTX
Project Management Techniques ( WBS & Critical Path Method )
PPT
Forced Field Analysis INPUT TOTAL QUALITY
PPT
Project Time Management
PPTX
Pert and gantt chart
PPTX
Introduction Construction Planning and Management
PPT
Critical path
PPT
Critical path
AI Lesson 22
Lesson 22
PERT Ghant chart and bench marking with application to nursing
AI_Session 27 Heuristics planning.pptx
Planning Techniques and Tools and their Applications, Decision-Making.pptx
TE-AI-Unit VI notes using planning model
Modelingprogramstructure
Planning tools
Robust Agent Execution
Gantt Charts and PERT# Charts: Different But Not So Different
Htn Planning In A Tool Supported
Artificial Intelligence 1 Planning In The Real World
Gantt charts
Project Management Techniques ( WBS & Critical Path Method )
Forced Field Analysis INPUT TOTAL QUALITY
Project Time Management
Pert and gantt chart
Introduction Construction Planning and Management
Critical path
Critical path
Ad

More from Baseemkhan3 (13)

PPTX
Presentationhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhh1.pptx
PPTX
Moduleanaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaad-II.pptx
PPTX
Ch-I-Moduddddddddddddddddddddddddddddddddddddle-III.pptx
PPTX
OUR SHINING of milton public schoolSTARS.pptx
PPTX
final ppt of boston public foundation classes.pptx
PPTX
shreyansfgfgfgfgfgfgfgfgfgfgfgh ppt.pptx
PPTX
Steps for PhD Entrance Test Ph.D 2025.pptx
PPTX
OUR SHINING STARS of the educational (1).pptx
PPTX
Presentation of School culture vs Coaching culture.pptx
PPT
Science-Quiz---as no per as it per md sir 8th.ppt
PPTX
vaishnavi advantages and disadvanyage presentation.pptx
PPTX
Shubham's on the advantage presentation.pptx
PPTX
Anika's DR APJ ABDUL KALAM presentation.pptx
Presentationhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhh1.pptx
Moduleanaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaad-II.pptx
Ch-I-Moduddddddddddddddddddddddddddddddddddddle-III.pptx
OUR SHINING of milton public schoolSTARS.pptx
final ppt of boston public foundation classes.pptx
shreyansfgfgfgfgfgfgfgfgfgfgfgh ppt.pptx
Steps for PhD Entrance Test Ph.D 2025.pptx
OUR SHINING STARS of the educational (1).pptx
Presentation of School culture vs Coaching culture.pptx
Science-Quiz---as no per as it per md sir 8th.ppt
vaishnavi advantages and disadvanyage presentation.pptx
Shubham's on the advantage presentation.pptx
Anika's DR APJ ABDUL KALAM presentation.pptx
Ad

Recently uploaded (20)

PPTX
ai_satellite_crop_management_20250815030350.pptx
PDF
First part_B-Image Processing - 1 of 2).pdf
PPTX
PRASUNET_20240614003_231416_0000[1].pptx
PPTX
Petroleum Refining & Petrochemicals.pptx
PPTX
"Array and Linked List in Data Structures with Types, Operations, Implementat...
PPTX
Amdahl’s law is explained in the above power point presentations
PPTX
Module 8- Technological and Communication Skills.pptx
PPT
Chapter 1 - Introduction to Manufacturing Technology_2.ppt
PPTX
Management Information system : MIS-e-Business Systems.pptx
PDF
August -2025_Top10 Read_Articles_ijait.pdf
PDF
Influence of Green Infrastructure on Residents’ Endorsement of the New Ecolog...
PPTX
Micro1New.ppt.pptx the mai themes of micfrobiology
PPTX
mechattonicsand iotwith sensor and actuator
PPTX
tack Data Structure with Array and Linked List Implementation, Push and Pop O...
PDF
UEFA_Embodied_Carbon_Emissions_Football_Infrastructure.pdf
PPTX
ASME PCC-02 TRAINING -DESKTOP-NLE5HNP.pptx
PPTX
CONTRACTS IN CONSTRUCTION PROJECTS: TYPES
PPTX
wireless networks, mobile computing.pptx
PDF
Computer organization and architecuture Digital Notes....pdf
PDF
20250617 - IR - Global Guide for HR - 51 pages.pdf
ai_satellite_crop_management_20250815030350.pptx
First part_B-Image Processing - 1 of 2).pdf
PRASUNET_20240614003_231416_0000[1].pptx
Petroleum Refining & Petrochemicals.pptx
"Array and Linked List in Data Structures with Types, Operations, Implementat...
Amdahl’s law is explained in the above power point presentations
Module 8- Technological and Communication Skills.pptx
Chapter 1 - Introduction to Manufacturing Technology_2.ppt
Management Information system : MIS-e-Business Systems.pptx
August -2025_Top10 Read_Articles_ijait.pdf
Influence of Green Infrastructure on Residents’ Endorsement of the New Ecolog...
Micro1New.ppt.pptx the mai themes of micfrobiology
mechattonicsand iotwith sensor and actuator
tack Data Structure with Array and Linked List Implementation, Push and Pop O...
UEFA_Embodied_Carbon_Emissions_Football_Infrastructure.pdf
ASME PCC-02 TRAINING -DESKTOP-NLE5HNP.pptx
CONTRACTS IN CONSTRUCTION PROJECTS: TYPES
wireless networks, mobile computing.pptx
Computer organization and architecuture Digital Notes....pdf
20250617 - IR - Global Guide for HR - 51 pages.pdf

Planning Heuristics and Planning Graphs.pptx

  • 1. “Planning Heuristics and Planning Graphs” Ms shruti saxena
  • 2. Planning Heuristics and Planning Graphs: A Deep Dive  Coverage: Heuristic functions in planning GraphPlan algorithm and planning graphs Cost estimation methods Relaxed planning heuristics
  • 3. Planning Heuristics and Planning Graphs  “Planning Heuristics and Planning Graphs”—a core concept in Artificial Intelligence (AI) planning, especially relevant to automated planning and search algorithms used in robotics, intelligent agents, and decision systems  What is Automated Planning?  Automated planning is the task of generating a sequence of actions to achieve specific goals, given an initial state and a set of possible actions. It is often modeled using state-space search techniques.
  • 4. 📌 1. Planning Heuristics  🔹 Definition:  Planning heuristics are estimators used by planning algorithms (like A*, Greedy Best-First Search) to predict how close a current state is to the goal state.  🔹 Purpose:  Reduce search time by guiding the planner intelligently.  Help avoid brute-force or exhaustive search.  🔹 Common Heuristics:  1. h<sub>max</sub> Heuristic  Estimates the cost of the most expensive subgoal.  Admissible but not very informative.
  • 5.  2. h<sub>add</sub> Heuristic  Adds the estimated costs of individual subgoals.  More informative than h<sub>max</sub>, but not admissible.  3. h<sub>FF</sub> (Fast Forward) Heuristic  Extracts a relaxed plan (ignores delete effects) and uses its length as a heuristic estimate.  Basis for the FF planner (a state-of-the-art classical planner).  4. Landmark Heuristics  Identify facts or actions that must occur in any valid plan (called "landmarks").  Use them to estimate distance to goal.
  • 6. 2. Planning Graphs  🔹 Definition:  A planning graph is a layered data structure representing how actions and states evolve over time in a planning problem.  🔹 Invented by:  Blum & Furst (1997) in the Graphplan algorithm.  🔹 Structure:  Alternates between two types of levels:  State levels (S): Contains facts/literals that can be true.  Action levels (A): Contains all actions that can be applied.  Includes mutex links (mutual exclusions) that indicate conflicting facts or actions.
  • 7. A Planning Graph is a layered graph structure that alternates between: •State levels (S<sub>i</sub>): Represent the set of literals (facts) that could be true at time step i. •Action levels (A<sub>i</sub>): Represent actions that can occur given the literals in S<sub>i</sub>. 📐 Structure: nginx S0 → A0 → S1 → A1 → S2 → A2 → ... Each level includes: •Actions applicable at that step (based on preconditions). •Effects of actions (which become literals in the next state level). •Mutex links (mutual exclusions) to track incompatible actions or facts.
  • 8.  GraphPlan is an algorithm for solving classical planning problems (STRIPS- style), introduced by Avrim Blum and Merrick Furst in 1997.  It works by:  Building a planning graph (forward expansion).  Searching backward through the graph to extract a valid plan.  GraphPlan is known for being:  Efficient in practice.  Able to exploit parallelism and mutexes.  A basis for heuristic extraction in later planners (e.g., FF).  🔹 Use:  Efficiently checks plan feasibility.  Helps in extracting relaxed plans or building heuristics (like h<sub>pg</sub>, planning graph-based heuristics).
  • 9. How Does the GraphPlan Algorithm Work? Step 1: Graph Expansion (Forward Phase)  Start from the initial state (S<sub>0</sub>).  At each level:  Add all applicable actions (whose preconditions are in S<sub>i</sub>).  Generate the next state level (S<sub>i+1</sub>) by applying their add effects.  Add mutex relationships between:  Actions: If they interfere or have competing effects.  Literals: If all ways to achieve them are mutually exclusive.  Stop when the goal literals appear in a state level without mutex between them (or the graph levels off).
  • 10. Step 2: Plan Extraction (Backward Phase)  Start from the goal level.  Try to select non-mutex actions that achieve the goal literals.  Work backward, choosing actions whose effects achieve the current subgoals, and whose preconditions are met at the previous state level.  If no valid set of actions can be found, go back to Step 1 and expand further.  If a plan is found, return it.
  • 14. Cost Estimation Methods  Cost Estimation Methods are techniques used to predict the amount of resources (especially time, money, and labor) required to complete a project, product, or activity. These are widely used in project management, software engineering, construction, manufacturing, and research.
  • 20. Relaxed Planning Heuristics  Relaxed Planning Heuristics are a family of powerful heuristic techniques used in automated planning to estimate how far a given state is from the goal. These heuristics are derived by solving a simplified (relaxed) version of the planning problem, typically by ignoring delete effects (i.e., once something becomes true, it sta  🔍 Why Use Relaxed Planning?  Real-world planning problems are NP-hard.  Solving a relaxed version is much faster.  Helps guide search algorithms (like A*, Greedy Best First Search) toward promising states.  ys true).
  • 21. 📌 What is "Relaxation" in Planning? Relaxation usually refers to removing negative (delete) effects from actions. This turns the planning problem into a monotonic problem, where the set of true propositions only grows. Relaxed Problem: A version of the original problem where all delete effects are removed.  🔧 How Does Relaxed Planning Heuristics Work?  Relaxed heuristics solve this simplified version (or an approximation of it) and use its solution length or cost as an estimate of the cost to reach the goal in the original problem.