3
Most read
5
Most read
6
Most read
ARTIFICAL INTELLIGENCE
(R18 III(II Sem))
Department of computer science and
engineering (AI/ML)
Session 25
by
Asst.Prof.M.Gokilavani
VITS
6/11/2023 Dpaertment of CSE ( AL & ML) 1
TEXTBOOK:
• Artificial Intelligence A modern Approach, Third
Edition, Stuart Russell and Peter Norvig, Pearson
Education.
REFERENCES:
• Artificial Intelligence, 3rd Edn, E. Rich and K.Knight
(TMH).
• Artificial Intelligence, 3rd Edn, Patrick Henny
Winston, Pearson Education.
• Artificial Intelligence, Shivani Goel, Pearson
Education.
• Artificial Intelligence and Expert Systems- Patterson,
Pearson Education.
6/11/2023 Dpaertment of CSE ( AL & ML) 2
Topics covered in session 25
6/11/2023 Dpaertment of CSE ( AL & ML) 3
Planning
Classical Planning: Definition of Classical Planning,
Algorithms for Planning with State-Space Search,
Planning Graphs, other Classical Planning
Approaches, Analysis of Planning approaches.
Planning and Acting in the Real World: Time,
Schedules, and Resources, Hierarchical Planning,
Planning and Acting in Nondeterministic Domains,
Multi agent Planning.
Planning Agent Eg: vacuum cleaner
6/11/2023 4
Dpaertment of CSE ( AL & ML)
Purpose of Planning
• The purpose of planning is to find a sequence of actions that
achieves a given goal when performed starting in a given state.
• In other words, given a set of operator instances (defining the
possible primitive actions by the agent), an initial state
description, and a goal state description or predicate, the
planning agent computes a plan.
• Start Final Operator Instances PLAN.
6/11/2023 5
Dpaertment of CSE ( AL & ML)
Type of Environments
– fully observable
• we see everything that matters
– deterministic
• the effects of actions are known exactly
– static
• no changes to environment other than those caused by
agent actions
– discrete
• changes in time and space occur in quantum amounts
– single agent
• no competition or cooperation to account for
6/11/2023 6
Dpaertment of CSE ( AL & ML)
What is plan?
• The task of coming up with a sequence of actions
that will achieve a goal is called Planning.
• Planning Problems so far:
– search-based problem solving
– logical planning
• Consider only environment that are fully
observable, deterministic, finite, static (change
happens only when the agent acts), and
discrete (in time, action, objects and effects).
These are called Classical Planning.
6/11/2023 7
Dpaertment of CSE ( AL & ML)
State and Goal: Classical planning
6/11/2023 8
Dpaertment of CSE ( AL & ML)
Non classical planning
• Non classical planning is for partially
observable or stochastic environments and
involves a different set of algorithms and agent
designs.
6/11/2023 9
Dpaertment of CSE ( AL & ML)
Why we need planning?
• Intelligent agents must operate in the world.
– Take intelligent actions
– Compose actions together to achieve complex
goals
• Change the world to suit the needs. Agents
need to reason about what the world will be
like after executing a sequence of actions
– Need to reason about dynamic environment
6/11/2023 Dpaertment of CSE ( AL & ML) 10
6/11/2023 Dpaertment of CSE ( AL & ML) 11
Planning algorithm
• Generate a goal to achieve
• Construct a plan to achieve goal from current
state
• Execute plan until finished
• Begin again with new goal
6/11/2023 Dpaertment of CSE ( AL & ML) 12
The language planning problems
• Planning algorithms should take advantage of the
logical structure of the problem.
• The key is to find a language that is expressive enough
to describe a wide variety problems, but restrictive
enough to allow efficient algorithms to operate over it.
• The problem should be expressed in a suitable logical
language.
• Planning is considered different from problem solving
because of the difference in the way they represent
states, goals, actions, and the differences in the way
they construct action sequences.
6/11/2023 Dpaertment of CSE ( AL & ML) 13
Representation of states
– Planners decompose the world into logical conditions and
represent a state as conjunction of positive literals
– Example; prepositional logic P V Q
Representation of goals
– A goal is partially specified state, represented as a conjunction of
positive ground literals, such as 𝐏 ∧Q.
– A propositional state s satisfies a goal g if s contains all the
atoms in g.
– Example; P∧ 𝑸 ∧R satisfies the goal 𝐏 ∧Q
Representation of actions
– An action is specified in terms of the pre conditions that must
hold before it can be executed and the effects that ensue when it
is executed.
– Example: Action(Fly(p,From,To),
– PRECOND: At(p, from) ∧ Plane(p) ∧ Airport(from) ∧
Airport(to), EFFECT: ~At(p,from) ∧ At(p,to))
6/11/2023 Dpaertment of CSE ( AL & ML) 14
Action schema
• Action schema, meaning that it represents a
number of different actions that can be derived
by instantiating the variables p, from and to
different constants. In general action schema
consists of three parts:
– The action name and parameter list
– The precondition is a conjunction of function-free
positive literals stating what must be true in state
before the actions can be executed.
– The effect is a conjunction of function-free literals
describing how the state changes when the action is
executed.
6/11/2023 Dpaertment of CSE ( AL & ML) 15
Example : Box world
6/11/2023 Dpaertment of CSE ( AL & ML) 16
6/11/2023 Dpaertment of CSE ( AL & ML) 17
6/11/2023 Dpaertment of CSE ( AL & ML) 18
Topics to be covered in next session 26
• Planning state space
Thank you!!!
6/11/2023 Dpaertment of CSE ( AL & ML) 19

