Part (b) is the implementation itself, which should be a lot
easier with the
questions in Part (a) answered. Remember, you're building a
problem-solving agent,
so the solution (the output) is going to be a sequence of actions
leading from the
initial state to a goal state. For this assignment, your output could
also take the form of a
sequence of states starting with the initial state and ending with a
goal state since it should be
relatively easy to determine what action occurred based on the previous
state and the next state.
I want you to implement this twice using two different
uninformed search algorithms.
You must pick two optimal algorithms, as "optimal" is defined in
the text, but otherwise,
the choice is up to you. Then compare and contrast the two search
methods by displaying
- the number of fringe nodes expanded by each algorithm
- the time it takes for your agent to find a solution under each
algorithm
(most programming languages provide a way for
you to calculate execution time)
Discuss the results in your writeup.