Professional Documents
Culture Documents
Lecture04 Uninformed Search (Part 2)
Lecture04 Uninformed Search (Part 2)
Lecture04 Uninformed Search (Part 2)
Intelligence Fundamentals
LECTURE 4 – SOLVING
PROBLEMS BY SEARCHING
(UNINFORMED SEARCHES)
PART 2
All the nodes generated at depth d in the search tree are expanded
before the nodes at depth d+1.
12 Mehadia 3 7 N
13 Bucharest 3 8 Goal
Arad-Zerind-Arad again,
Arad Oradea form a cycle search
Reference source:
https://people.cs.pitt.edu/~milos/courses/cs1571-Fall02/lectures/Class3.pdf
Solving Problems By Searching – Uninformed Searches
Space Complexity
Limit l
Arad
Arad
Arad
75 118
140
Zerind Sibiu Timisoara
75 140 118
75
111
71 118
Arad Oradea Arad Lugoj
150 146 236 229
Time: ( C */ )
O(b )
Space:
For both time and space complexity: number of nodes with the
cost g(n) smaller than the optimal cost
Summary
All of the search techniques so far are “blind” in that they do not look at how
far away the goal may be: next we will look at informed or heuristic search,
which directly tries to minimize the distance to the goal.