SlideShare una empresa de Scribd logo
1 de 13
Logic in AI 2
A simple Planning Agent A simple planning agent uses the percepts provided by the environment to build a complete and correct model of the current world state, after which , to achieve its goal, it calls a suitable planning algorithm (which we will call IDEAL-PLANNER) to generate a plan of action.
Problem solving and Planningby a simple planning agent Basic elements of a search-based problem-solver are  Representation of actions,  Representation of states,  Represents of goals and  Representation of  plans.
Components of practical planning (1) Restrict the language with which PLANNER we define problems. With a restrictivelanguage, there are fewer possible solutions to search through. (2) Use a special-purpose algorithm called a planner rather than a general-purposetheorem prover to search for a solution.
Basic representation for planning LEAST COMMITMENT this principle says that one should only make choices about things that you currently working.  PARTIAL ORDER A planner that can represent plans in  some steps are ordered with respect to each other and other steps are unordered is called a partial order planner. LINEARIZATION A totally ordered plan that is derived from a plan P by adding ordering constraints is called a linearization of P.
What is a PLAN? A plan is formally defined as a data structure consisting of the following four components: Set of plan steps Set of step ordering constraints Set of variable binding constraints Set of casual links
What is a Solution? A solution is a plan that an agent can execute, and that guarantees achievement of the goal.  If we wanted to make it really easy to check that a plan is a solution, we could insist that only fully instantiated, totally ordered plans can be solutions.
How to Resolve threats in planning? Resolve now with an equality constraint Resolve now with an inequality constraint Resolve Later
Knowledge Engineering for planning Decide what to talk about. Decide on a vocabulary of conditions (literals), operators, and objects. Encode operators for the domain. Encode a description of the specific problem instance. Pose problems to the planner and get back plans.
Practical Planning Hierarchical decomposition The practical planners have adopted the idea of hierarchical decomposition: that an abstract operator can be decomposed into a group of steps that forms a plan that implements the operator.  These decompositions can be stored in a library of plans and retrieved as needed
Analysis of Hierarchical Decomposition Abstract solution A plan that contains abstract operators, but is consistent and complete once an abstract solution is found we can prune away all other abstract plans from the search tree. This property is the downward solution property. We can prune away all the descendants of any inconsistent abstract plan. This is called theupward solution property
Resource constraints in planning Using measures in planningThe solution is to introduce numeric-valued measures. Measures such as the price of gas are realities with which the planner must deal, but over which it j has little control.  Other measures, such as Cash and Gas Level, are treated as resources that can be produced and consumed. Temporal constraintsIn most ways, time can be treated like any other resource. The initial state specifies a start time for the plan.
Visit more self help tutorials Pick a tutorial of your choice and browse through it at your own pace. The tutorials section is free, self-guiding and will not involve any additional support. Visit us at www.dataminingtools.net

Más contenido relacionado

Similar a AI: Logic in AI 2

Management notes b.com ii
Management notes b.com iiManagement notes b.com ii
Management notes b.com ii
Changazi
 
Management notes b.com ii
Management notes b.com iiManagement notes b.com ii
Management notes b.com ii
Changazi
 
Introduction to Project Management
Introduction to Project ManagementIntroduction to Project Management
Introduction to Project Management
Anil Singh
 
Principles of Management Lec-2
Principles of Management Lec-2Principles of Management Lec-2
Principles of Management Lec-2
Muhammad Akram
 
