SlideShare una empresa de Scribd logo
1 de 23
Problem Solving Agents
Blind and Informed Searches
Problem Solving Agent
Problem Types
 Well defined
 Initial state
 Operator(Successor and predecessor Functions)
 Goal Test
 Path cost function
 Non well defined
 Missing at least on criteria
Example 1: TSM In Romania
 On holiday in Romania; currently in Arad.
 Formulate goal:
 be in Bucharest
 Formulate problem:
 states: various cities
 actions: drive between cities
 Find solution:
 sequence of cities, e.g., Arad, Sibiu, Fagaras, Bucharest
 Goal Test> Are we in Bucharest.
 Cost Function> Sum of road lengths to the destination
TSM In Romania
Example 2: 8-Puzzel
Example 2: 8-Puzzel
 states??: integer locations of tiles (ignore intermediate positions)
 actions??: move blank left, right, up, down (ignore unjamming etc.)
 transition model??: effect of the actions
 goal test??: = goal state (given)
 path cost??: 1 per move
 [Note: optimal solution of n-Puzzle family is NP-hard]
Example Problems
 Toy problems
 vacuum cleaner agent
 8-puzzle
 8-queens
 Crypt arithmetic
 missionaries cannibals
 Real-world problems
 route finding
 traveling salesperson
 VLSI layout
 robot navigation
 assembly sequencing
Search
 Know the fundamental search strategies and algorithms
 uninformed search
 breadth-first, depth-first, uniform-cost, iterative deepening, bidirectional
 informed search
 best-first (greedy, A*), heuristics, memory-bounded
 Evaluate the suitability of a search strategy for a problem
 completeness, optimality, time & space complexity
Searching for Solutions
 Traversal of some search space from the initial state to a goal state
legal sequence of actions as defined by operators
 The search can be performed on
 On a search tree derived from
expanding the current state using the possible operators
Tree-Search algorithm
 A graph representing
the state space
Graph-Search algorithm
Searching for Solutions
Uninformed search strategies
 Uninformed strategies use only the information available in the problem
definition
 Breadth-first search
 Uniform-cost search
 Depth-first search
 Depth-limited search
 Iterative deepening search
 Bidirectional Search
BFS
 Expand shallowest unexpanded node (shortest path in the frontier)
Evaluation
Evaluation
 Complete?? Yes (if b is finite)
 Optimal?? Yes (if cost = 1 per step); not optimal in general
 Time?? b^d
 Number of nodes generated: 1 + b + b^2 + … + b^d
 Space?? b^d
Space is the big problem; can easily generate nodes at 100MB/sec so 24hrs =
8640GB.
Uniform-cost search
 Expand first least-cost path (Equivalent to breadth-first if step costs all equal)
 Implementation:
fringe = priority queue ordered by path cost, lowest first
Depth First Search
DFS
 Depth first search is another way of traversing graphs, which is closely related
to preorder traversal of a tree. Recall that preorder traversal simply visits
each node before its children. It is most easy to program as a recursive
routine.
 Complete?? No
 Optimal?? No
 Time?? b^d
 Space?? b*d
Depth limited search
 A version of DFS in which l is defined by an expert
 There is a chance of converging to local optima
 Complete?? Yes(if l>d)
 Optimal?? Yes
 Time?? b^l
 Space?? b*l
Iterative Deeping Search(IDS)
This search strategy always expands one node to the deepest level of the tree.
Only when a dead-end is encountered does the search backup and expand nodes
at shallower levels.
N=(d+1)1+(d)b+(d-1)b2+...+(3)bd-2+(2)bd-1+bd
IDS Evaluation
 Complete?? Yes
 Optimal?? Yes
 Time?? b^d
 Space?? b.d
Bidirectional search
 Idea: Run two simultaneous searches.
 One Forward from initial state
 One Backward from goal state
 Until two fingers met
Summary

Más contenido relacionado

Similar a 13256181.ppt

PPT ON INTRODUCTION TO AI- UNIT-1-PART-2.pptx
PPT ON INTRODUCTION TO AI- UNIT-1-PART-2.pptxPPT ON INTRODUCTION TO AI- UNIT-1-PART-2.pptx
PPT ON INTRODUCTION TO AI- UNIT-1-PART-2.pptxRaviKiranVarma4
 
Informed-search TECHNIQUES IN ai ml data science
Informed-search TECHNIQUES IN ai ml data scienceInformed-search TECHNIQUES IN ai ml data science
Informed-search TECHNIQUES IN ai ml data sciencedevvpillpersonal
 