More Related Content

PPTX
Knowledge representation
PPTX
Color Models Computer Graphics
PPTX
Computer graphics LINE DRAWING algorithm.pptx
PPTX
Electric Cars
PPT
Javascript
PPTX
Uninformed search /Blind search in AI
PDF
2D Transformation in Computer Graphics
Knowledge representation
Color Models Computer Graphics
Computer graphics LINE DRAWING algorithm.pptx
Electric Cars
Javascript
Uninformed search /Blind search in AI
2D Transformation in Computer Graphics

What's hot (20)

PDF
Ai lecture 7(unit02)
PPTX
AI_Session 26 Algorithm for state space.pptx
PPTX
AI_Session 28 planning graph.pptx
PDF
Heuristic Search in Artificial Intelligence | Heuristic Function in AI | Admi...
PPT
Planning
PDF
Informed search
PPTX
Constraint satisfaction problems (csp)
PPTX
AI_Session 10 Local search in continious space.pptx
PPTX
Propositional logic
PPTX
Planning in Artificial Intelligence
PPT
Solving problems by searching
PDF
Artificial Intelligence - Hill climbing.
PDF
A* Search Algorithm
PPTX
AI: AI & Problem Solving
PPTX
Problem solving agents
PPTX
Search Algorithms in AI.pptx
PPTX
AI_Session 13 Adversarial Search .pptx
PPTX
AI-09 Logic in AI
PPTX
AI: Logic in AI
PPTX
Asymptotic Notation
Ai lecture 7(unit02)
AI_Session 26 Algorithm for state space.pptx
AI_Session 28 planning graph.pptx
Heuristic Search in Artificial Intelligence | Heuristic Function in AI | Admi...
Planning
Informed search
Constraint satisfaction problems (csp)
AI_Session 10 Local search in continious space.pptx
Propositional logic
Planning in Artificial Intelligence
Solving problems by searching
Artificial Intelligence - Hill climbing.
A* Search Algorithm
AI: AI & Problem Solving
Problem solving agents
Search Algorithms in AI.pptx
AI_Session 13 Adversarial Search .pptx
AI-09 Logic in AI
AI: Logic in AI
Asymptotic Notation
Ad

Similar to AI_Session 25 classical planning.pptx (20)

