14 Jan 2004
CS 3243 - Blind Search
30
Properties of breadth-first search
n
Complete?
Yes (if
b
is finite)
n
Time?
1+b+b
2
+b
3
+… +
b
d
+
b(b
d
-1
) = O(b
d+1
)
n
Space?
O(b
d+1
)
(keeps every node in memory)
n
Optimal?
Yes (if cost = 1 per step)
n
n
Space
is the bigger problem (more than time)