Instructions for running the lightSpread Experiment

  1. Open the src/genDevs folder
  2. Replace genDevs/plots with the plots folder supplied (Unzip plots.zip in handout #17)
  3. Open src/genDevs/modeling/basicModels folder and delete JobQueue.java (this is the older version of this file and it must be deleted. The plot package given above contains this file and its proper placement)
  4. Put the LightSpread folder (unzip 2D.zip in handout #17) into src/ directory. (in the directory that contains other subdirectories like, SimpArc, genDevs, etc….)

Now we need to add and include packages to our project

  1. Open your Jbuilder project
  2. Add package genDevs in your project ((the same way as you added SimpArc package); If already added, then first remove it and then add it again.
  3. Rebuild this package (by right clicking on it in the left column in the project window)
  4. Add package LightSpread
  5. Rebuild the package
Run the project

  1. In the SimView window
  2. Click Configure and add LightSpread
  3. You must have all the files listed in the second dropdown menu. In case not, then rebuild the project/package again.
  4. Select the lightSpreadCellSpace file.
  5. And run it.