PPTX
22PCOAM11 IAI Unit 4 Session 17 classical planning.pptx
PPTX
AI_Session 29 Graphplan algorithm.pptx
PPTX
AI_Session 27 Heuristics planning.pptx
PPTX
22PCOAM11 IAI Unit 4 Session 18 Algorithm for state space.pptx
PPTX
22PCOAM11 IAI Unit 4 Session 21 Graphplan algorithm.pptx
PDF
22PCOAM11_IAI_Unit IV Full Notes Merged .pdf
PPTX
Lesson03-KnowledgeReasoningPlanning_Pt3.pptx
PPTX
22PCOAM11 IAI Unit 4 Session 19 Heuristics planning.pptx
PDF
PLANNING BASED ON CLASSIFICATION BY INDUCTION GRAPH
PPT
An Ontological Formalization Of The Planning Task
PDF
automatedplannning_PirevaKefalasCowling.pdf
PDF
PLANNING BASED ON CLASSIFICATION BY INDUCTION GRAPH
PDF
PLANNING BY CASE-BASED REASONING BASED ON FUZZY LOGIC
PDF
PLANNING BY CASE-BASED REASONING BASED ON FUZZY LOGIC
PDF
Moore chris[1]
PPTX
Unit 5 Introduction to Planning and ANN.pptx
PPT
hierarchical_planning.ppt
PDF
Planning solutions in the real world
PPTX
[20240621_LabSeminar_Huy]Spatial-Temporal Interplay in Human Mobility: A Hier...
PPT
Scheduling And Htn
22PCOAM11 IAI Unit 4 Session 17 classical planning.pptx
AI_Session 29 Graphplan algorithm.pptx
AI_Session 27 Heuristics planning.pptx
22PCOAM11 IAI Unit 4 Session 18 Algorithm for state space.pptx
22PCOAM11 IAI Unit 4 Session 21 Graphplan algorithm.pptx
22PCOAM11_IAI_Unit IV Full Notes Merged .pdf
Lesson03-KnowledgeReasoningPlanning_Pt3.pptx
22PCOAM11 IAI Unit 4 Session 19 Heuristics planning.pptx
PLANNING BASED ON CLASSIFICATION BY INDUCTION GRAPH
An Ontological Formalization Of The Planning Task
automatedplannning_PirevaKefalasCowling.pdf
PLANNING BASED ON CLASSIFICATION BY INDUCTION GRAPH
PLANNING BY CASE-BASED REASONING BASED ON FUZZY LOGIC
PLANNING BY CASE-BASED REASONING BASED ON FUZZY LOGIC
Moore chris[1]
Unit 5 Introduction to Planning and ANN.pptx
hierarchical_planning.ppt
Planning solutions in the real world
[20240621_LabSeminar_Huy]Spatial-Temporal Interplay in Human Mobility: A Hier...
Scheduling And Htn
Ad

More from Guru Nanak Technical Institutions (20)

PPTX
22PCOAM21 Data Quality Session 3 Data Quality.pptx
PPTX
22PCOAM21 Session 1 Data Management.pptx
PPTX
22PCOAM21 Session 2 Understanding Data Source.pptx
PDF
III Year II Sem 22PCOAM21 Data Analytics Syllabus.pdf
PDF
22PCOAM16 _ML_Unit 3 Notes & Question bank
PDF
22PCOAM16 Machine Learning Unit V Full notes & QB
PDF
22PCOAM16_MACHINE_LEARNING_UNIT_IV_NOTES_with_QB
PDF
22PCOAM16 ML Unit 3 Full notes PDF & QB.pdf
PPTX
22PCOAM16 Unit 3 Session 23 Different ways to Combine Classifiers.pptx
PPTX
22PCOAM16 Unit 3 Session 22 Ensemble Learning .pptx
PPTX
22PCOAM16 Unit 3 Session 24 K means Algorithms.pptx
PPTX
22PCOAM16 ML Unit 3 Session 18 Learning with tree.pptx
PPTX
22PCOAM16 ML Unit 3 Session 21 Classification and Regression Trees .pptx
PPTX
22PCOAM16 ML Unit 3 Session 20 ID3 Algorithm and working.pptx
PPTX
22PCOAM16 ML Unit 3 Session 19 Constructing Decision Trees.pptx
PDF
22PCOAM16 ML UNIT 2 NOTES & QB QUESTION WITH ANSWERS
PDF
22PCOAM16 _ML_ Unit 2 Full unit notes.pdf
PDF
22PCOAM16_ML_Unit 1 notes & Question Bank with answers.pdf
PDF
22PCOAM16_MACHINE_LEARNING_UNIT_I_NOTES.pdf
PPTX
22PCOAM16 Unit 2 Session 17 Support vector Machine.pptx
22PCOAM21 Data Quality Session 3 Data Quality.pptx
22PCOAM21 Session 1 Data Management.pptx
22PCOAM21 Session 2 Understanding Data Source.pptx
III Year II Sem 22PCOAM21 Data Analytics Syllabus.pdf
22PCOAM16 _ML_Unit 3 Notes & Question bank
22PCOAM16 Machine Learning Unit V Full notes & QB
22PCOAM16_MACHINE_LEARNING_UNIT_IV_NOTES_with_QB
22PCOAM16 ML Unit 3 Full notes PDF & QB.pdf
22PCOAM16 Unit 3 Session 23 Different ways to Combine Classifiers.pptx
22PCOAM16 Unit 3 Session 22 Ensemble Learning .pptx
22PCOAM16 Unit 3 Session 24 K means Algorithms.pptx
22PCOAM16 ML Unit 3 Session 18 Learning with tree.pptx
22PCOAM16 ML Unit 3 Session 21 Classification and Regression Trees .pptx
22PCOAM16 ML Unit 3 Session 20 ID3 Algorithm and working.pptx
22PCOAM16 ML Unit 3 Session 19 Constructing Decision Trees.pptx
22PCOAM16 ML UNIT 2 NOTES & QB QUESTION WITH ANSWERS
22PCOAM16 _ML_ Unit 2 Full unit notes.pdf
22PCOAM16_ML_Unit 1 notes & Question Bank with answers.pdf
22PCOAM16_MACHINE_LEARNING_UNIT_I_NOTES.pdf
22PCOAM16 Unit 2 Session 17 Support vector Machine.pptx