Dfs presentation
Dfs presentationDfs presentation
Dfs presentationAlizay Khan
 
2012wq171-03-UninformedSeknlk ;lm,l;mk;arch.ppt
2012wq171-03-UninformedSeknlk ;lm,l;mk;arch.ppt2012wq171-03-UninformedSeknlk ;lm,l;mk;arch.ppt
2012wq171-03-UninformedSeknlk ;lm,l;mk;arch.pptmmpnair0
 
uniformed (also called blind search algo)
uniformed (also called blind search algo)uniformed (also called blind search algo)
uniformed (also called blind search algo)ssuser2a76b5
 
Searchadditional2
Searchadditional2Searchadditional2
Searchadditional2chandsek666
 
Jarrar.lecture notes.aai.2011s.ch3.uniformedsearch
Jarrar.lecture notes.aai.2011s.ch3.uniformedsearchJarrar.lecture notes.aai.2011s.ch3.uniformedsearch
Jarrar.lecture notes.aai.2011s.ch3.uniformedsearchPalGov
 
Jarrar.lecture notes.aai.2011s.ch4.informedsearch
Jarrar.lecture notes.aai.2011s.ch4.informedsearchJarrar.lecture notes.aai.2011s.ch4.informedsearch
Jarrar.lecture notes.aai.2011s.ch4.informedsearchPalGov
 
Lecture 16 - Dijkstra's Algorithm.pdf
Lecture 16 - Dijkstra's Algorithm.pdfLecture 16 - Dijkstra's Algorithm.pdf
Lecture 16 - Dijkstra's Algorithm.pdfiftakhar8
 

Similar a 13256181.ppt (20)

PPT ON INTRODUCTION TO AI- UNIT-1-PART-2.pptx
PPT ON INTRODUCTION TO AI- UNIT-1-PART-2.pptxPPT ON INTRODUCTION TO AI- UNIT-1-PART-2.pptx
PPT ON INTRODUCTION TO AI- UNIT-1-PART-2.pptx
 
l2.pptx
l2.pptxl2.pptx
l2.pptx
 
Lecture 3 Problem Solving.pptx
Lecture 3 Problem Solving.pptxLecture 3 Problem Solving.pptx
Lecture 3 Problem Solving.pptx
 
l2.pptx
l2.pptxl2.pptx
l2.pptx
 
chapter3part1.ppt
chapter3part1.pptchapter3part1.ppt
chapter3part1.ppt
 
Informed-search TECHNIQUES IN ai ml data science
Informed-search TECHNIQUES IN ai ml data scienceInformed-search TECHNIQUES IN ai ml data science
Informed-search TECHNIQUES IN ai ml data science
 
Dfs presentation
Dfs presentationDfs presentation
Dfs presentation
 
2012wq171-03-UninformedSeknlk ;lm,l;mk;arch.ppt
2012wq171-03-UninformedSeknlk ;lm,l;mk;arch.ppt2012wq171-03-UninformedSeknlk ;lm,l;mk;arch.ppt
2012wq171-03-UninformedSeknlk ;lm,l;mk;arch.ppt
 
uniformed (also called blind search algo)
uniformed (also called blind search algo)uniformed (also called blind search algo)
uniformed (also called blind search algo)
 
Searchadditional2
Searchadditional2Searchadditional2
Searchadditional2
 
AIw09.pptx
AIw09.pptxAIw09.pptx
AIw09.pptx
 
Searching techniques
Searching techniquesSearching techniques
Searching techniques
 
Ai popular search algorithms
Ai   popular search algorithmsAi   popular search algorithms
Ai popular search algorithms
 
Shive
ShiveShive
Shive
 
Jarrar.lecture notes.aai.2011s.ch3.uniformedsearch
Jarrar.lecture notes.aai.2011s.ch3.uniformedsearchJarrar.lecture notes.aai.2011s.ch3.uniformedsearch
Jarrar.lecture notes.aai.2011s.ch3.uniformedsearch
 
Jarrar.lecture notes.aai.2011s.ch4.informedsearch
Jarrar.lecture notes.aai.2011s.ch4.informedsearchJarrar.lecture notes.aai.2011s.ch4.informedsearch
Jarrar.lecture notes.aai.2011s.ch4.informedsearch
 
Lecture 3 problem solving
Lecture 3   problem solvingLecture 3   problem solving
Lecture 3 problem solving
 
AI: AI & problem solving
AI: AI & problem solvingAI: AI & problem solving
AI: AI & problem solving
 
