SlideServe
Menu
Préférences
© SlideServe · v2026

Problem-Solving by Searching

shani avatar
28 diapositives · 561 Views · Jul 29, 2014

Problem-Solving by Searching. Uninformed (Blind) Search Algorithms. Project 1 is out, check class homepage Due in two weeks 9/27/2010 Monday before class Projects for students in different groups (480/580/796) could be different later on. Problem-solving steps. Problem. Formulate.

Problem-Solving by Searching - slide 1
01 / 28Problem-Solving by Searching
1 / 17

Télécharger la présentation

Problem-Solving by Searching
Une image / un lien ci-dessous est fourni (tel quel) pour télécharger la présentation

Politique de téléchargement : le contenu du site vous est fourni TEL QUEL pour votre information et votre usage personnel ; il ne peut être vendu, concédé sous licence ni partagé sur d’autres sites sans l’accord de son auteur.Le contenu vous est fourni TEL QUEL, pour votre information et votre usage personnel uniquement. Téléchargez la présentation en cliquant sur ce lien. Lors du téléchargement, si vous ne parvenez pas à télécharger une présentation, l’éditeur a peut-être supprimé le fichier de son serveur.Pendant le téléchargement, si vous ne parvenez pas à obtenir une présentation, le fichier a peut-être été supprimé par l’éditeur.

F I N

Plus de contenu associé

Transcription de la présentation
  1. Problem-Solving by Searching Uninformed (Blind) Search Algorithms

  2. Project 1 is out, check class homepageDue in two weeks 9/27/2010 Monday before classProjects for students in different groups (480/580/796) could be different later on

  3. Problem-solving steps Problem Formulate Search/Planning Execute

  4. Example: Romania Find a route from one city (Arad) to the other (Bucharest)

  5. Problem formulation Also called child-generator (Zerind, Sibiu, Timisoara)

  6. Selecting a state space

  7. Vacuum world state space graph

  8. Example: The 8-puzzle

  9. Tree search algorithms • Breadth-first search • Uniform-cost search • Depth-first search • A* search Goal test expand fail key

  10. Implementation of search algorithms • FIFO • LIFO • Priority Search algorithms differ based on the specific queuing function they use All search algorithms must do goal-test only when the node is picked up for expansion

  11. Flowchart of search algorithms Initialize queue with the initial state Yes Is the queue empty? Return fail No Remove the first node from the queue Yes Is this node a goal? Return node No Generate children and add them into the queue according to some strategy

  12. Initialize • Is empty? • Remove first • Is goal? • Expand & add Arad Timisoara Sibiu Zerind ??? Fagaras Arad Oradea R.V.

  13. Uninformed vs. informed search • No problem-specific knowledge about states • Can only distinguish a goal state from a non-goal state • Strategies that know whether one non-goal state is “more promising” than another are called informed (heuristic) search

  14. Implementation: states vs. nodes

  15. Evaluation

  16. Uninformed search strategies • Also called blind search • Can only distinguish goal state and non-goal state • Do not know which state is more “promising” • Breadth-first search • Uniform-cost search • Depth-first search • Depth-limited search • Iterative deepening depth-first search

  17. Breadth-first search Expand node with the smallest depth first

  18. Initialize queue with the initial state Yes Is the queue empty? Return fail No Remove the first node from the queue Yes Is this node a goal? Return node No Generate children and add them into the queue according to some strategy Where should the new nodes be added in BFS?

  19. Some strategy:

  20. Some strategy:

  21. Some strategy:

  22. Some strategy:

  23. Example of breadth-first search • Memory requirements are a bigger problem than is the time • Exponential-complexity search problems cannot be solved by uninformed methods for any but the smallest instances