|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.ObjectWolfDeerSimulation
public class WolfDeerSimulation
Class that does a predator and prey simulation with wolves and deer
| Constructor Summary | |
|---|---|
WolfDeerSimulation()
|
|
| Method Summary | |
|---|---|
AgentNode |
getDeer()
Method to get the deer linked list |
AgentNode |
getWolves()
Method to get the wolf linked list |
static void |
main(String[] args)
Main for testing |
void |
run()
Run the simulation |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public WolfDeerSimulation()
| Method Detail |
|---|
public AgentNode getWolves()
public AgentNode getDeer()
public void run()
public static void main(String[] args)
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||