AI: AI & Problem Solving
AI: AI & Problem SolvingAI: AI & Problem Solving
AI: AI & Problem Solving
 
Lecture 16 - Dijkstra's Algorithm.pdf
Lecture 16 - Dijkstra's Algorithm.pdfLecture 16 - Dijkstra's Algorithm.pdf
Lecture 16 - Dijkstra's Algorithm.pdf
 

Más de JohnWilliam111370

ROBOETHICS-CCS345 ETHICS AND ARTIFICIAL INTELLIGENCE.ppt
ROBOETHICS-CCS345 ETHICS AND ARTIFICIAL INTELLIGENCE.pptROBOETHICS-CCS345 ETHICS AND ARTIFICIAL INTELLIGENCE.ppt
ROBOETHICS-CCS345 ETHICS AND ARTIFICIAL INTELLIGENCE.pptJohnWilliam111370
 
Ethics in AI and Its imoact on Society etc
Ethics in AI and Its imoact on Society etcEthics in AI and Its imoact on Society etc
Ethics in AI and Its imoact on Society etcJohnWilliam111370
 
Machine Learning for AIML course UG.pptx
Machine Learning for AIML course UG.pptxMachine Learning for AIML course UG.pptx
Machine Learning for AIML course UG.pptxJohnWilliam111370
 
Feature Engineering for data science.pptx
Feature Engineering for data science.pptxFeature Engineering for data science.pptx
Feature Engineering for data science.pptxJohnWilliam111370
 
NumPy_Broadcasting Data Science - Python.pptx
NumPy_Broadcasting Data Science - Python.pptxNumPy_Broadcasting Data Science - Python.pptx
NumPy_Broadcasting Data Science - Python.pptxJohnWilliam111370
 
NumPy_Aggregations - Python for Data Science.pptx
NumPy_Aggregations - Python for Data Science.pptxNumPy_Aggregations - Python for Data Science.pptx
NumPy_Aggregations - Python for Data Science.pptxJohnWilliam111370
 

Más de JohnWilliam111370 (9)

ROBOETHICS-CCS345 ETHICS AND ARTIFICIAL INTELLIGENCE.ppt
ROBOETHICS-CCS345 ETHICS AND ARTIFICIAL INTELLIGENCE.pptROBOETHICS-CCS345 ETHICS AND ARTIFICIAL INTELLIGENCE.ppt
ROBOETHICS-CCS345 ETHICS AND ARTIFICIAL INTELLIGENCE.ppt
 
Ethics in AI and Its imoact on Society etc
Ethics in AI and Its imoact on Society etcEthics in AI and Its imoact on Society etc
Ethics in AI and Its imoact on Society etc
 
Machine Learning for AIML course UG.pptx
Machine Learning for AIML course UG.pptxMachine Learning for AIML course UG.pptx
Machine Learning for AIML course UG.pptx
 
Feature Engineering for data science.pptx
Feature Engineering for data science.pptxFeature Engineering for data science.pptx
Feature Engineering for data science.pptx
 
NumPy_Broadcasting Data Science - Python.pptx
NumPy_Broadcasting Data Science - Python.pptxNumPy_Broadcasting Data Science - Python.pptx
NumPy_Broadcasting Data Science - Python.pptx
 
NumPy_Aggregations - Python for Data Science.pptx
NumPy_Aggregations - Python for Data Science.pptxNumPy_Aggregations - Python for Data Science.pptx
NumPy_Aggregations - Python for Data Science.pptx
 
R Factor.pptx
R Factor.pptxR Factor.pptx
R Factor.pptx
 
Research Techniques.ppt
Research Techniques.pptResearch Techniques.ppt
Research Techniques.ppt
 
Research.ppt
Research.pptResearch.ppt
Research.ppt
 

Último

Learn the concepts of Thermodynamics on Magic Marks
Learn the concepts of Thermodynamics on Magic MarksLearn the concepts of Thermodynamics on Magic Marks
Learn the concepts of Thermodynamics on Magic MarksMagic Marks
 
Rums floating Omkareshwar FSPV IM_16112021.pdf
Rums floating Omkareshwar FSPV IM_16112021.pdfRums floating Omkareshwar FSPV IM_16112021.pdf
Rums floating Omkareshwar FSPV IM_16112021.pdfsmsksolar
 
Hostel management system project report..pdf
Hostel management system project report..pdfHostel management system project report..pdf
Hostel management system project report..pdfKamal Acharya
 
