Class WolfDeerSimulation
java.lang.Object
WolfDeerSimulation
- public class WolfDeerSimulation
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
output
public BufferedWriter output
WolfDeerSimulation
public WolfDeerSimulation()
- Constructor to set output to null
getWolves
public AgentNode getWolves()
- Accessors for wolves and deer
getDeer
public AgentNode getDeer()
openFile
public void openFile(String filename)
- Open the input file and set the BufferedWriter to speak to it.
run
public void run()