Up: CSS485 Home Page
University of Washington, Bothell
CSS 485: Introduction to Artificial Neural Networks
Fall 2002
Homework Assignment 1: Fitness & State Spaces
Assigned: Monday, October 7, 2002
Due: Wednesday, October 16, 2002 (start of class)
- A joint probability
is the probability of two events
both happening, and so can also be written as
. Use
your knowledge of probability to prove that the probability of at
least one of two events happening is
.
- If we think of
and
as sets, then their joint probability
can also be written as
, the probability of at least one
happening
, etc. Assuming that
,
develop an expression for
(exclusive or).
- Develop a program that solves the 8 puzzle using an uninformed
(brute force) search. Your program should be optimal, despite
being uninformed. For this problem and the next, you might want to
think about the class hierarchy defined in
SearchClasses.h. Submit hard copy
of your code and a couple example runs (see next problem). In the
written part of the assignment, describe the search algorithm you
used.
- Develop a program to perform Heuristic (A*) search to solve the
8 puzzle. Describe in your written assignment the heuristic function
you used; prove that it always underestimates the distance to the
goal. Submit your program hard copy and a couple example runs. Choose
example runs where this algorithm outperformed uninformed search.
- For extra credit, try the 15 puzzle (4x4). Briefly describe
what happened when you tried to run this.
Up: CSS485 Home Page
Prof. Michael Stiber
2002-10-07