COST-EFFETIVE and Energy Efficient BUILDINGS ptx
COST-EFFETIVE  and Energy Efficient BUILDINGS ptxCOST-EFFETIVE  and Energy Efficient BUILDINGS ptx
COST-EFFETIVE and Energy Efficient BUILDINGS ptxJIT KUMAR GUPTA
 
Generative AI or GenAI technology based PPT
Generative AI or GenAI technology based PPTGenerative AI or GenAI technology based PPT
Generative AI or GenAI technology based PPTbhaskargani46
 
Engineering Drawing focus on projection of planes
Engineering Drawing focus on projection of planesEngineering Drawing focus on projection of planes
Engineering Drawing focus on projection of planesRAJNEESHKUMAR341697
 
School management system project Report.pdf
School management system project Report.pdfSchool management system project Report.pdf
School management system project Report.pdfKamal Acharya
 
2016EF22_0 solar project report rooftop projects
2016EF22_0 solar project report rooftop projects2016EF22_0 solar project report rooftop projects
2016EF22_0 solar project report rooftop projectssmsksolar
 
Navigating Complexity: The Role of Trusted Partners and VIAS3D in Dassault Sy...
Navigating Complexity: The Role of Trusted Partners and VIAS3D in Dassault Sy...Navigating Complexity: The Role of Trusted Partners and VIAS3D in Dassault Sy...
Navigating Complexity: The Role of Trusted Partners and VIAS3D in Dassault Sy...Arindam Chakraborty, Ph.D., P.E. (CA, TX)
 
HAND TOOLS USED AT ELECTRONICS WORK PRESENTED BY KOUSTAV SARKAR
HAND TOOLS USED AT ELECTRONICS WORK PRESENTED BY KOUSTAV SARKARHAND TOOLS USED AT ELECTRONICS WORK PRESENTED BY KOUSTAV SARKAR
HAND TOOLS USED AT ELECTRONICS WORK PRESENTED BY KOUSTAV SARKARKOUSTAV SARKAR
 
DeepFakes presentation : brief idea of DeepFakes
DeepFakes presentation : brief idea of DeepFakesDeepFakes presentation : brief idea of DeepFakes
DeepFakes presentation : brief idea of DeepFakesMayuraD1
 
Bridge Jacking Design Sample Calculation.pptx
Bridge Jacking Design Sample Calculation.pptxBridge Jacking Design Sample Calculation.pptx
Bridge Jacking Design Sample Calculation.pptxnuruddin69
 
Bhubaneswar🌹Call Girls Bhubaneswar ❤Komal 9777949614 💟 Full Trusted CALL GIRL...
Bhubaneswar🌹Call Girls Bhubaneswar ❤Komal 9777949614 💟 Full Trusted CALL GIRL...Bhubaneswar🌹Call Girls Bhubaneswar ❤Komal 9777949614 💟 Full Trusted CALL GIRL...
Bhubaneswar🌹Call Girls Bhubaneswar ❤Komal 9777949614 💟 Full Trusted CALL GIRL...Call Girls Mumbai
 
DC MACHINE-Motoring and generation, Armature circuit equation
DC MACHINE-Motoring and generation, Armature circuit equationDC MACHINE-Motoring and generation, Armature circuit equation
DC MACHINE-Motoring and generation, Armature circuit equationBhangaleSonal
 
Air Compressor reciprocating single stage
Air Compressor reciprocating single stageAir Compressor reciprocating single stage
Air Compressor reciprocating single stageAbc194748
 
Introduction to Serverless with AWS Lambda
Introduction to Serverless with AWS LambdaIntroduction to Serverless with AWS Lambda
Introduction to Serverless with AWS LambdaOmar Fathy
 
data_management_and _data_science_cheat_sheet.pdf
data_management_and _data_science_cheat_sheet.pdfdata_management_and _data_science_cheat_sheet.pdf
data_management_and _data_science_cheat_sheet.pdfJiananWang21
 
+97470301568>> buy weed in qatar,buy thc oil qatar,buy weed and vape oil in d...
+97470301568>> buy weed in qatar,buy thc oil qatar,buy weed and vape oil in d...+97470301568>> buy weed in qatar,buy thc oil qatar,buy weed and vape oil in d...
+97470301568>> buy weed in qatar,buy thc oil qatar,buy weed and vape oil in d...Health
 
Standard vs Custom Battery Packs - Decoding the Power Play
Standard vs Custom Battery Packs - Decoding the Power PlayStandard vs Custom Battery Packs - Decoding the Power Play
Standard vs Custom Battery Packs - Decoding the Power PlayEpec Engineered Technologies
 
