Spring2009.CSCI470Homework2 History

Show minor edits - Show changes to markup

Changed line 1 from:

Assigned Date: Tuesday, Feb. 10, 2008\\

to:

Assigned Date: Tuesday, Feb. 10, 2009\\

Changed lines 14-15 from:

This is a solo assignment (i.e., you must do it alone). You may discuss the assignment only with the instructor.

to:

This is a pair-programming assignment (i.e., you may work with a partner). You may discuss the assignment only with your partner or the instructor.

Changed lines 42-44 from:
  1. Consider a larger version of the vacuum environment and a vacuum agent. What is a good strategy to employ? What if there are two agents competing? What if the agents are collaborating? Implement a vacuum agent for this environment. Run a simulation with two agent instances.
to:
  • Identify changes in the code by surrounding them with '###################' (i.e., one the line above, and on the line below the change). Also, explain why the change (don't reiterate the code, instead explain the bigger picture). Feel free to number your changes (in the comments, e.g., "change #1: ...") and refer to them in other comments (e.g., see "change #x").
  1. Consider a larger version of the vacuum environment and a vacuum agent. What is a good strategy to employ? What if there are two agents competing? What if the agents are collaborating?
    • Answer these questions in the opening comments of your code.
    • Implement a vacuum agent for this environment.
    • Run a simulation with two agent instances.
    • When you run the simulation within IDLE, capture the complete session, i.e., copy it and save it in a text file, called simulationRun.txt. Feel free to add comments (e.g., see this sample from the notes wiki), but do not modify anything else (e.g., do not change the output generated by your program).
Changed lines 86-87 from:

Submit the update code on WebCT by the due date.

to:
  1. Submit the updated code on WebCT by the due date.
  2. Also submit simulationRun.txt - the IDLE session of your simulation.
Changed line 2 from:

Due Date: Tuesday, Feb. Jan. 17\\

to:

Due Date: Thursday, Feb. 19\\

Added lines 43-44:
  1. Consider a larger version of the vacuum environment and a vacuum agent. What is a good strategy to employ? What if there are two agents competing? What if the agents are collaborating? Implement a vacuum agent for this environment. Run a simulation with two agent instances.