CS488-CH-4 Basics of Search
CS488-CH-4 Basics of Search
Agenda
What is Search? How to search?
Performing state space search and examples
Searching strategies and Evaluation mechanisms:
Completeness, optimality, Time and space complexity;
Objectives
Define the search problem and explain how it works
Performing state space search and examples
Discuss searching strategies and evaluation mechanisms:
(completeness, optimality, time and space complexity)
Arad
Figure 4.2 The first few Steps in growing the search tree for finding a route from Arad to Bucharest
Arad
Figure 4.2 The first few Steps in growing the search tree for finding a route from Arad to Bucharest
Arad
Figure 4.2 The first few Steps in growing the search tree for finding a route from Arad to Bucharest
Figure 4.4 An informal description of the general graph-search algorithm. The parts of
GRAPH-SEARCH marked in bold italic are the additions needed to handle repeated states.
Class work:
Based on the GRAPH-SEARCH algorithm, try to generate a
sequence of search trees for the Romania problem (Fig. 4.1)
Figure 4.5 A sequence of search trees generated by a graph search on the Romania problem of
Figure 4.1. At each stage, we have extended each path by one step. Notice that at the third
stage, the northernmost city (Oradea) has become a dead end: both of its successors are
already explored via other paths.
Jun-22 Fantahun B.(PhD) Based on AI a Modern Approach 3e&others 18
4-BASICS OF SEARCH
Infrastructure for search algorithms