Thermal Engineering-R & A / C - unit - V
Thermal Engineering-R & A / C - unit - VThermal Engineering-R & A / C - unit - V
Thermal Engineering-R & A / C - unit - VDineshKumar4165
 

Último (20)

Learn the concepts of Thermodynamics on Magic Marks
Learn the concepts of Thermodynamics on Magic MarksLearn the concepts of Thermodynamics on Magic Marks
Learn the concepts of Thermodynamics on Magic Marks
 
Rums floating Omkareshwar FSPV IM_16112021.pdf
Rums floating Omkareshwar FSPV IM_16112021.pdfRums floating Omkareshwar FSPV IM_16112021.pdf
Rums floating Omkareshwar FSPV IM_16112021.pdf
 
Hostel management system project report..pdf
Hostel management system project report..pdfHostel management system project report..pdf
Hostel management system project report..pdf
 
COST-EFFETIVE and Energy Efficient BUILDINGS ptx
COST-EFFETIVE  and Energy Efficient BUILDINGS ptxCOST-EFFETIVE  and Energy Efficient BUILDINGS ptx
COST-EFFETIVE and Energy Efficient BUILDINGS ptx
 
Generative AI or GenAI technology based PPT
Generative AI or GenAI technology based PPTGenerative AI or GenAI technology based PPT
Generative AI or GenAI technology based PPT
 
Engineering Drawing focus on projection of planes
Engineering Drawing focus on projection of planesEngineering Drawing focus on projection of planes
Engineering Drawing focus on projection of planes
 
School management system project Report.pdf
School management system project Report.pdfSchool management system project Report.pdf
School management system project Report.pdf
 
2016EF22_0 solar project report rooftop projects
2016EF22_0 solar project report rooftop projects2016EF22_0 solar project report rooftop projects
2016EF22_0 solar project report rooftop projects
 
Navigating Complexity: The Role of Trusted Partners and VIAS3D in Dassault Sy...
Navigating Complexity: The Role of Trusted Partners and VIAS3D in Dassault Sy...Navigating Complexity: The Role of Trusted Partners and VIAS3D in Dassault Sy...
Navigating Complexity: The Role of Trusted Partners and VIAS3D in Dassault Sy...
 
HAND TOOLS USED AT ELECTRONICS WORK PRESENTED BY KOUSTAV SARKAR
HAND TOOLS USED AT ELECTRONICS WORK PRESENTED BY KOUSTAV SARKARHAND TOOLS USED AT ELECTRONICS WORK PRESENTED BY KOUSTAV SARKAR
HAND TOOLS USED AT ELECTRONICS WORK PRESENTED BY KOUSTAV SARKAR
 
DeepFakes presentation : brief idea of DeepFakes
DeepFakes presentation : brief idea of DeepFakesDeepFakes presentation : brief idea of DeepFakes
DeepFakes presentation : brief idea of DeepFakes
 
Bridge Jacking Design Sample Calculation.pptx
Bridge Jacking Design Sample Calculation.pptxBridge Jacking Design Sample Calculation.pptx
Bridge Jacking Design Sample Calculation.pptx
 
Bhubaneswar🌹Call Girls Bhubaneswar ❤Komal 9777949614 💟 Full Trusted CALL GIRL...
Bhubaneswar🌹Call Girls Bhubaneswar ❤Komal 9777949614 💟 Full Trusted CALL GIRL...Bhubaneswar🌹Call Girls Bhubaneswar ❤Komal 9777949614 💟 Full Trusted CALL GIRL...
Bhubaneswar🌹Call Girls Bhubaneswar ❤Komal 9777949614 💟 Full Trusted CALL GIRL...
 
DC MACHINE-Motoring and generation, Armature circuit equation
DC MACHINE-Motoring and generation, Armature circuit equationDC MACHINE-Motoring and generation, Armature circuit equation
DC MACHINE-Motoring and generation, Armature circuit equation
 
Air Compressor reciprocating single stage
Air Compressor reciprocating single stageAir Compressor reciprocating single stage
Air Compressor reciprocating single stage
 
Introduction to Serverless with AWS Lambda
Introduction to Serverless with AWS LambdaIntroduction to Serverless with AWS Lambda
Introduction to Serverless with AWS Lambda
 
data_management_and _data_science_cheat_sheet.pdf
data_management_and _data_science_cheat_sheet.pdfdata_management_and _data_science_cheat_sheet.pdf
data_management_and _data_science_cheat_sheet.pdf
 
