CS 371 - Introduction to Artificial Intelligence
Homework #6


Due: Tuesday 11/14 for demonstration at the beginning of class.
Note: Work is to be done in pairs.
  1. Read chapter 13 and sections 14.1, 14.2, and 14.5.  Also read section 4.4 of "Probabilistic Reasoning in Intelligent Systems" by Judea Pearl.
  2. Stochastic Simulation:  Implement stochastic simulation of a Bayesian network as described in Section 4.4.3 of "Probabilistic Reasoning in Intelligent Systems" by Judea Pearl.  Much convenient groundwork has been done for you.  In file bnSimulate.tar, you will find a collection of files that parse input and construct a Bayesian network for you.  You should only be concerned with two files: BNStochasticSimulation.java, which you modify, and BNNode.java, which you do not modify.  Within BNStochasticSimulation.java, there is a single method for you to implement: simulate.  Do not modify other parts of the code.

Todd Neller