Spencer R. Shimko
CMSC 4710101
Homework #3
II.
3.8
1) Consider a state space where the start state is number 1
and the successor function for state
n
returns two states,
numbers 2
n
and 2
n
+ 1.
a) Draw the portion of the state space for states 1 to 15.
b) Suppose the goal state is 11.
List the order in which
nodes will be visited for a breadthfirst search, depth
limited search with limit 3, and iterative deepening search.
Breadthfirst: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11
Depthfirst w/ limit of 3: 1, 2, 4, 8, 9, 5, 10, 11
Iterative deepending: 1, 2, 3, 1, 2, 4, 5, 3, 6, 7, 1, 2,
4, 8, 9, 5, 10, 11
3.17
On page 62, we said that we would no consider problems with
negative path costs.
In this exercise, we explore this in
more depth.
a) Suppose that actions can have arbitrarily large negative
costs; explain why this possibility would force any optimal
algorithm to explore the entire state space.
Any algorithm that is optimal must find the path with the
This preview has intentionally blurred sections. Sign up to view the full version.
View Full Document
This is the end of the preview.
Sign up
to
access the rest of the document.
 Spring '10
 asda
 Depthfirst search, Constraint satisfaction problem, large negative costs, Spencer R. Shimko CMSC, negative path costs

Click to edit the document details