+97470301568>> buy weed in qatar,buy thc oil qatar,buy weed and vape oil in d...
+97470301568>> buy weed in qatar,buy thc oil qatar,buy weed and vape oil in d...+97470301568>> buy weed in qatar,buy thc oil qatar,buy weed and vape oil in d...
+97470301568>> buy weed in qatar,buy thc oil qatar,buy weed and vape oil in d...
 
Standard vs Custom Battery Packs - Decoding the Power Play
Standard vs Custom Battery Packs - Decoding the Power PlayStandard vs Custom Battery Packs - Decoding the Power Play
Standard vs Custom Battery Packs - Decoding the Power Play
 
Thermal Engineering-R & A / C - unit - V
Thermal Engineering-R & A / C - unit - VThermal Engineering-R & A / C - unit - V
Thermal Engineering-R & A / C - unit - V
 

13256181.ppt

  • 1. Problem Solving Agents Blind and Informed Searches
  • 3. Problem Types  Well defined  Initial state  Operator(Successor and predecessor Functions)  Goal Test  Path cost function  Non well defined  Missing at least on criteria
  • 4. Example 1: TSM In Romania  On holiday in Romania; currently in Arad.  Formulate goal:  be in Bucharest  Formulate problem:  states: various cities  actions: drive between cities  Find solution:  sequence of cities, e.g., Arad, Sibiu, Fagaras, Bucharest  Goal Test> Are we in Bucharest.  Cost Function> Sum of road lengths to the destination
  • 7. Example 2: 8-Puzzel  states??: integer locations of tiles (ignore intermediate positions)  actions??: move blank left, right, up, down (ignore unjamming etc.)  transition model??: effect of the actions  goal test??: = goal state (given)  path cost??: 1 per move  [Note: optimal solution of n-Puzzle family is NP-hard]
  • 8. Example Problems  Toy problems  vacuum cleaner agent  8-puzzle  8-queens  Crypt arithmetic  missionaries cannibals  Real-world problems  route finding  traveling salesperson  VLSI layout  robot navigation  assembly sequencing
  • 9. Search  Know the fundamental search strategies and algorithms  uninformed search  breadth-first, depth-first, uniform-cost, iterative deepening, bidirectional  informed search  best-first (greedy, A*), heuristics, memory-bounded  Evaluate the suitability of a search strategy for a problem  completeness, optimality, time & space complexity
  • 10. Searching for Solutions  Traversal of some search space from the initial state to a goal state legal sequence of actions as defined by operators  The search can be performed on  On a search tree derived from expanding the current state using the possible operators Tree-Search algorithm  A graph representing the state space Graph-Search algorithm
  • 12. Uninformed search strategies  Uninformed strategies use only the information available in the problem definition  Breadth-first search  Uniform-cost search  Depth-first search  Depth-limited search  Iterative deepening search  Bidirectional Search
  • 13. BFS  Expand shallowest unexpanded node (shortest path in the frontier)
  • 15. Evaluation  Complete?? Yes (if b is finite)  Optimal?? Yes (if cost = 1 per step); not optimal in general  Time?? b^d  Number of nodes generated: 1 + b + b^2 + … + b^d  Space?? b^d Space is the big problem; can easily generate nodes at 100MB/sec so 24hrs = 8640GB.
  • 16. Uniform-cost search  Expand first least-cost path (Equivalent to breadth-first if step costs all equal)  Implementation: fringe = priority queue ordered by path cost, lowest first
  • 18. DFS  Depth first search is another way of traversing graphs, which is closely related to preorder traversal of a tree. Recall that preorder traversal simply visits each node before its children. It is most easy to program as a recursive routine.  Complete?? No  Optimal?? No  Time?? b^d  Space?? b*d
  • 19. Depth limited search  A version of DFS in which l is defined by an expert  There is a chance of converging to local optima  Complete?? Yes(if l>d)  Optimal?? Yes  Time?? b^l  Space?? b*l
  • 20. Iterative Deeping Search(IDS) This search strategy always expands one node to the deepest level of the tree. Only when a dead-end is encountered does the search backup and expand nodes at shallower levels. N=(d+1)1+(d)b+(d-1)b2+...+(3)bd-2+(2)bd-1+bd
  • 21. IDS Evaluation  Complete?? Yes  Optimal?? Yes  Time?? b^d  Space?? b.d
  • 22. Bidirectional search  Idea: Run two simultaneous searches.  One Forward from initial state  One Backward from goal state  Until two fingers met