Recently uploaded (20)

PPTX
INTERNET OF THINGS - EMBEDDED SYSTEMS AND INTERNET OF THINGS
PDF
Performance, energy consumption and costs: a comparative analysis of automati...
PPTX
Solar energy pdf of gitam songa hemant k
PDF
electrical machines course file-anna university
PDF
Research on ultrasonic sensor for TTU.pdf
PPTX
Design ,Art Across Digital Realities and eXtended Reality
PDF
THE PEDAGOGICAL NEXUS IN TEACHING ELECTRICITY CONCEPTS IN THE GRADE 9 NATURAL...
PPT
UNIT-I Machine Learning Essentials for 2nd years
DOCX
ENVIRONMENTAL PROTECTION AND MANAGEMENT (18CVL756)
PPT
Comprehensive Java Training Deck - Advanced topics
PDF
Principles of operation, construction, theory, advantages and disadvantages, ...
PPTX
22ME926Introduction to Business Intelligence and Analytics, Advanced Integrat...
PDF
Artificial Intelligence_ Basics .Artificial Intelligence_ Basics .
PDF
AIGA 012_04 Cleaning of equipment for oxygen service_reformat Jan 12.pdf
PDF
IAE-V2500 Engine for Airbus Family 319/320
PPT
Module_1_Lecture_1_Introduction_To_Automation_In_Production_Systems2023.ppt
PPTX
Software-Development-Life-Cycle-SDLC.pptx
PDF
ST MNCWANGO P2 WIL (MEPR302) FINAL REPORT.pdf
PDF
Mechanics of materials week 2 rajeshwari
PPTX
AI-Reporting for Emerging Technologies(BS Computer Engineering)
INTERNET OF THINGS - EMBEDDED SYSTEMS AND INTERNET OF THINGS
Performance, energy consumption and costs: a comparative analysis of automati...
Solar energy pdf of gitam songa hemant k
electrical machines course file-anna university
Research on ultrasonic sensor for TTU.pdf
Design ,Art Across Digital Realities and eXtended Reality
THE PEDAGOGICAL NEXUS IN TEACHING ELECTRICITY CONCEPTS IN THE GRADE 9 NATURAL...
UNIT-I Machine Learning Essentials for 2nd years
ENVIRONMENTAL PROTECTION AND MANAGEMENT (18CVL756)
Comprehensive Java Training Deck - Advanced topics
Principles of operation, construction, theory, advantages and disadvantages, ...
22ME926Introduction to Business Intelligence and Analytics, Advanced Integrat...
Artificial Intelligence_ Basics .Artificial Intelligence_ Basics .
AIGA 012_04 Cleaning of equipment for oxygen service_reformat Jan 12.pdf
IAE-V2500 Engine for Airbus Family 319/320
Module_1_Lecture_1_Introduction_To_Automation_In_Production_Systems2023.ppt
Software-Development-Life-Cycle-SDLC.pptx
ST MNCWANGO P2 WIL (MEPR302) FINAL REPORT.pdf
Mechanics of materials week 2 rajeshwari
AI-Reporting for Emerging Technologies(BS Computer Engineering)