The Disaster Recovery Plan Sumanth Lagadapati[email protecte.docx
The Disaster Recovery Plan Sumanth Lagadapati[email protecte.docxThe Disaster Recovery Plan Sumanth Lagadapati[email protecte.docx
The Disaster Recovery Plan Sumanth Lagadapati[email protecte.docx
todd241
 
Final hrm project 2003
Final hrm project 2003Final hrm project 2003
Final hrm project 2003
Adil Shaikh
 
Pom 2 20 09 2008
Pom 2 20 09 2008Pom 2 20 09 2008
Pom 2 20 09 2008
msq2004
 
Program understanding: What programmers really want
Program understanding: What programmers really wantProgram understanding: What programmers really want
Program understanding: What programmers really want
Einar Høst
 

Similar a AI: Logic in AI 2 (20)

Management notes b.com ii
Management notes b.com iiManagement notes b.com ii
Management notes b.com ii
 
Management notes b.com ii
Management notes b.com iiManagement notes b.com ii
Management notes b.com ii
 
AI Lesson 22
AI Lesson 22AI Lesson 22
AI Lesson 22
 
Lesson 22
Lesson 22Lesson 22
Lesson 22
 
Csc 102 lecture note(introduction to problem solving)
Csc 102 lecture note(introduction to problem solving)Csc 102 lecture note(introduction to problem solving)
Csc 102 lecture note(introduction to problem solving)
 
Log frame-analysis
Log frame-analysisLog frame-analysis
Log frame-analysis
 
Introduction to Project Management
Introduction to Project ManagementIntroduction to Project Management
Introduction to Project Management
 
MIlestoneDrivenAgileExecution.pdf
MIlestoneDrivenAgileExecution.pdfMIlestoneDrivenAgileExecution.pdf
MIlestoneDrivenAgileExecution.pdf
 
Scheduling And Htn
Scheduling And HtnScheduling And Htn
Scheduling And Htn
 
Principles of Management Lec-2
Principles of Management Lec-2Principles of Management Lec-2
Principles of Management Lec-2
 
DP Project Report
DP Project ReportDP Project Report
DP Project Report
 
The Disaster Recovery Plan Sumanth Lagadapati[email protecte.docx
The Disaster Recovery Plan Sumanth Lagadapati[email protecte.docxThe Disaster Recovery Plan Sumanth Lagadapati[email protecte.docx
The Disaster Recovery Plan Sumanth Lagadapati[email protecte.docx
 
5 The Logical Framework - a short course for NGOs
5 The Logical Framework - a short course for NGOs5 The Logical Framework - a short course for NGOs
5 The Logical Framework - a short course for NGOs
 
Control
ControlControl
Control
 
Lp assign
Lp assignLp assign
Lp assign
 
Application of Linear Programming to Profit Maximization (A Case Study of.pdf
Application of Linear Programming to Profit Maximization (A Case Study of.pdfApplication of Linear Programming to Profit Maximization (A Case Study of.pdf
Application of Linear Programming to Profit Maximization (A Case Study of.pdf
 
Final hrm project 2003
Final hrm project 2003Final hrm project 2003
Final hrm project 2003
 
Pom 2 20 09 2008
Pom 2 20 09 2008Pom 2 20 09 2008
Pom 2 20 09 2008
 
Research on Lexicographic Linear Goal Programming Problem Based on LINGO and ...
Research on Lexicographic Linear Goal Programming Problem Based on LINGO and ...Research on Lexicographic Linear Goal Programming Problem Based on LINGO and ...
Research on Lexicographic Linear Goal Programming Problem Based on LINGO and ...
 
Program understanding: What programmers really want
Program understanding: What programmers really wantProgram understanding: What programmers really want
Program understanding: What programmers really want
 

Más de Datamining Tools

Más de Datamining Tools (20)

Data Mining: Text and web mining
Data Mining: Text and web miningData Mining: Text and web mining
Data Mining: Text and web mining
 
Data Mining: Outlier analysis
Data Mining: Outlier analysisData Mining: Outlier analysis
Data Mining: Outlier analysis
 
Data Mining: Mining stream time series and sequence data
Data Mining: Mining stream time series and sequence dataData Mining: Mining stream time series and sequence data
Data Mining: Mining stream time series and sequence data
 
Data Mining: Mining ,associations, and correlations
Data Mining: Mining ,associations, and correlationsData Mining: Mining ,associations, and correlations
Data Mining: Mining ,associations, and correlations
 
Data Mining: Graph mining and social network analysis
Data Mining: Graph mining and social network analysisData Mining: Graph mining and social network analysis
Data Mining: Graph mining and social network analysis
 
Data Mining: Data warehouse and olap technology
Data Mining: Data warehouse and olap technologyData Mining: Data warehouse and olap technology
Data Mining: Data warehouse and olap technology
 
Data MIning: Data processing
Data MIning: Data processingData MIning: Data processing
Data MIning: Data processing
 
Data Mining: clustering and analysis
Data Mining: clustering and analysisData Mining: clustering and analysis
Data Mining: clustering and analysis
 
Data mining: Classification and Prediction
Data mining: Classification and PredictionData mining: Classification and Prediction
Data mining: Classification and Prediction
 
Data Mining: Data mining classification and analysis
Data Mining: Data mining classification and analysisData Mining: Data mining classification and analysis
Data Mining: Data mining classification and analysis
 
Data Mining: Data mining and key definitions
Data Mining: Data mining and key definitionsData Mining: Data mining and key definitions
Data Mining: Data mining and key definitions
 
Data Mining: Data cube computation and data generalization
Data Mining: Data cube computation and data generalizationData Mining: Data cube computation and data generalization
Data Mining: Data cube computation and data generalization
 
Data Mining: Applying data mining
Data Mining: Applying data miningData Mining: Applying data mining
Data Mining: Applying data mining
 
Data Mining: Application and trends in data mining
Data Mining: Application and trends in data miningData Mining: Application and trends in data mining
Data Mining: Application and trends in data mining
 
AI: Planning and AI
AI: Planning and AIAI: Planning and AI
AI: Planning and AI
 
AI: Logic in AI
AI: Logic in AIAI: Logic in AI
AI: Logic in AI
 
AI: Learning in AI 2
AI: Learning in AI  2AI: Learning in AI  2
AI: Learning in AI 2
 
AI: Learning in AI
AI: Learning in AI AI: Learning in AI
AI: Learning in AI
 
AI: Introduction to artificial intelligence
AI: Introduction to artificial intelligenceAI: Introduction to artificial intelligence
AI: Introduction to artificial intelligence
 
AI: AI & problem solving
AI: AI & problem solvingAI: AI & problem solving
AI: AI & problem solving
 

Último

CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Service
giselly40
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
vu2urc
 

Último (20)

Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Service
 
Tech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdfTech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdf
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
 
GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdf
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 

AI: Logic in AI 2

  • 2. A simple Planning Agent A simple planning agent uses the percepts provided by the environment to build a complete and correct model of the current world state, after which , to achieve its goal, it calls a suitable planning algorithm (which we will call IDEAL-PLANNER) to generate a plan of action.
  • 3. Problem solving and Planningby a simple planning agent Basic elements of a search-based problem-solver are  Representation of actions, Representation of states, Represents of goals and Representation of plans.
  • 4. Components of practical planning (1) Restrict the language with which PLANNER we define problems. With a restrictivelanguage, there are fewer possible solutions to search through. (2) Use a special-purpose algorithm called a planner rather than a general-purposetheorem prover to search for a solution.
  • 5. Basic representation for planning LEAST COMMITMENT this principle says that one should only make choices about things that you currently working. PARTIAL ORDER A planner that can represent plans in some steps are ordered with respect to each other and other steps are unordered is called a partial order planner. LINEARIZATION A totally ordered plan that is derived from a plan P by adding ordering constraints is called a linearization of P.
  • 6. What is a PLAN? A plan is formally defined as a data structure consisting of the following four components: Set of plan steps Set of step ordering constraints Set of variable binding constraints Set of casual links
  • 7. What is a Solution? A solution is a plan that an agent can execute, and that guarantees achievement of the goal. If we wanted to make it really easy to check that a plan is a solution, we could insist that only fully instantiated, totally ordered plans can be solutions.
  • 8. How to Resolve threats in planning? Resolve now with an equality constraint Resolve now with an inequality constraint Resolve Later
  • 9. Knowledge Engineering for planning Decide what to talk about. Decide on a vocabulary of conditions (literals), operators, and objects. Encode operators for the domain. Encode a description of the specific problem instance. Pose problems to the planner and get back plans.
  • 10. Practical Planning Hierarchical decomposition The practical planners have adopted the idea of hierarchical decomposition: that an abstract operator can be decomposed into a group of steps that forms a plan that implements the operator. These decompositions can be stored in a library of plans and retrieved as needed
  • 11. Analysis of Hierarchical Decomposition Abstract solution A plan that contains abstract operators, but is consistent and complete once an abstract solution is found we can prune away all other abstract plans from the search tree. This property is the downward solution property. We can prune away all the descendants of any inconsistent abstract plan. This is called theupward solution property
  • 12. Resource constraints in planning Using measures in planningThe solution is to introduce numeric-valued measures. Measures such as the price of gas are realities with which the planner must deal, but over which it j has little control. Other measures, such as Cash and Gas Level, are treated as resources that can be produced and consumed. Temporal constraintsIn most ways, time can be treated like any other resource. The initial state specifies a start time for the plan.
  • 13. Visit more self help tutorials Pick a tutorial of your choice and browse through it at your own pace. The tutorials section is free, self-guiding and will not involve any additional support. Visit us at www.dataminingtools.net