AI_Session 25 classical planning.pptx

  • 1. ARTIFICAL INTELLIGENCE (R18 III(II Sem)) Department of computer science and engineering (AI/ML) Session 25 by Asst.Prof.M.Gokilavani VITS 6/11/2023 Dpaertment of CSE ( AL & ML) 1
  • 2. TEXTBOOK: • Artificial Intelligence A modern Approach, Third Edition, Stuart Russell and Peter Norvig, Pearson Education. REFERENCES: • Artificial Intelligence, 3rd Edn, E. Rich and K.Knight (TMH). • Artificial Intelligence, 3rd Edn, Patrick Henny Winston, Pearson Education. • Artificial Intelligence, Shivani Goel, Pearson Education. • Artificial Intelligence and Expert Systems- Patterson, Pearson Education. 6/11/2023 Dpaertment of CSE ( AL & ML) 2
  • 3. Topics covered in session 25 6/11/2023 Dpaertment of CSE ( AL & ML) 3 Planning Classical Planning: Definition of Classical Planning, Algorithms for Planning with State-Space Search, Planning Graphs, other Classical Planning Approaches, Analysis of Planning approaches. Planning and Acting in the Real World: Time, Schedules, and Resources, Hierarchical Planning, Planning and Acting in Nondeterministic Domains, Multi agent Planning.
  • 4. Planning Agent Eg: vacuum cleaner 6/11/2023 4 Dpaertment of CSE ( AL & ML)
  • 5. Purpose of Planning • The purpose of planning is to find a sequence of actions that achieves a given goal when performed starting in a given state. • In other words, given a set of operator instances (defining the possible primitive actions by the agent), an initial state description, and a goal state description or predicate, the planning agent computes a plan. • Start Final Operator Instances PLAN. 6/11/2023 5 Dpaertment of CSE ( AL & ML)
  • 6. Type of Environments – fully observable • we see everything that matters – deterministic • the effects of actions are known exactly – static • no changes to environment other than those caused by agent actions – discrete • changes in time and space occur in quantum amounts – single agent • no competition or cooperation to account for 6/11/2023 6 Dpaertment of CSE ( AL & ML)
  • 7. What is plan? • The task of coming up with a sequence of actions that will achieve a goal is called Planning. • Planning Problems so far: – search-based problem solving – logical planning • Consider only environment that are fully observable, deterministic, finite, static (change happens only when the agent acts), and discrete (in time, action, objects and effects). These are called Classical Planning. 6/11/2023 7 Dpaertment of CSE ( AL & ML)
  • 8. State and Goal: Classical planning 6/11/2023 8 Dpaertment of CSE ( AL & ML)
  • 9. Non classical planning • Non classical planning is for partially observable or stochastic environments and involves a different set of algorithms and agent designs. 6/11/2023 9 Dpaertment of CSE ( AL & ML)
  • 10. Why we need planning? • Intelligent agents must operate in the world. – Take intelligent actions – Compose actions together to achieve complex goals • Change the world to suit the needs. Agents need to reason about what the world will be like after executing a sequence of actions – Need to reason about dynamic environment 6/11/2023 Dpaertment of CSE ( AL & ML) 10
  • 11. 6/11/2023 Dpaertment of CSE ( AL & ML) 11
  • 12. Planning algorithm • Generate a goal to achieve • Construct a plan to achieve goal from current state • Execute plan until finished • Begin again with new goal 6/11/2023 Dpaertment of CSE ( AL & ML) 12
  • 13. The language planning problems • Planning algorithms should take advantage of the logical structure of the problem. • The key is to find a language that is expressive enough to describe a wide variety problems, but restrictive enough to allow efficient algorithms to operate over it. • The problem should be expressed in a suitable logical language. • Planning is considered different from problem solving because of the difference in the way they represent states, goals, actions, and the differences in the way they construct action sequences. 6/11/2023 Dpaertment of CSE ( AL & ML) 13
  • 14. Representation of states – Planners decompose the world into logical conditions and represent a state as conjunction of positive literals – Example; prepositional logic P V Q Representation of goals – A goal is partially specified state, represented as a conjunction of positive ground literals, such as 𝐏 ∧Q. – A propositional state s satisfies a goal g if s contains all the atoms in g. – Example; P∧ 𝑸 ∧R satisfies the goal 𝐏 ∧Q Representation of actions – An action is specified in terms of the pre conditions that must hold before it can be executed and the effects that ensue when it is executed. – Example: Action(Fly(p,From,To), – PRECOND: At(p, from) ∧ Plane(p) ∧ Airport(from) ∧ Airport(to), EFFECT: ~At(p,from) ∧ At(p,to)) 6/11/2023 Dpaertment of CSE ( AL & ML) 14
  • 15. Action schema • Action schema, meaning that it represents a number of different actions that can be derived by instantiating the variables p, from and to different constants. In general action schema consists of three parts: – The action name and parameter list – The precondition is a conjunction of function-free positive literals stating what must be true in state before the actions can be executed. – The effect is a conjunction of function-free literals describing how the state changes when the action is executed. 6/11/2023 Dpaertment of CSE ( AL & ML) 15
  • 16. Example : Box world 6/11/2023 Dpaertment of CSE ( AL & ML) 16
  • 17. 6/11/2023 Dpaertment of CSE ( AL & ML) 17
  • 18. 6/11/2023 Dpaertment of CSE ( AL & ML) 18
  • 19. Topics to be covered in next session 26 • Planning state space Thank you!!! 6/11/2023 Dpaertment of CSE ( AL & ML) 19